16 package com.sonycsl.echo.eoj.device.housingfacilities;
35 super.setupPropertyMaps();
45 Echo.getEventListener().onNewBuzzer(
this);
172 if(edt == null || !(edt.length == 1))
return false;
244 if(edt == null || !(edt.length == 1))
return false;
250 boolean success = super.setProperty(property);
251 if(success)
return success;
253 switch(property.
epc) {
256 default :
return false;
262 byte[] edt = super.getProperty(epc);
263 if(edt != null)
return edt;
268 default :
return null;
274 boolean valid = super.isValidProperty(property);
275 if(valid)
return valid;
277 switch(property.
epc) {
280 default :
return false;
290 public Setter
set(
boolean responseRequired) {
292 ,
getNode().getAddressStr(), responseRequired);
296 public Getter
get() {
307 protected Informer
inform(
boolean multicast) {
312 address =
getNode().getAddressStr();
318 public static class Receiver
extends DeviceObject.Receiver {
321 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
323 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
326 switch(property.epc) {
328 onSetSoundGenerationSetting(eoj, tid, esv, property, success);
331 onSetBuzzerSoundType(eoj, tid, esv, property, success);
339 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
341 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
344 switch(property.epc) {
346 onGetSoundGenerationSetting(eoj, tid, esv, property, success);
349 onGetBuzzerSoundType(eoj, tid, esv, property, success);
378 protected void onSetSoundGenerationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
401 protected void onGetSoundGenerationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
424 protected void onSetBuzzerSoundType(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
447 protected void onGetBuzzerSoundType(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
450 public static class Setter
extends DeviceObject.Setter {
451 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
452 , String dstEchoAddress,
boolean responseRequired) {
453 super(dstEchoClassCode, dstEchoInstanceCode
454 , dstEchoAddress, responseRequired);
458 public Setter reqSetProperty(byte epc, byte[] edt) {
459 return (Setter)super.reqSetProperty(epc, edt);
463 public Setter reqSetOperationStatus(byte[] edt) {
464 return (Setter)super.reqSetOperationStatus(edt);
467 public Setter reqSetInstallationLocation(byte[] edt) {
468 return (Setter)super.reqSetInstallationLocation(edt);
471 public Setter reqSetCurrentLimitSetting(byte[] edt) {
472 return (Setter)super.reqSetCurrentLimitSetting(edt);
475 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
476 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
479 public Setter reqSetRemoteControlSetting(byte[] edt) {
480 return (Setter)super.reqSetRemoteControlSetting(edt);
483 public Setter reqSetCurrentTimeSetting(byte[] edt) {
484 return (Setter)super.reqSetCurrentTimeSetting(edt);
487 public Setter reqSetCurrentDateSetting(byte[] edt) {
488 return (Setter)super.reqSetCurrentDateSetting(edt);
491 public Setter reqSetPowerLimitSetting(byte[] edt) {
492 return (Setter)super.reqSetPowerLimitSetting(edt);
517 public Setter reqSetSoundGenerationSetting(byte[] edt) {
543 public Setter reqSetBuzzerSoundType(byte[] edt) {
549 public static class Getter
extends DeviceObject.Getter {
550 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
551 , String dstEchoAddress) {
552 super(dstEchoClassCode, dstEchoInstanceCode
557 public Getter reqGetProperty(byte epc) {
558 return (Getter)super.reqGetProperty(epc);
562 public Getter reqGetOperationStatus() {
563 return (Getter)super.reqGetOperationStatus();
566 public Getter reqGetInstallationLocation() {
567 return (Getter)super.reqGetInstallationLocation();
570 public Getter reqGetStandardVersionInformation() {
571 return (Getter)super.reqGetStandardVersionInformation();
574 public Getter reqGetIdentificationNumber() {
575 return (Getter)super.reqGetIdentificationNumber();
578 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
579 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
582 public Getter reqGetMeasuredCumulativePowerConsumption() {
583 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
586 public Getter reqGetManufacturersFaultCode() {
587 return (Getter)super.reqGetManufacturersFaultCode();
590 public Getter reqGetCurrentLimitSetting() {
591 return (Getter)super.reqGetCurrentLimitSetting();
594 public Getter reqGetFaultStatus() {
595 return (Getter)super.reqGetFaultStatus();
598 public Getter reqGetFaultDescription() {
599 return (Getter)super.reqGetFaultDescription();
602 public Getter reqGetManufacturerCode() {
603 return (Getter)super.reqGetManufacturerCode();
606 public Getter reqGetBusinessFacilityCode() {
607 return (Getter)super.reqGetBusinessFacilityCode();
610 public Getter reqGetProductCode() {
611 return (Getter)super.reqGetProductCode();
614 public Getter reqGetProductionNumber() {
615 return (Getter)super.reqGetProductionNumber();
618 public Getter reqGetProductionDate() {
619 return (Getter)super.reqGetProductionDate();
622 public Getter reqGetPowerSavingOperationSetting() {
623 return (Getter)super.reqGetPowerSavingOperationSetting();
626 public Getter reqGetRemoteControlSetting() {
627 return (Getter)super.reqGetRemoteControlSetting();
630 public Getter reqGetCurrentTimeSetting() {
631 return (Getter)super.reqGetCurrentTimeSetting();
634 public Getter reqGetCurrentDateSetting() {
635 return (Getter)super.reqGetCurrentDateSetting();
638 public Getter reqGetPowerLimitSetting() {
639 return (Getter)super.reqGetPowerLimitSetting();
642 public Getter reqGetCumulativeOperatingTime() {
643 return (Getter)super.reqGetCumulativeOperatingTime();
646 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
647 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
650 public Getter reqGetSetPropertyMap() {
651 return (Getter)super.reqGetSetPropertyMap();
654 public Getter reqGetGetPropertyMap() {
655 return (Getter)super.reqGetGetPropertyMap();
680 public Getter reqGetSoundGenerationSetting() {
706 public Getter reqGetBuzzerSoundType() {
712 public static class Informer
extends DeviceObject.Informer {
713 public Informer(
short echoClassCode, byte echoInstanceCode
715 super(echoClassCode, echoInstanceCode
716 , dstEchoAddress, isSelfObject);
720 public Informer reqInformProperty(byte epc) {
721 return (Informer)super.reqInformProperty(epc);
724 public Informer reqInformOperationStatus() {
725 return (Informer)super.reqInformOperationStatus();
728 public Informer reqInformInstallationLocation() {
729 return (Informer)super.reqInformInstallationLocation();
732 public Informer reqInformStandardVersionInformation() {
733 return (Informer)super.reqInformStandardVersionInformation();
736 public Informer reqInformIdentificationNumber() {
737 return (Informer)super.reqInformIdentificationNumber();
740 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
741 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
744 public Informer reqInformMeasuredCumulativePowerConsumption() {
745 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
748 public Informer reqInformManufacturersFaultCode() {
749 return (Informer)super.reqInformManufacturersFaultCode();
752 public Informer reqInformCurrentLimitSetting() {
753 return (Informer)super.reqInformCurrentLimitSetting();
756 public Informer reqInformFaultStatus() {
757 return (Informer)super.reqInformFaultStatus();
760 public Informer reqInformFaultDescription() {
761 return (Informer)super.reqInformFaultDescription();
764 public Informer reqInformManufacturerCode() {
765 return (Informer)super.reqInformManufacturerCode();
768 public Informer reqInformBusinessFacilityCode() {
769 return (Informer)super.reqInformBusinessFacilityCode();
772 public Informer reqInformProductCode() {
773 return (Informer)super.reqInformProductCode();
776 public Informer reqInformProductionNumber() {
777 return (Informer)super.reqInformProductionNumber();
780 public Informer reqInformProductionDate() {
781 return (Informer)super.reqInformProductionDate();
784 public Informer reqInformPowerSavingOperationSetting() {
785 return (Informer)super.reqInformPowerSavingOperationSetting();
788 public Informer reqInformRemoteControlSetting() {
789 return (Informer)super.reqInformRemoteControlSetting();
792 public Informer reqInformCurrentTimeSetting() {
793 return (Informer)super.reqInformCurrentTimeSetting();
796 public Informer reqInformCurrentDateSetting() {
797 return (Informer)super.reqInformCurrentDateSetting();
800 public Informer reqInformPowerLimitSetting() {
801 return (Informer)super.reqInformPowerLimitSetting();
804 public Informer reqInformCumulativeOperatingTime() {
805 return (Informer)super.reqInformCumulativeOperatingTime();
808 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
809 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
812 public Informer reqInformSetPropertyMap() {
813 return (Informer)super.reqInformSetPropertyMap();
816 public Informer reqInformGetPropertyMap() {
817 return (Informer)super.reqInformGetPropertyMap();
842 public Informer reqInformSoundGenerationSetting() {
868 public Informer reqInformBuzzerSoundType() {
874 public static class Proxy
extends Buzzer {
875 public Proxy(byte instanceCode) {
898 return setG((byte)0);
901 public static Setter
setG(byte instanceCode) {
902 return setG(instanceCode,
true);
905 public static Setter
setG(
boolean responseRequired) {
906 return setG((byte)0, responseRequired);
909 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
915 return getG((byte)0);
918 public static Getter
getG(byte instanceCode) {
927 public static Informer
informG(byte instanceCode) {
boolean isValidBuzzerSoundType(byte[] edt)
boolean setBuzzerSoundType(byte[] edt)
static final short ECHO_CLASS_CODE
static final byte EPC_SOUND_GENERATION_SETTING
static final byte EPC_BUZZER_SOUND_TYPE
abstract byte[] getOperationStatus()
static Setter setG(byte instanceCode, boolean responseRequired)
Informer inform(boolean multicast)
final void removeSetProperty(byte epc)
synchronized boolean isValidProperty(EchoProperty property)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
final void addGetProperty(byte epc)
Setter set(boolean responseRequired)
abstract byte[] getFaultStatus()
synchronized boolean setProperty(EchoProperty property)
abstract byte[] getManufacturerCode()
byte[] getSoundGenerationSetting()
synchronized byte[] getProperty(byte epc)
static Informer informG()
static final byte EPC_OPERATION_STATUS
static Getter getG(byte instanceCode)
byte[] getStandardVersionInformation()
static Setter setG(byte instanceCode)
static Setter setG(boolean responseRequired)
boolean setOperationStatus(byte[] edt)
static Informer informG(byte instanceCode)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
byte[] getBuzzerSoundType()
boolean setSoundGenerationSetting(byte[] edt)
final boolean isSelfObject()
boolean isValidSoundGenerationSetting(byte[] edt)