16 package com.sonycsl.echo.eoj.device.airconditioner;
40 super.setupPropertyMaps();
50 Echo.getEventListener().onNewAirConditionerVentilationFan(
this);
177 if(edt == null || !(edt.length == 1))
return false;
249 if(edt == null || !(edt.length == 1))
return false;
298 if(edt == null || !(edt.length == 1))
return false;
379 if(edt == null || !(edt.length == 1))
return false;
451 if(edt == null || !(edt.length == 1))
return false;
500 if(edt == null || !(edt.length == 2))
return false;
551 if(edt == null || !(edt.length == 1))
return false;
557 boolean success = super.setProperty(property);
558 if(success)
return success;
560 switch(property.
epc) {
565 default :
return false;
571 byte[] edt = super.getProperty(epc);
572 if(edt != null)
return edt;
582 default :
return null;
588 boolean valid = super.isValidProperty(property);
589 if(valid)
return valid;
591 switch(property.
epc) {
599 default :
return false;
609 public Setter
set(
boolean responseRequired) {
611 ,
getNode().getAddressStr(), responseRequired);
615 public Getter
get() {
626 protected Informer
inform(
boolean multicast) {
631 address =
getNode().getAddressStr();
637 public static class Receiver
extends DeviceObject.Receiver {
640 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
642 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
645 switch(property.epc) {
647 onSetSetValueOfRoomRelativeHumidity(eoj, tid, esv, property, success);
650 onSetVentilationAutoSetting(eoj, tid, esv, property, success);
653 onSetSetValueOfVentilationAirFlowRate(eoj, tid, esv, property, success);
656 onSetHeatExchangerOperationSetting(eoj, tid, esv, property, success);
664 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
666 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
669 switch(property.epc) {
671 onGetSetValueOfRoomRelativeHumidity(eoj, tid, esv, property, success);
674 onGetVentilationAutoSetting(eoj, tid, esv, property, success);
677 onGetMeasuredValueOfRoomRelativeHumidity(eoj, tid, esv, property, success);
680 onGetSetValueOfVentilationAirFlowRate(eoj, tid, esv, property, success);
683 onGetHeatExchangerOperationSetting(eoj, tid, esv, property, success);
686 onGetMeasuredValueOfCo2Concentration(eoj, tid, esv, property, success);
689 onGetSmokeCigaretteDetectionStatus(eoj, tid, esv, property, success);
718 protected void onSetSetValueOfRoomRelativeHumidity(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
741 protected void onGetSetValueOfRoomRelativeHumidity(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
764 protected void onSetVentilationAutoSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
787 protected void onGetVentilationAutoSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
810 protected void onGetMeasuredValueOfRoomRelativeHumidity(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
836 protected void onSetSetValueOfVentilationAirFlowRate(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
862 protected void onGetSetValueOfVentilationAirFlowRate(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
885 protected void onSetHeatExchangerOperationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
908 protected void onGetHeatExchangerOperationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
931 protected void onGetMeasuredValueOfCo2Concentration(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
955 protected void onGetSmokeCigaretteDetectionStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
958 public static class Setter
extends DeviceObject.Setter {
959 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
960 , String dstEchoAddress,
boolean responseRequired) {
961 super(dstEchoClassCode, dstEchoInstanceCode
962 , dstEchoAddress, responseRequired);
966 public Setter reqSetProperty(byte epc, byte[] edt) {
967 return (Setter)super.reqSetProperty(epc, edt);
971 public Setter reqSetOperationStatus(byte[] edt) {
972 return (Setter)super.reqSetOperationStatus(edt);
975 public Setter reqSetInstallationLocation(byte[] edt) {
976 return (Setter)super.reqSetInstallationLocation(edt);
979 public Setter reqSetCurrentLimitSetting(byte[] edt) {
980 return (Setter)super.reqSetCurrentLimitSetting(edt);
983 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
984 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
987 public Setter reqSetRemoteControlSetting(byte[] edt) {
988 return (Setter)super.reqSetRemoteControlSetting(edt);
991 public Setter reqSetCurrentTimeSetting(byte[] edt) {
992 return (Setter)super.reqSetCurrentTimeSetting(edt);
995 public Setter reqSetCurrentDateSetting(byte[] edt) {
996 return (Setter)super.reqSetCurrentDateSetting(edt);
999 public Setter reqSetPowerLimitSetting(byte[] edt) {
1000 return (Setter)super.reqSetPowerLimitSetting(edt);
1025 public Setter reqSetSetValueOfRoomRelativeHumidity(byte[] edt) {
1051 public Setter reqSetVentilationAutoSetting(byte[] edt) {
1080 public Setter reqSetSetValueOfVentilationAirFlowRate(byte[] edt) {
1106 public Setter reqSetHeatExchangerOperationSetting(byte[] edt) {
1112 public static class Getter
extends DeviceObject.Getter {
1113 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
1114 , String dstEchoAddress) {
1115 super(dstEchoClassCode, dstEchoInstanceCode
1120 public Getter reqGetProperty(byte epc) {
1121 return (Getter)super.reqGetProperty(epc);
1125 public Getter reqGetOperationStatus() {
1126 return (Getter)super.reqGetOperationStatus();
1129 public Getter reqGetInstallationLocation() {
1130 return (Getter)super.reqGetInstallationLocation();
1133 public Getter reqGetStandardVersionInformation() {
1134 return (Getter)super.reqGetStandardVersionInformation();
1137 public Getter reqGetIdentificationNumber() {
1138 return (Getter)super.reqGetIdentificationNumber();
1141 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
1142 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
1145 public Getter reqGetMeasuredCumulativePowerConsumption() {
1146 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
1149 public Getter reqGetManufacturersFaultCode() {
1150 return (Getter)super.reqGetManufacturersFaultCode();
1153 public Getter reqGetCurrentLimitSetting() {
1154 return (Getter)super.reqGetCurrentLimitSetting();
1157 public Getter reqGetFaultStatus() {
1158 return (Getter)super.reqGetFaultStatus();
1161 public Getter reqGetFaultDescription() {
1162 return (Getter)super.reqGetFaultDescription();
1165 public Getter reqGetManufacturerCode() {
1166 return (Getter)super.reqGetManufacturerCode();
1169 public Getter reqGetBusinessFacilityCode() {
1170 return (Getter)super.reqGetBusinessFacilityCode();
1173 public Getter reqGetProductCode() {
1174 return (Getter)super.reqGetProductCode();
1177 public Getter reqGetProductionNumber() {
1178 return (Getter)super.reqGetProductionNumber();
1181 public Getter reqGetProductionDate() {
1182 return (Getter)super.reqGetProductionDate();
1185 public Getter reqGetPowerSavingOperationSetting() {
1186 return (Getter)super.reqGetPowerSavingOperationSetting();
1189 public Getter reqGetRemoteControlSetting() {
1190 return (Getter)super.reqGetRemoteControlSetting();
1193 public Getter reqGetCurrentTimeSetting() {
1194 return (Getter)super.reqGetCurrentTimeSetting();
1197 public Getter reqGetCurrentDateSetting() {
1198 return (Getter)super.reqGetCurrentDateSetting();
1201 public Getter reqGetPowerLimitSetting() {
1202 return (Getter)super.reqGetPowerLimitSetting();
1205 public Getter reqGetCumulativeOperatingTime() {
1206 return (Getter)super.reqGetCumulativeOperatingTime();
1209 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
1210 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
1213 public Getter reqGetSetPropertyMap() {
1214 return (Getter)super.reqGetSetPropertyMap();
1217 public Getter reqGetGetPropertyMap() {
1218 return (Getter)super.reqGetGetPropertyMap();
1243 public Getter reqGetSetValueOfRoomRelativeHumidity() {
1269 public Getter reqGetVentilationAutoSetting() {
1295 public Getter reqGetMeasuredValueOfRoomRelativeHumidity() {
1324 public Getter reqGetSetValueOfVentilationAirFlowRate() {
1350 public Getter reqGetHeatExchangerOperationSetting() {
1376 public Getter reqGetMeasuredValueOfCo2Concentration() {
1403 public Getter reqGetSmokeCigaretteDetectionStatus() {
1409 public static class Informer
extends DeviceObject.Informer {
1410 public Informer(
short echoClassCode, byte echoInstanceCode
1412 super(echoClassCode, echoInstanceCode
1413 , dstEchoAddress, isSelfObject);
1417 public Informer reqInformProperty(byte epc) {
1418 return (Informer)super.reqInformProperty(epc);
1421 public Informer reqInformOperationStatus() {
1422 return (Informer)super.reqInformOperationStatus();
1425 public Informer reqInformInstallationLocation() {
1426 return (Informer)super.reqInformInstallationLocation();
1429 public Informer reqInformStandardVersionInformation() {
1430 return (Informer)super.reqInformStandardVersionInformation();
1433 public Informer reqInformIdentificationNumber() {
1434 return (Informer)super.reqInformIdentificationNumber();
1437 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1438 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1441 public Informer reqInformMeasuredCumulativePowerConsumption() {
1442 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1445 public Informer reqInformManufacturersFaultCode() {
1446 return (Informer)super.reqInformManufacturersFaultCode();
1449 public Informer reqInformCurrentLimitSetting() {
1450 return (Informer)super.reqInformCurrentLimitSetting();
1453 public Informer reqInformFaultStatus() {
1454 return (Informer)super.reqInformFaultStatus();
1457 public Informer reqInformFaultDescription() {
1458 return (Informer)super.reqInformFaultDescription();
1461 public Informer reqInformManufacturerCode() {
1462 return (Informer)super.reqInformManufacturerCode();
1465 public Informer reqInformBusinessFacilityCode() {
1466 return (Informer)super.reqInformBusinessFacilityCode();
1469 public Informer reqInformProductCode() {
1470 return (Informer)super.reqInformProductCode();
1473 public Informer reqInformProductionNumber() {
1474 return (Informer)super.reqInformProductionNumber();
1477 public Informer reqInformProductionDate() {
1478 return (Informer)super.reqInformProductionDate();
1481 public Informer reqInformPowerSavingOperationSetting() {
1482 return (Informer)super.reqInformPowerSavingOperationSetting();
1485 public Informer reqInformRemoteControlSetting() {
1486 return (Informer)super.reqInformRemoteControlSetting();
1489 public Informer reqInformCurrentTimeSetting() {
1490 return (Informer)super.reqInformCurrentTimeSetting();
1493 public Informer reqInformCurrentDateSetting() {
1494 return (Informer)super.reqInformCurrentDateSetting();
1497 public Informer reqInformPowerLimitSetting() {
1498 return (Informer)super.reqInformPowerLimitSetting();
1501 public Informer reqInformCumulativeOperatingTime() {
1502 return (Informer)super.reqInformCumulativeOperatingTime();
1505 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1506 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1509 public Informer reqInformSetPropertyMap() {
1510 return (Informer)super.reqInformSetPropertyMap();
1513 public Informer reqInformGetPropertyMap() {
1514 return (Informer)super.reqInformGetPropertyMap();
1539 public Informer reqInformSetValueOfRoomRelativeHumidity() {
1565 public Informer reqInformVentilationAutoSetting() {
1591 public Informer reqInformMeasuredValueOfRoomRelativeHumidity() {
1620 public Informer reqInformSetValueOfVentilationAirFlowRate() {
1646 public Informer reqInformHeatExchangerOperationSetting() {
1672 public Informer reqInformMeasuredValueOfCo2Concentration() {
1699 public Informer reqInformSmokeCigaretteDetectionStatus() {
1705 public static class Proxy
extends AirConditionerVentilationFan {
1706 public Proxy(byte instanceCode) {
1731 return setG((byte)0);
1734 public static Setter
setG(byte instanceCode) {
1735 return setG(instanceCode,
true);
1738 public static Setter
setG(
boolean responseRequired) {
1739 return setG((byte)0, responseRequired);
1742 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
1748 return getG((byte)0);
1751 public static Getter
getG(byte instanceCode) {
1760 public static Informer
informG(byte instanceCode) {
byte[] getVentilationAutoSetting()
boolean isValidMeasuredValueOfCo2Concentration(byte[] edt)
boolean isValidSetValueOfRoomRelativeHumidity(byte[] edt)
static final byte EPC_SET_VALUE_OF_VENTILATION_AIR_FLOW_RATE
abstract boolean setOperationStatus(byte[] edt)
static Setter setG(boolean responseRequired)
static Informer informG()
static Setter setG(byte instanceCode, boolean responseRequired)
Informer inform(boolean multicast)
final void addStatusChangeAnnouncementProperty(byte epc)
static final byte EPC_SMOKE_CIGARETTE_DETECTION_STATUS
abstract byte[] getInstallationLocation()
final void addGetProperty(byte epc)
boolean isValidSmokeCigaretteDetectionStatus(byte[] edt)
static Setter setG(byte instanceCode)
static Getter getG(byte instanceCode)
abstract byte[] getOperationStatus()
synchronized byte[] getProperty(byte epc)
byte[] getSmokeCigaretteDetectionStatus()
static final byte EPC_SET_VALUE_OF_ROOM_RELATIVE_HUMIDITY
final void addSetProperty(byte epc)
abstract byte[] getFaultStatus()
static final byte EPC_MEASURED_VALUE_OF_ROOM_RELATIVE_HUMIDITY
byte[] getSetValueOfVentilationAirFlowRate()
boolean setHeatExchangerOperationSetting(byte[] edt)
static final byte EPC_HEAT_EXCHANGER_OPERATION_SETTING
Setter set(boolean responseRequired)
static final byte EPC_VENTILATION_AUTO_SETTING
abstract byte[] getManufacturerCode()
boolean setVentilationAutoSetting(byte[] edt)
boolean isValidHeatExchangerOperationSetting(byte[] edt)
static final byte EPC_MEASURED_VALUE_OF_CO2_CONCENTRATION
boolean isValidVentilationAutoSetting(byte[] edt)
static final short ECHO_CLASS_CODE
boolean setSetValueOfRoomRelativeHumidity(byte[] edt)
byte[] getSetValueOfRoomRelativeHumidity()
byte[] getHeatExchangerOperationSetting()
byte[] getMeasuredValueOfRoomRelativeHumidity()
boolean isValidSetValueOfVentilationAirFlowRate(byte[] edt)
static final byte EPC_OPERATION_STATUS
byte[] getStandardVersionInformation()
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
static Informer informG(byte instanceCode)
boolean isValidMeasuredValueOfRoomRelativeHumidity(byte[] edt)
final boolean isSelfObject()
synchronized boolean isValidProperty(EchoProperty property)
synchronized boolean setProperty(EchoProperty property)
byte[] getMeasuredValueOfCo2Concentration()
boolean setSetValueOfVentilationAirFlowRate(byte[] edt)