16 package com.sonycsl.echo.eoj.device.housingfacilities;
40 super.setupPropertyMaps();
56 Echo.getEventListener().onNewElectricShutter(
this);
189 if(edt == null || !(edt.length == 1))
return false;
261 if(edt == null || !(edt.length == 1))
return false;
333 if(edt == null || !(edt.length == 1))
return false;
405 if(edt == null || !(edt.length == 1))
return false;
477 if(edt == null || !(edt.length == 1))
return false;
549 if(edt == null || !(edt.length == 1))
return false;
627 if(edt == null || !(edt.length == 1))
return false;
633 boolean success = super.setProperty(property);
634 if(success)
return success;
636 switch(property.
epc) {
644 default :
return false;
650 byte[] edt = super.getProperty(epc);
651 if(edt != null)
return edt;
661 default :
return null;
667 boolean valid = super.isValidProperty(property);
668 if(valid)
return valid;
670 switch(property.
epc) {
678 default :
return false;
688 public Setter
set(
boolean responseRequired) {
690 ,
getNode().getAddressStr(), responseRequired);
694 public Getter
get() {
705 protected Informer
inform(
boolean multicast) {
710 address =
getNode().getAddressStr();
716 public static class Receiver
extends DeviceObject.Receiver {
719 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
721 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
724 switch(property.epc) {
726 onSetOpenCloseSetting1(eoj, tid, esv, property, success);
729 onSetExtentOfOpening1(eoj, tid, esv, property, success);
732 onSetBlindAngleSetting(eoj, tid, esv, property, success);
735 onSetShutterSpeed(eoj, tid, esv, property, success);
738 onSetExtentOfOpening2(eoj, tid, esv, property, success);
741 onSetElectricLockSetting(eoj, tid, esv, property, success);
744 onSetOpenCloseSetting2(eoj, tid, esv, property, success);
752 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
754 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
757 switch(property.epc) {
759 onGetOpenCloseSetting1(eoj, tid, esv, property, success);
762 onGetExtentOfOpening1(eoj, tid, esv, property, success);
765 onGetBlindAngleSetting(eoj, tid, esv, property, success);
768 onGetShutterSpeed(eoj, tid, esv, property, success);
771 onGetExtentOfOpening2(eoj, tid, esv, property, success);
774 onGetElectricLockSetting(eoj, tid, esv, property, success);
777 onGetOpenCloseSetting2(eoj, tid, esv, property, success);
808 protected void onSetOpenCloseSetting1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
833 protected void onGetOpenCloseSetting1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
856 protected void onSetExtentOfOpening1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
879 protected void onGetExtentOfOpening1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
902 protected void onSetBlindAngleSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
925 protected void onGetBlindAngleSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
948 protected void onSetShutterSpeed(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
971 protected void onGetShutterSpeed(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
994 protected void onSetExtentOfOpening2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1017 protected void onGetExtentOfOpening2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1040 protected void onSetElectricLockSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1063 protected void onGetElectricLockSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1088 protected void onSetOpenCloseSetting2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1113 protected void onGetOpenCloseSetting2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1116 public static class Setter
extends DeviceObject.Setter {
1117 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
1118 , String dstEchoAddress,
boolean responseRequired) {
1119 super(dstEchoClassCode, dstEchoInstanceCode
1120 , dstEchoAddress, responseRequired);
1124 public Setter reqSetProperty(byte epc, byte[] edt) {
1125 return (Setter)super.reqSetProperty(epc, edt);
1129 public Setter reqSetOperationStatus(byte[] edt) {
1130 return (Setter)super.reqSetOperationStatus(edt);
1133 public Setter reqSetInstallationLocation(byte[] edt) {
1134 return (Setter)super.reqSetInstallationLocation(edt);
1137 public Setter reqSetCurrentLimitSetting(byte[] edt) {
1138 return (Setter)super.reqSetCurrentLimitSetting(edt);
1141 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
1142 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
1145 public Setter reqSetRemoteControlSetting(byte[] edt) {
1146 return (Setter)super.reqSetRemoteControlSetting(edt);
1149 public Setter reqSetCurrentTimeSetting(byte[] edt) {
1150 return (Setter)super.reqSetCurrentTimeSetting(edt);
1153 public Setter reqSetCurrentDateSetting(byte[] edt) {
1154 return (Setter)super.reqSetCurrentDateSetting(edt);
1157 public Setter reqSetPowerLimitSetting(byte[] edt) {
1158 return (Setter)super.reqSetPowerLimitSetting(edt);
1185 public Setter reqSetOpenCloseSetting1(byte[] edt) {
1211 public Setter reqSetExtentOfOpening1(byte[] edt) {
1237 public Setter reqSetBlindAngleSetting(byte[] edt) {
1263 public Setter reqSetShutterSpeed(byte[] edt) {
1289 public Setter reqSetExtentOfOpening2(byte[] edt) {
1315 public Setter reqSetElectricLockSetting(byte[] edt) {
1343 public Setter reqSetOpenCloseSetting2(byte[] edt) {
1349 public static class Getter
extends DeviceObject.Getter {
1350 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
1351 , String dstEchoAddress) {
1352 super(dstEchoClassCode, dstEchoInstanceCode
1357 public Getter reqGetProperty(byte epc) {
1358 return (Getter)super.reqGetProperty(epc);
1362 public Getter reqGetOperationStatus() {
1363 return (Getter)super.reqGetOperationStatus();
1366 public Getter reqGetInstallationLocation() {
1367 return (Getter)super.reqGetInstallationLocation();
1370 public Getter reqGetStandardVersionInformation() {
1371 return (Getter)super.reqGetStandardVersionInformation();
1374 public Getter reqGetIdentificationNumber() {
1375 return (Getter)super.reqGetIdentificationNumber();
1378 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
1379 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
1382 public Getter reqGetMeasuredCumulativePowerConsumption() {
1383 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
1386 public Getter reqGetManufacturersFaultCode() {
1387 return (Getter)super.reqGetManufacturersFaultCode();
1390 public Getter reqGetCurrentLimitSetting() {
1391 return (Getter)super.reqGetCurrentLimitSetting();
1394 public Getter reqGetFaultStatus() {
1395 return (Getter)super.reqGetFaultStatus();
1398 public Getter reqGetFaultDescription() {
1399 return (Getter)super.reqGetFaultDescription();
1402 public Getter reqGetManufacturerCode() {
1403 return (Getter)super.reqGetManufacturerCode();
1406 public Getter reqGetBusinessFacilityCode() {
1407 return (Getter)super.reqGetBusinessFacilityCode();
1410 public Getter reqGetProductCode() {
1411 return (Getter)super.reqGetProductCode();
1414 public Getter reqGetProductionNumber() {
1415 return (Getter)super.reqGetProductionNumber();
1418 public Getter reqGetProductionDate() {
1419 return (Getter)super.reqGetProductionDate();
1422 public Getter reqGetPowerSavingOperationSetting() {
1423 return (Getter)super.reqGetPowerSavingOperationSetting();
1426 public Getter reqGetRemoteControlSetting() {
1427 return (Getter)super.reqGetRemoteControlSetting();
1430 public Getter reqGetCurrentTimeSetting() {
1431 return (Getter)super.reqGetCurrentTimeSetting();
1434 public Getter reqGetCurrentDateSetting() {
1435 return (Getter)super.reqGetCurrentDateSetting();
1438 public Getter reqGetPowerLimitSetting() {
1439 return (Getter)super.reqGetPowerLimitSetting();
1442 public Getter reqGetCumulativeOperatingTime() {
1443 return (Getter)super.reqGetCumulativeOperatingTime();
1446 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
1447 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
1450 public Getter reqGetSetPropertyMap() {
1451 return (Getter)super.reqGetSetPropertyMap();
1454 public Getter reqGetGetPropertyMap() {
1455 return (Getter)super.reqGetGetPropertyMap();
1482 public Getter reqGetOpenCloseSetting1() {
1508 public Getter reqGetExtentOfOpening1() {
1534 public Getter reqGetBlindAngleSetting() {
1560 public Getter reqGetShutterSpeed() {
1586 public Getter reqGetExtentOfOpening2() {
1612 public Getter reqGetElectricLockSetting() {
1640 public Getter reqGetOpenCloseSetting2() {
1646 public static class Informer
extends DeviceObject.Informer {
1647 public Informer(
short echoClassCode, byte echoInstanceCode
1649 super(echoClassCode, echoInstanceCode
1650 , dstEchoAddress, isSelfObject);
1654 public Informer reqInformProperty(byte epc) {
1655 return (Informer)super.reqInformProperty(epc);
1658 public Informer reqInformOperationStatus() {
1659 return (Informer)super.reqInformOperationStatus();
1662 public Informer reqInformInstallationLocation() {
1663 return (Informer)super.reqInformInstallationLocation();
1666 public Informer reqInformStandardVersionInformation() {
1667 return (Informer)super.reqInformStandardVersionInformation();
1670 public Informer reqInformIdentificationNumber() {
1671 return (Informer)super.reqInformIdentificationNumber();
1674 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1675 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1678 public Informer reqInformMeasuredCumulativePowerConsumption() {
1679 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1682 public Informer reqInformManufacturersFaultCode() {
1683 return (Informer)super.reqInformManufacturersFaultCode();
1686 public Informer reqInformCurrentLimitSetting() {
1687 return (Informer)super.reqInformCurrentLimitSetting();
1690 public Informer reqInformFaultStatus() {
1691 return (Informer)super.reqInformFaultStatus();
1694 public Informer reqInformFaultDescription() {
1695 return (Informer)super.reqInformFaultDescription();
1698 public Informer reqInformManufacturerCode() {
1699 return (Informer)super.reqInformManufacturerCode();
1702 public Informer reqInformBusinessFacilityCode() {
1703 return (Informer)super.reqInformBusinessFacilityCode();
1706 public Informer reqInformProductCode() {
1707 return (Informer)super.reqInformProductCode();
1710 public Informer reqInformProductionNumber() {
1711 return (Informer)super.reqInformProductionNumber();
1714 public Informer reqInformProductionDate() {
1715 return (Informer)super.reqInformProductionDate();
1718 public Informer reqInformPowerSavingOperationSetting() {
1719 return (Informer)super.reqInformPowerSavingOperationSetting();
1722 public Informer reqInformRemoteControlSetting() {
1723 return (Informer)super.reqInformRemoteControlSetting();
1726 public Informer reqInformCurrentTimeSetting() {
1727 return (Informer)super.reqInformCurrentTimeSetting();
1730 public Informer reqInformCurrentDateSetting() {
1731 return (Informer)super.reqInformCurrentDateSetting();
1734 public Informer reqInformPowerLimitSetting() {
1735 return (Informer)super.reqInformPowerLimitSetting();
1738 public Informer reqInformCumulativeOperatingTime() {
1739 return (Informer)super.reqInformCumulativeOperatingTime();
1742 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1743 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1746 public Informer reqInformSetPropertyMap() {
1747 return (Informer)super.reqInformSetPropertyMap();
1750 public Informer reqInformGetPropertyMap() {
1751 return (Informer)super.reqInformGetPropertyMap();
1778 public Informer reqInformOpenCloseSetting1() {
1804 public Informer reqInformExtentOfOpening1() {
1830 public Informer reqInformBlindAngleSetting() {
1856 public Informer reqInformShutterSpeed() {
1882 public Informer reqInformExtentOfOpening2() {
1908 public Informer reqInformElectricLockSetting() {
1936 public Informer reqInformOpenCloseSetting2() {
1942 public static class Proxy
extends ElectricShutter {
1943 public Proxy(byte instanceCode) {
1974 return setG((byte)0);
1977 public static Setter
setG(byte instanceCode) {
1978 return setG(instanceCode,
true);
1981 public static Setter
setG(
boolean responseRequired) {
1982 return setG((byte)0, responseRequired);
1985 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
1991 return getG((byte)0);
1994 public static Getter
getG(byte instanceCode) {
2003 public static Informer
informG(byte instanceCode) {
abstract byte[] getOpenCloseSetting2()
synchronized boolean setProperty(EchoProperty property)
boolean isValidExtentOfOpening2(byte[] edt)
synchronized byte[] getProperty(byte epc)
boolean setOperationStatus(byte[] edt)
abstract byte[] getOpenCloseSetting1()
byte[] getBlindAngleSetting()
synchronized boolean isValidProperty(EchoProperty property)
final void removeSetProperty(byte epc)
static Setter setG(byte instanceCode)
static final byte EPC_OPEN_CLOSE_SETTING2
static Getter getG(byte instanceCode)
final void addStatusChangeAnnouncementProperty(byte epc)
boolean setBlindAngleSetting(byte[] edt)
abstract byte[] getInstallationLocation()
boolean setExtentOfOpening2(byte[] edt)
final void addGetProperty(byte epc)
boolean isValidBlindAngleSetting(byte[] edt)
byte[] getExtentOfOpening1()
boolean isValidOpenCloseSetting1(byte[] edt)
boolean isValidOpenCloseSetting2(byte[] edt)
static final short ECHO_CLASS_CODE
abstract byte[] getOperationStatus()
static final byte EPC_OPEN_CLOSE_SETTING1
final void addSetProperty(byte epc)
boolean isValidShutterSpeed(byte[] edt)
abstract byte[] getFaultStatus()
static final byte EPC_BLIND_ANGLE_SETTING
Informer inform(boolean multicast)
byte[] getExtentOfOpening2()
static final byte EPC_EXTENT_OF_OPENING2
boolean isValidExtentOfOpening1(byte[] edt)
abstract byte[] getManufacturerCode()
boolean isValidElectricLockSetting(byte[] edt)
static final byte EPC_EXTENT_OF_OPENING1
abstract boolean setOpenCloseSetting2(byte[] edt)
static final byte EPC_OPERATION_STATUS
static final byte EPC_SHUTTER_SPEED
boolean setShutterSpeed(byte[] edt)
byte[] getStandardVersionInformation()
Setter set(boolean responseRequired)
static final byte EPC_ELECTRIC_LOCK_SETTING
boolean setExtentOfOpening1(byte[] edt)
byte[] getElectricLockSetting()
boolean setElectricLockSetting(byte[] edt)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
static Setter setG(boolean responseRequired)
static Setter setG(byte instanceCode, boolean responseRequired)
final boolean isSelfObject()
static Informer informG()
static Informer informG(byte instanceCode)
abstract boolean setOpenCloseSetting1(byte[] edt)