16 package com.sonycsl.echo.eoj.device.housingfacilities;
37 super.setupPropertyMaps();
52 Echo.getEventListener().onNewElectricallyOperatedShade(
this);
185 if(edt == null || !(edt.length == 1))
return false;
257 if(edt == null || !(edt.length == 1))
return false;
329 if(edt == null || !(edt.length == 1))
return false;
401 if(edt == null || !(edt.length == 1))
return false;
407 boolean success = super.setProperty(property);
408 if(success)
return success;
410 switch(property.
epc) {
415 default :
return false;
421 byte[] edt = super.getProperty(epc);
422 if(edt != null)
return edt;
429 default :
return null;
435 boolean valid = super.isValidProperty(property);
436 if(valid)
return valid;
438 switch(property.
epc) {
443 default :
return false;
453 public Setter
set(
boolean responseRequired) {
455 ,
getNode().getAddressStr(), responseRequired);
459 public Getter
get() {
470 protected Informer
inform(
boolean multicast) {
475 address =
getNode().getAddressStr();
481 public static class Receiver
extends DeviceObject.Receiver {
484 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
486 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
489 switch(property.epc) {
491 onSetOpenCloseSetting(eoj, tid, esv, property, success);
494 onSetDegreeOfOpeniNgLevel(eoj, tid, esv, property, success);
497 onSetSetValueOfShadeAngle(eoj, tid, esv, property, success);
500 onSetShadeOpenCloseSpeed(eoj, tid, esv, property, success);
508 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
510 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
513 switch(property.epc) {
515 onGetOpenCloseSetting(eoj, tid, esv, property, success);
518 onGetDegreeOfOpeniNgLevel(eoj, tid, esv, property, success);
521 onGetSetValueOfShadeAngle(eoj, tid, esv, property, success);
524 onGetShadeOpenCloseSpeed(eoj, tid, esv, property, success);
555 protected void onSetOpenCloseSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
580 protected void onGetOpenCloseSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
603 protected void onSetDegreeOfOpeniNgLevel(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
626 protected void onGetDegreeOfOpeniNgLevel(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
649 protected void onSetSetValueOfShadeAngle(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
672 protected void onGetSetValueOfShadeAngle(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
695 protected void onSetShadeOpenCloseSpeed(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
718 protected void onGetShadeOpenCloseSpeed(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
721 public static class Setter
extends DeviceObject.Setter {
722 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
723 , String dstEchoAddress,
boolean responseRequired) {
724 super(dstEchoClassCode, dstEchoInstanceCode
725 , dstEchoAddress, responseRequired);
729 public Setter reqSetProperty(byte epc, byte[] edt) {
730 return (Setter)super.reqSetProperty(epc, edt);
734 public Setter reqSetOperationStatus(byte[] edt) {
735 return (Setter)super.reqSetOperationStatus(edt);
738 public Setter reqSetInstallationLocation(byte[] edt) {
739 return (Setter)super.reqSetInstallationLocation(edt);
742 public Setter reqSetCurrentLimitSetting(byte[] edt) {
743 return (Setter)super.reqSetCurrentLimitSetting(edt);
746 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
747 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
750 public Setter reqSetRemoteControlSetting(byte[] edt) {
751 return (Setter)super.reqSetRemoteControlSetting(edt);
754 public Setter reqSetCurrentTimeSetting(byte[] edt) {
755 return (Setter)super.reqSetCurrentTimeSetting(edt);
758 public Setter reqSetCurrentDateSetting(byte[] edt) {
759 return (Setter)super.reqSetCurrentDateSetting(edt);
762 public Setter reqSetPowerLimitSetting(byte[] edt) {
763 return (Setter)super.reqSetPowerLimitSetting(edt);
790 public Setter reqSetOpenCloseSetting(byte[] edt) {
816 public Setter reqSetDegreeOfOpeniNgLevel(byte[] edt) {
842 public Setter reqSetSetValueOfShadeAngle(byte[] edt) {
868 public Setter reqSetShadeOpenCloseSpeed(byte[] edt) {
874 public static class Getter
extends DeviceObject.Getter {
875 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
876 , String dstEchoAddress) {
877 super(dstEchoClassCode, dstEchoInstanceCode
882 public Getter reqGetProperty(byte epc) {
883 return (Getter)super.reqGetProperty(epc);
887 public Getter reqGetOperationStatus() {
888 return (Getter)super.reqGetOperationStatus();
891 public Getter reqGetInstallationLocation() {
892 return (Getter)super.reqGetInstallationLocation();
895 public Getter reqGetStandardVersionInformation() {
896 return (Getter)super.reqGetStandardVersionInformation();
899 public Getter reqGetIdentificationNumber() {
900 return (Getter)super.reqGetIdentificationNumber();
903 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
904 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
907 public Getter reqGetMeasuredCumulativePowerConsumption() {
908 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
911 public Getter reqGetManufacturersFaultCode() {
912 return (Getter)super.reqGetManufacturersFaultCode();
915 public Getter reqGetCurrentLimitSetting() {
916 return (Getter)super.reqGetCurrentLimitSetting();
919 public Getter reqGetFaultStatus() {
920 return (Getter)super.reqGetFaultStatus();
923 public Getter reqGetFaultDescription() {
924 return (Getter)super.reqGetFaultDescription();
927 public Getter reqGetManufacturerCode() {
928 return (Getter)super.reqGetManufacturerCode();
931 public Getter reqGetBusinessFacilityCode() {
932 return (Getter)super.reqGetBusinessFacilityCode();
935 public Getter reqGetProductCode() {
936 return (Getter)super.reqGetProductCode();
939 public Getter reqGetProductionNumber() {
940 return (Getter)super.reqGetProductionNumber();
943 public Getter reqGetProductionDate() {
944 return (Getter)super.reqGetProductionDate();
947 public Getter reqGetPowerSavingOperationSetting() {
948 return (Getter)super.reqGetPowerSavingOperationSetting();
951 public Getter reqGetRemoteControlSetting() {
952 return (Getter)super.reqGetRemoteControlSetting();
955 public Getter reqGetCurrentTimeSetting() {
956 return (Getter)super.reqGetCurrentTimeSetting();
959 public Getter reqGetCurrentDateSetting() {
960 return (Getter)super.reqGetCurrentDateSetting();
963 public Getter reqGetPowerLimitSetting() {
964 return (Getter)super.reqGetPowerLimitSetting();
967 public Getter reqGetCumulativeOperatingTime() {
968 return (Getter)super.reqGetCumulativeOperatingTime();
971 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
972 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
975 public Getter reqGetSetPropertyMap() {
976 return (Getter)super.reqGetSetPropertyMap();
979 public Getter reqGetGetPropertyMap() {
980 return (Getter)super.reqGetGetPropertyMap();
1007 public Getter reqGetOpenCloseSetting() {
1033 public Getter reqGetDegreeOfOpeniNgLevel() {
1059 public Getter reqGetSetValueOfShadeAngle() {
1085 public Getter reqGetShadeOpenCloseSpeed() {
1091 public static class Informer
extends DeviceObject.Informer {
1092 public Informer(
short echoClassCode, byte echoInstanceCode
1094 super(echoClassCode, echoInstanceCode
1095 , dstEchoAddress, isSelfObject);
1099 public Informer reqInformProperty(byte epc) {
1100 return (Informer)super.reqInformProperty(epc);
1103 public Informer reqInformOperationStatus() {
1104 return (Informer)super.reqInformOperationStatus();
1107 public Informer reqInformInstallationLocation() {
1108 return (Informer)super.reqInformInstallationLocation();
1111 public Informer reqInformStandardVersionInformation() {
1112 return (Informer)super.reqInformStandardVersionInformation();
1115 public Informer reqInformIdentificationNumber() {
1116 return (Informer)super.reqInformIdentificationNumber();
1119 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1120 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1123 public Informer reqInformMeasuredCumulativePowerConsumption() {
1124 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1127 public Informer reqInformManufacturersFaultCode() {
1128 return (Informer)super.reqInformManufacturersFaultCode();
1131 public Informer reqInformCurrentLimitSetting() {
1132 return (Informer)super.reqInformCurrentLimitSetting();
1135 public Informer reqInformFaultStatus() {
1136 return (Informer)super.reqInformFaultStatus();
1139 public Informer reqInformFaultDescription() {
1140 return (Informer)super.reqInformFaultDescription();
1143 public Informer reqInformManufacturerCode() {
1144 return (Informer)super.reqInformManufacturerCode();
1147 public Informer reqInformBusinessFacilityCode() {
1148 return (Informer)super.reqInformBusinessFacilityCode();
1151 public Informer reqInformProductCode() {
1152 return (Informer)super.reqInformProductCode();
1155 public Informer reqInformProductionNumber() {
1156 return (Informer)super.reqInformProductionNumber();
1159 public Informer reqInformProductionDate() {
1160 return (Informer)super.reqInformProductionDate();
1163 public Informer reqInformPowerSavingOperationSetting() {
1164 return (Informer)super.reqInformPowerSavingOperationSetting();
1167 public Informer reqInformRemoteControlSetting() {
1168 return (Informer)super.reqInformRemoteControlSetting();
1171 public Informer reqInformCurrentTimeSetting() {
1172 return (Informer)super.reqInformCurrentTimeSetting();
1175 public Informer reqInformCurrentDateSetting() {
1176 return (Informer)super.reqInformCurrentDateSetting();
1179 public Informer reqInformPowerLimitSetting() {
1180 return (Informer)super.reqInformPowerLimitSetting();
1183 public Informer reqInformCumulativeOperatingTime() {
1184 return (Informer)super.reqInformCumulativeOperatingTime();
1187 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1188 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1191 public Informer reqInformSetPropertyMap() {
1192 return (Informer)super.reqInformSetPropertyMap();
1195 public Informer reqInformGetPropertyMap() {
1196 return (Informer)super.reqInformGetPropertyMap();
1223 public Informer reqInformOpenCloseSetting() {
1249 public Informer reqInformDegreeOfOpeniNgLevel() {
1275 public Informer reqInformSetValueOfShadeAngle() {
1301 public Informer reqInformShadeOpenCloseSpeed() {
1307 public static class Proxy
extends ElectricallyOperatedShade {
1308 public Proxy(byte instanceCode) {
1339 return setG((byte)0);
1342 public static Setter
setG(byte instanceCode) {
1343 return setG(instanceCode,
true);
1346 public static Setter
setG(
boolean responseRequired) {
1347 return setG((byte)0, responseRequired);
1350 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
1356 return getG((byte)0);
1359 public static Getter
getG(byte instanceCode) {
1368 public static Informer
informG(byte instanceCode) {
static Informer informG()
boolean setOperationStatus(byte[] edt)
static final short ECHO_CLASS_CODE
Informer inform(boolean multicast)
abstract boolean setOpenCloseSetting(byte[] edt)
byte[] getSetValueOfShadeAngle()
abstract byte[] getOpenCloseSetting()
static Informer informG(byte instanceCode)
final void removeSetProperty(byte epc)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getOperationStatus()
synchronized boolean isValidProperty(EchoProperty property)
abstract byte[] getInstallationLocation()
final void addGetProperty(byte epc)
static Setter setG(boolean responseRequired)
static final byte EPC_SHADE_OPEN_CLOSE_SPEED
Setter set(boolean responseRequired)
abstract boolean setDegreeOfOpeniNgLevel(byte[] edt)
static Getter getG(byte instanceCode)
boolean isValidOpenCloseSetting(byte[] edt)
boolean isValidSetValueOfShadeAngle(byte[] edt)
final void addSetProperty(byte epc)
boolean setSetValueOfShadeAngle(byte[] edt)
abstract byte[] getFaultStatus()
boolean isValidDegreeOfOpeniNgLevel(byte[] edt)
static final byte EPC_DEGREE_OF_OPENI_NG_LEVEL
static final byte EPC_OPEN_CLOSE_SETTING
abstract byte[] getDegreeOfOpeniNgLevel()
abstract byte[] getManufacturerCode()
static Setter setG(byte instanceCode, boolean responseRequired)
synchronized boolean setProperty(EchoProperty property)
boolean setShadeOpenCloseSpeed(byte[] edt)
static final byte EPC_OPERATION_STATUS
synchronized byte[] getProperty(byte epc)
byte[] getStandardVersionInformation()
byte[] getShadeOpenCloseSpeed()
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
boolean isValidShadeOpenCloseSpeed(byte[] edt)
final boolean isSelfObject()
static Setter setG(byte instanceCode)
static final byte EPC_SET_VALUE_OF_SHADE_ANGLE