16 package com.sonycsl.echo.eoj.device.housingfacilities;
40 super.setupPropertyMaps();
57 Echo.getEventListener().onNewElectricStormWindow(
this);
190 if(edt == null || !(edt.length == 1))
return false;
262 if(edt == null || !(edt.length == 1))
return false;
334 if(edt == null || !(edt.length == 1))
return false;
406 if(edt == null || !(edt.length == 1))
return false;
478 if(edt == null || !(edt.length == 1))
return false;
562 if(edt == null || !(edt.length == 1))
return false;
640 if(edt == null || !(edt.length == 1))
return false;
646 boolean success = super.setProperty(property);
647 if(success)
return success;
649 switch(property.
epc) {
657 default :
return false;
663 byte[] edt = super.getProperty(epc);
664 if(edt != null)
return edt;
674 default :
return null;
680 boolean valid = super.isValidProperty(property);
681 if(valid)
return valid;
683 switch(property.
epc) {
691 default :
return false;
701 public Setter
set(
boolean responseRequired) {
703 ,
getNode().getAddressStr(), responseRequired);
707 public Getter
get() {
718 protected Informer
inform(
boolean multicast) {
723 address =
getNode().getAddressStr();
729 public static class Receiver
extends DeviceObject.Receiver {
732 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
734 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
737 switch(property.epc) {
739 onSetOpenCloseSetting1(eoj, tid, esv, property, success);
742 onSetExtentOfOpening1(eoj, tid, esv, property, success);
745 onSetBlindAngleSetting(eoj, tid, esv, property, success);
748 onSetShutterSpeed(eoj, tid, esv, property, success);
751 onSetExtentOfOpening2(eoj, tid, esv, property, success);
754 onSetElectricLockSetting(eoj, tid, esv, property, success);
757 onSetOpenCloseSetting2(eoj, tid, esv, property, success);
765 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
767 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
770 switch(property.epc) {
772 onGetOpenCloseSetting1(eoj, tid, esv, property, success);
775 onGetExtentOfOpening1(eoj, tid, esv, property, success);
778 onGetBlindAngleSetting(eoj, tid, esv, property, success);
781 onGetShutterSpeed(eoj, tid, esv, property, success);
784 onGetExtentOfOpening2(eoj, tid, esv, property, success);
787 onGetElectricLockSetting(eoj, tid, esv, property, success);
790 onGetOpenCloseSetting2(eoj, tid, esv, property, success);
821 protected void onSetOpenCloseSetting1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
846 protected void onGetOpenCloseSetting1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
869 protected void onSetExtentOfOpening1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
892 protected void onGetExtentOfOpening1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
915 protected void onSetBlindAngleSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
938 protected void onGetBlindAngleSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
961 protected void onSetShutterSpeed(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
984 protected void onGetShutterSpeed(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1007 protected void onSetExtentOfOpening2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1030 protected void onGetExtentOfOpening2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1057 protected void onSetElectricLockSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1084 protected void onGetElectricLockSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1109 protected void onSetOpenCloseSetting2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1134 protected void onGetOpenCloseSetting2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1137 public static class Setter
extends DeviceObject.Setter {
1138 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
1139 , String dstEchoAddress,
boolean responseRequired) {
1140 super(dstEchoClassCode, dstEchoInstanceCode
1141 , dstEchoAddress, responseRequired);
1145 public Setter reqSetProperty(byte epc, byte[] edt) {
1146 return (Setter)super.reqSetProperty(epc, edt);
1150 public Setter reqSetOperationStatus(byte[] edt) {
1151 return (Setter)super.reqSetOperationStatus(edt);
1154 public Setter reqSetInstallationLocation(byte[] edt) {
1155 return (Setter)super.reqSetInstallationLocation(edt);
1158 public Setter reqSetCurrentLimitSetting(byte[] edt) {
1159 return (Setter)super.reqSetCurrentLimitSetting(edt);
1162 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
1163 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
1166 public Setter reqSetRemoteControlSetting(byte[] edt) {
1167 return (Setter)super.reqSetRemoteControlSetting(edt);
1170 public Setter reqSetCurrentTimeSetting(byte[] edt) {
1171 return (Setter)super.reqSetCurrentTimeSetting(edt);
1174 public Setter reqSetCurrentDateSetting(byte[] edt) {
1175 return (Setter)super.reqSetCurrentDateSetting(edt);
1178 public Setter reqSetPowerLimitSetting(byte[] edt) {
1179 return (Setter)super.reqSetPowerLimitSetting(edt);
1206 public Setter reqSetOpenCloseSetting1(byte[] edt) {
1232 public Setter reqSetExtentOfOpening1(byte[] edt) {
1258 public Setter reqSetBlindAngleSetting(byte[] edt) {
1284 public Setter reqSetShutterSpeed(byte[] edt) {
1310 public Setter reqSetExtentOfOpening2(byte[] edt) {
1340 public Setter reqSetElectricLockSetting(byte[] edt) {
1368 public Setter reqSetOpenCloseSetting2(byte[] edt) {
1374 public static class Getter
extends DeviceObject.Getter {
1375 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
1376 , String dstEchoAddress) {
1377 super(dstEchoClassCode, dstEchoInstanceCode
1382 public Getter reqGetProperty(byte epc) {
1383 return (Getter)super.reqGetProperty(epc);
1387 public Getter reqGetOperationStatus() {
1388 return (Getter)super.reqGetOperationStatus();
1391 public Getter reqGetInstallationLocation() {
1392 return (Getter)super.reqGetInstallationLocation();
1395 public Getter reqGetStandardVersionInformation() {
1396 return (Getter)super.reqGetStandardVersionInformation();
1399 public Getter reqGetIdentificationNumber() {
1400 return (Getter)super.reqGetIdentificationNumber();
1403 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
1404 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
1407 public Getter reqGetMeasuredCumulativePowerConsumption() {
1408 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
1411 public Getter reqGetManufacturersFaultCode() {
1412 return (Getter)super.reqGetManufacturersFaultCode();
1415 public Getter reqGetCurrentLimitSetting() {
1416 return (Getter)super.reqGetCurrentLimitSetting();
1419 public Getter reqGetFaultStatus() {
1420 return (Getter)super.reqGetFaultStatus();
1423 public Getter reqGetFaultDescription() {
1424 return (Getter)super.reqGetFaultDescription();
1427 public Getter reqGetManufacturerCode() {
1428 return (Getter)super.reqGetManufacturerCode();
1431 public Getter reqGetBusinessFacilityCode() {
1432 return (Getter)super.reqGetBusinessFacilityCode();
1435 public Getter reqGetProductCode() {
1436 return (Getter)super.reqGetProductCode();
1439 public Getter reqGetProductionNumber() {
1440 return (Getter)super.reqGetProductionNumber();
1443 public Getter reqGetProductionDate() {
1444 return (Getter)super.reqGetProductionDate();
1447 public Getter reqGetPowerSavingOperationSetting() {
1448 return (Getter)super.reqGetPowerSavingOperationSetting();
1451 public Getter reqGetRemoteControlSetting() {
1452 return (Getter)super.reqGetRemoteControlSetting();
1455 public Getter reqGetCurrentTimeSetting() {
1456 return (Getter)super.reqGetCurrentTimeSetting();
1459 public Getter reqGetCurrentDateSetting() {
1460 return (Getter)super.reqGetCurrentDateSetting();
1463 public Getter reqGetPowerLimitSetting() {
1464 return (Getter)super.reqGetPowerLimitSetting();
1467 public Getter reqGetCumulativeOperatingTime() {
1468 return (Getter)super.reqGetCumulativeOperatingTime();
1471 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
1472 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
1475 public Getter reqGetSetPropertyMap() {
1476 return (Getter)super.reqGetSetPropertyMap();
1479 public Getter reqGetGetPropertyMap() {
1480 return (Getter)super.reqGetGetPropertyMap();
1507 public Getter reqGetOpenCloseSetting1() {
1533 public Getter reqGetExtentOfOpening1() {
1559 public Getter reqGetBlindAngleSetting() {
1585 public Getter reqGetShutterSpeed() {
1611 public Getter reqGetExtentOfOpening2() {
1641 public Getter reqGetElectricLockSetting() {
1669 public Getter reqGetOpenCloseSetting2() {
1675 public static class Informer
extends DeviceObject.Informer {
1676 public Informer(
short echoClassCode, byte echoInstanceCode
1678 super(echoClassCode, echoInstanceCode
1679 , dstEchoAddress, isSelfObject);
1683 public Informer reqInformProperty(byte epc) {
1684 return (Informer)super.reqInformProperty(epc);
1687 public Informer reqInformOperationStatus() {
1688 return (Informer)super.reqInformOperationStatus();
1691 public Informer reqInformInstallationLocation() {
1692 return (Informer)super.reqInformInstallationLocation();
1695 public Informer reqInformStandardVersionInformation() {
1696 return (Informer)super.reqInformStandardVersionInformation();
1699 public Informer reqInformIdentificationNumber() {
1700 return (Informer)super.reqInformIdentificationNumber();
1703 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1704 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1707 public Informer reqInformMeasuredCumulativePowerConsumption() {
1708 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1711 public Informer reqInformManufacturersFaultCode() {
1712 return (Informer)super.reqInformManufacturersFaultCode();
1715 public Informer reqInformCurrentLimitSetting() {
1716 return (Informer)super.reqInformCurrentLimitSetting();
1719 public Informer reqInformFaultStatus() {
1720 return (Informer)super.reqInformFaultStatus();
1723 public Informer reqInformFaultDescription() {
1724 return (Informer)super.reqInformFaultDescription();
1727 public Informer reqInformManufacturerCode() {
1728 return (Informer)super.reqInformManufacturerCode();
1731 public Informer reqInformBusinessFacilityCode() {
1732 return (Informer)super.reqInformBusinessFacilityCode();
1735 public Informer reqInformProductCode() {
1736 return (Informer)super.reqInformProductCode();
1739 public Informer reqInformProductionNumber() {
1740 return (Informer)super.reqInformProductionNumber();
1743 public Informer reqInformProductionDate() {
1744 return (Informer)super.reqInformProductionDate();
1747 public Informer reqInformPowerSavingOperationSetting() {
1748 return (Informer)super.reqInformPowerSavingOperationSetting();
1751 public Informer reqInformRemoteControlSetting() {
1752 return (Informer)super.reqInformRemoteControlSetting();
1755 public Informer reqInformCurrentTimeSetting() {
1756 return (Informer)super.reqInformCurrentTimeSetting();
1759 public Informer reqInformCurrentDateSetting() {
1760 return (Informer)super.reqInformCurrentDateSetting();
1763 public Informer reqInformPowerLimitSetting() {
1764 return (Informer)super.reqInformPowerLimitSetting();
1767 public Informer reqInformCumulativeOperatingTime() {
1768 return (Informer)super.reqInformCumulativeOperatingTime();
1771 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1772 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1775 public Informer reqInformSetPropertyMap() {
1776 return (Informer)super.reqInformSetPropertyMap();
1779 public Informer reqInformGetPropertyMap() {
1780 return (Informer)super.reqInformGetPropertyMap();
1807 public Informer reqInformOpenCloseSetting1() {
1833 public Informer reqInformExtentOfOpening1() {
1859 public Informer reqInformBlindAngleSetting() {
1885 public Informer reqInformShutterSpeed() {
1911 public Informer reqInformExtentOfOpening2() {
1941 public Informer reqInformElectricLockSetting() {
1969 public Informer reqInformOpenCloseSetting2() {
1975 public static class Proxy
extends ElectricStormWindow {
1976 public Proxy(byte instanceCode) {
2007 return setG((byte)0);
2010 public static Setter
setG(byte instanceCode) {
2011 return setG(instanceCode,
true);
2014 public static Setter
setG(
boolean responseRequired) {
2015 return setG((byte)0, responseRequired);
2018 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
2024 return getG((byte)0);
2027 public static Getter
getG(byte instanceCode) {
2036 public static Informer
informG(byte instanceCode) {
boolean setExtentOfOpening2(byte[] edt)
abstract byte[] getOperationStatus()
abstract boolean setOpenCloseSetting1(byte[] edt)
boolean isValidBlindAngleSetting(byte[] edt)
static Setter setG(boolean responseRequired)
static Informer informG()
static Informer informG(byte instanceCode)
static final byte EPC_EXTENT_OF_OPENING2
abstract boolean setElectricLockSetting(byte[] edt)
byte[] getExtentOfOpening2()
final void removeSetProperty(byte epc)
boolean setBlindAngleSetting(byte[] edt)
synchronized boolean setProperty(EchoProperty property)
static final byte EPC_SHUTTER_SPEED
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
static final byte EPC_EXTENT_OF_OPENING1
final void addGetProperty(byte epc)
static final byte EPC_OPEN_CLOSE_SETTING1
byte[] getOpenCloseSetting2()
static final byte EPC_ELECTRIC_LOCK_SETTING
boolean setOpenCloseSetting2(byte[] edt)
boolean isValidOpenCloseSetting1(byte[] edt)
static Setter setG(byte instanceCode)
byte[] getBlindAngleSetting()
final void addSetProperty(byte epc)
abstract byte[] getElectricLockSetting()
abstract byte[] getFaultStatus()
Setter set(boolean responseRequired)
boolean isValidExtentOfOpening2(byte[] edt)
abstract byte[] getManufacturerCode()
Informer inform(boolean multicast)
synchronized byte[] getProperty(byte epc)
boolean isValidOpenCloseSetting2(byte[] edt)
static Setter setG(byte instanceCode, boolean responseRequired)
boolean isValidShutterSpeed(byte[] edt)
boolean setOperationStatus(byte[] edt)
boolean isValidExtentOfOpening1(byte[] edt)
static final byte EPC_OPERATION_STATUS
byte[] getStandardVersionInformation()
static final byte EPC_BLIND_ANGLE_SETTING
static Getter getG(byte instanceCode)
boolean isValidElectricLockSetting(byte[] edt)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
boolean setShutterSpeed(byte[] edt)
byte[] getExtentOfOpening1()
static final short ECHO_CLASS_CODE
final boolean isSelfObject()
boolean setExtentOfOpening1(byte[] edt)
abstract byte[] getOpenCloseSetting1()
synchronized boolean isValidProperty(EchoProperty property)
static final byte EPC_OPEN_CLOSE_SETTING2