16 package com.sonycsl.echo.eoj.device.airconditioner;
47 super.setupPropertyMaps();
59 Echo.getEventListener().onNewFanHeater(
this);
186 if(edt == null || !(edt.length == 1))
return false;
235 if(edt == null || !(edt.length == 1))
return false;
307 if(edt == null || !(edt.length == 1))
return false;
382 if(edt == null || !(edt.length == 1))
return false;
454 if(edt == null || !(edt.length == 2))
return false;
526 if(edt == null || !(edt.length == 2))
return false;
601 if(edt == null || !(edt.length == 1))
return false;
673 if(edt == null || !(edt.length == 2))
return false;
745 if(edt == null || !(edt.length == 2))
return false;
817 if(edt == null || !(edt.length == 1))
return false;
889 if(edt == null || !(edt.length == 2))
return false;
961 if(edt == null || !(edt.length == 1))
return false;
1010 if(edt == null || !(edt.length == 1))
return false;
1061 if(edt == null || !(edt.length == 1))
return false;
1067 boolean success = super.setProperty(property);
1068 if(success)
return success;
1070 switch(property.
epc) {
1082 default :
return false;
1088 byte[] edt = super.getProperty(epc);
1089 if(edt != null)
return edt;
1106 default :
return null;
1112 boolean valid = super.isValidProperty(property);
1113 if(valid)
return valid;
1115 switch(property.
epc) {
1130 default :
return false;
1140 public Setter
set(
boolean responseRequired) {
1142 ,
getNode().getAddressStr(), responseRequired);
1146 public Getter
get() {
1157 protected Informer
inform(
boolean multicast) {
1162 address =
getNode().getAddressStr();
1168 public static class Receiver
extends DeviceObject.Receiver {
1171 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
1173 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
1174 if(ret)
return true;
1176 switch(property.epc) {
1178 onSetTemperatureSettingValue(eoj, tid, esv, property, success);
1181 onSetAutomaticTemperatureControlSetting(eoj, tid, esv, property, success);
1184 onSetOnTimerReservationSetting(eoj, tid, esv, property, success);
1187 onSetOnTimerSettingValueTime(eoj, tid, esv, property, success);
1190 onSetOnTimerSettingValueRelativeTime(eoj, tid, esv, property, success);
1193 onSetOffTimerReservationSetting(eoj, tid, esv, property, success);
1196 onSetOffTimerSettingValueTime(eoj, tid, esv, property, success);
1199 onSetOffTimerValueRelativeTime(eoj, tid, esv, property, success);
1202 onSetExtentionalOperationSetting(eoj, tid, esv, property, success);
1205 onSetExtentionalOperationTimerTimeSettingValue(eoj, tid, esv, property, success);
1208 onSetIonEmissionSetting(eoj, tid, esv, property, success);
1216 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
1218 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
1219 if(ret)
return true;
1221 switch(property.epc) {
1223 onGetTemperatureSettingValue(eoj, tid, esv, property, success);
1226 onGetMeasuredTemperature(eoj, tid, esv, property, success);
1229 onGetAutomaticTemperatureControlSetting(eoj, tid, esv, property, success);
1232 onGetOnTimerReservationSetting(eoj, tid, esv, property, success);
1235 onGetOnTimerSettingValueTime(eoj, tid, esv, property, success);
1238 onGetOnTimerSettingValueRelativeTime(eoj, tid, esv, property, success);
1241 onGetOffTimerReservationSetting(eoj, tid, esv, property, success);
1244 onGetOffTimerSettingValueTime(eoj, tid, esv, property, success);
1247 onGetOffTimerValueRelativeTime(eoj, tid, esv, property, success);
1250 onGetExtentionalOperationSetting(eoj, tid, esv, property, success);
1253 onGetExtentionalOperationTimerTimeSettingValue(eoj, tid, esv, property, success);
1256 onGetIonEmissionSetting(eoj, tid, esv, property, success);
1259 onGetImplementedIonEmissionMethod(eoj, tid, esv, property, success);
1262 onGetOilAmountLevel(eoj, tid, esv, property, success);
1291 protected void onSetTemperatureSettingValue(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1314 protected void onGetTemperatureSettingValue(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1337 protected void onGetMeasuredTemperature(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1360 protected void onSetAutomaticTemperatureControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1383 protected void onGetAutomaticTemperatureControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1407 protected void onSetOnTimerReservationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1431 protected void onGetOnTimerReservationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1454 protected void onSetOnTimerSettingValueTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1477 protected void onGetOnTimerSettingValueTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1500 protected void onSetOnTimerSettingValueRelativeTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1523 protected void onGetOnTimerSettingValueRelativeTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1547 protected void onSetOffTimerReservationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1571 protected void onGetOffTimerReservationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1594 protected void onSetOffTimerSettingValueTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1617 protected void onGetOffTimerSettingValueTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1640 protected void onSetOffTimerValueRelativeTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1663 protected void onGetOffTimerValueRelativeTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1686 protected void onSetExtentionalOperationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1709 protected void onGetExtentionalOperationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1732 protected void onSetExtentionalOperationTimerTimeSettingValue(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1755 protected void onGetExtentionalOperationTimerTimeSettingValue(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1778 protected void onSetIonEmissionSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1801 protected void onGetIonEmissionSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1824 protected void onGetImplementedIonEmissionMethod(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1848 protected void onGetOilAmountLevel(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1851 public static class Setter
extends DeviceObject.Setter {
1852 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
1853 , String dstEchoAddress,
boolean responseRequired) {
1854 super(dstEchoClassCode, dstEchoInstanceCode
1855 , dstEchoAddress, responseRequired);
1859 public Setter reqSetProperty(byte epc, byte[] edt) {
1860 return (Setter)super.reqSetProperty(epc, edt);
1864 public Setter reqSetOperationStatus(byte[] edt) {
1865 return (Setter)super.reqSetOperationStatus(edt);
1868 public Setter reqSetInstallationLocation(byte[] edt) {
1869 return (Setter)super.reqSetInstallationLocation(edt);
1872 public Setter reqSetCurrentLimitSetting(byte[] edt) {
1873 return (Setter)super.reqSetCurrentLimitSetting(edt);
1876 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
1877 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
1880 public Setter reqSetRemoteControlSetting(byte[] edt) {
1881 return (Setter)super.reqSetRemoteControlSetting(edt);
1884 public Setter reqSetCurrentTimeSetting(byte[] edt) {
1885 return (Setter)super.reqSetCurrentTimeSetting(edt);
1888 public Setter reqSetCurrentDateSetting(byte[] edt) {
1889 return (Setter)super.reqSetCurrentDateSetting(edt);
1892 public Setter reqSetPowerLimitSetting(byte[] edt) {
1893 return (Setter)super.reqSetPowerLimitSetting(edt);
1918 public Setter reqSetTemperatureSettingValue(byte[] edt) {
1944 public Setter reqSetAutomaticTemperatureControlSetting(byte[] edt) {
1971 public Setter reqSetOnTimerReservationSetting(byte[] edt) {
1997 public Setter reqSetOnTimerSettingValueTime(byte[] edt) {
2023 public Setter reqSetOnTimerSettingValueRelativeTime(byte[] edt) {
2050 public Setter reqSetOffTimerReservationSetting(byte[] edt) {
2076 public Setter reqSetOffTimerSettingValueTime(byte[] edt) {
2102 public Setter reqSetOffTimerValueRelativeTime(byte[] edt) {
2128 public Setter reqSetExtentionalOperationSetting(byte[] edt) {
2154 public Setter reqSetExtentionalOperationTimerTimeSettingValue(byte[] edt) {
2180 public Setter reqSetIonEmissionSetting(byte[] edt) {
2186 public static class Getter
extends DeviceObject.Getter {
2187 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
2188 , String dstEchoAddress) {
2189 super(dstEchoClassCode, dstEchoInstanceCode
2194 public Getter reqGetProperty(byte epc) {
2195 return (Getter)super.reqGetProperty(epc);
2199 public Getter reqGetOperationStatus() {
2200 return (Getter)super.reqGetOperationStatus();
2203 public Getter reqGetInstallationLocation() {
2204 return (Getter)super.reqGetInstallationLocation();
2207 public Getter reqGetStandardVersionInformation() {
2208 return (Getter)super.reqGetStandardVersionInformation();
2211 public Getter reqGetIdentificationNumber() {
2212 return (Getter)super.reqGetIdentificationNumber();
2215 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
2216 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
2219 public Getter reqGetMeasuredCumulativePowerConsumption() {
2220 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
2223 public Getter reqGetManufacturersFaultCode() {
2224 return (Getter)super.reqGetManufacturersFaultCode();
2227 public Getter reqGetCurrentLimitSetting() {
2228 return (Getter)super.reqGetCurrentLimitSetting();
2231 public Getter reqGetFaultStatus() {
2232 return (Getter)super.reqGetFaultStatus();
2235 public Getter reqGetFaultDescription() {
2236 return (Getter)super.reqGetFaultDescription();
2239 public Getter reqGetManufacturerCode() {
2240 return (Getter)super.reqGetManufacturerCode();
2243 public Getter reqGetBusinessFacilityCode() {
2244 return (Getter)super.reqGetBusinessFacilityCode();
2247 public Getter reqGetProductCode() {
2248 return (Getter)super.reqGetProductCode();
2251 public Getter reqGetProductionNumber() {
2252 return (Getter)super.reqGetProductionNumber();
2255 public Getter reqGetProductionDate() {
2256 return (Getter)super.reqGetProductionDate();
2259 public Getter reqGetPowerSavingOperationSetting() {
2260 return (Getter)super.reqGetPowerSavingOperationSetting();
2263 public Getter reqGetRemoteControlSetting() {
2264 return (Getter)super.reqGetRemoteControlSetting();
2267 public Getter reqGetCurrentTimeSetting() {
2268 return (Getter)super.reqGetCurrentTimeSetting();
2271 public Getter reqGetCurrentDateSetting() {
2272 return (Getter)super.reqGetCurrentDateSetting();
2275 public Getter reqGetPowerLimitSetting() {
2276 return (Getter)super.reqGetPowerLimitSetting();
2279 public Getter reqGetCumulativeOperatingTime() {
2280 return (Getter)super.reqGetCumulativeOperatingTime();
2283 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
2284 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
2287 public Getter reqGetSetPropertyMap() {
2288 return (Getter)super.reqGetSetPropertyMap();
2291 public Getter reqGetGetPropertyMap() {
2292 return (Getter)super.reqGetGetPropertyMap();
2317 public Getter reqGetTemperatureSettingValue() {
2343 public Getter reqGetMeasuredTemperature() {
2369 public Getter reqGetAutomaticTemperatureControlSetting() {
2396 public Getter reqGetOnTimerReservationSetting() {
2422 public Getter reqGetOnTimerSettingValueTime() {
2448 public Getter reqGetOnTimerSettingValueRelativeTime() {
2475 public Getter reqGetOffTimerReservationSetting() {
2501 public Getter reqGetOffTimerSettingValueTime() {
2527 public Getter reqGetOffTimerValueRelativeTime() {
2553 public Getter reqGetExtentionalOperationSetting() {
2579 public Getter reqGetExtentionalOperationTimerTimeSettingValue() {
2605 public Getter reqGetIonEmissionSetting() {
2631 public Getter reqGetImplementedIonEmissionMethod() {
2658 public Getter reqGetOilAmountLevel() {
2664 public static class Informer
extends DeviceObject.Informer {
2665 public Informer(
short echoClassCode, byte echoInstanceCode
2667 super(echoClassCode, echoInstanceCode
2668 , dstEchoAddress, isSelfObject);
2672 public Informer reqInformProperty(byte epc) {
2673 return (Informer)super.reqInformProperty(epc);
2676 public Informer reqInformOperationStatus() {
2677 return (Informer)super.reqInformOperationStatus();
2680 public Informer reqInformInstallationLocation() {
2681 return (Informer)super.reqInformInstallationLocation();
2684 public Informer reqInformStandardVersionInformation() {
2685 return (Informer)super.reqInformStandardVersionInformation();
2688 public Informer reqInformIdentificationNumber() {
2689 return (Informer)super.reqInformIdentificationNumber();
2692 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
2693 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
2696 public Informer reqInformMeasuredCumulativePowerConsumption() {
2697 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
2700 public Informer reqInformManufacturersFaultCode() {
2701 return (Informer)super.reqInformManufacturersFaultCode();
2704 public Informer reqInformCurrentLimitSetting() {
2705 return (Informer)super.reqInformCurrentLimitSetting();
2708 public Informer reqInformFaultStatus() {
2709 return (Informer)super.reqInformFaultStatus();
2712 public Informer reqInformFaultDescription() {
2713 return (Informer)super.reqInformFaultDescription();
2716 public Informer reqInformManufacturerCode() {
2717 return (Informer)super.reqInformManufacturerCode();
2720 public Informer reqInformBusinessFacilityCode() {
2721 return (Informer)super.reqInformBusinessFacilityCode();
2724 public Informer reqInformProductCode() {
2725 return (Informer)super.reqInformProductCode();
2728 public Informer reqInformProductionNumber() {
2729 return (Informer)super.reqInformProductionNumber();
2732 public Informer reqInformProductionDate() {
2733 return (Informer)super.reqInformProductionDate();
2736 public Informer reqInformPowerSavingOperationSetting() {
2737 return (Informer)super.reqInformPowerSavingOperationSetting();
2740 public Informer reqInformRemoteControlSetting() {
2741 return (Informer)super.reqInformRemoteControlSetting();
2744 public Informer reqInformCurrentTimeSetting() {
2745 return (Informer)super.reqInformCurrentTimeSetting();
2748 public Informer reqInformCurrentDateSetting() {
2749 return (Informer)super.reqInformCurrentDateSetting();
2752 public Informer reqInformPowerLimitSetting() {
2753 return (Informer)super.reqInformPowerLimitSetting();
2756 public Informer reqInformCumulativeOperatingTime() {
2757 return (Informer)super.reqInformCumulativeOperatingTime();
2760 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
2761 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
2764 public Informer reqInformSetPropertyMap() {
2765 return (Informer)super.reqInformSetPropertyMap();
2768 public Informer reqInformGetPropertyMap() {
2769 return (Informer)super.reqInformGetPropertyMap();
2794 public Informer reqInformTemperatureSettingValue() {
2820 public Informer reqInformMeasuredTemperature() {
2846 public Informer reqInformAutomaticTemperatureControlSetting() {
2873 public Informer reqInformOnTimerReservationSetting() {
2899 public Informer reqInformOnTimerSettingValueTime() {
2925 public Informer reqInformOnTimerSettingValueRelativeTime() {
2952 public Informer reqInformOffTimerReservationSetting() {
2978 public Informer reqInformOffTimerSettingValueTime() {
3004 public Informer reqInformOffTimerValueRelativeTime() {
3030 public Informer reqInformExtentionalOperationSetting() {
3056 public Informer reqInformExtentionalOperationTimerTimeSettingValue() {
3082 public Informer reqInformIonEmissionSetting() {
3108 public Informer reqInformImplementedIonEmissionMethod() {
3135 public Informer reqInformOilAmountLevel() {
3141 public static class Proxy
extends FanHeater {
3142 public Proxy(byte instanceCode) {
3171 return setG((byte)0);
3174 public static Setter
setG(byte instanceCode) {
3175 return setG(instanceCode,
true);
3178 public static Setter
setG(
boolean responseRequired) {
3179 return setG((byte)0, responseRequired);
3182 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
3188 return getG((byte)0);
3191 public static Getter
getG(byte instanceCode) {
3200 public static Informer
informG(byte instanceCode) {
static final byte EPC_EXTENTIONAL_OPERATION_SETTING
static Setter setG(boolean responseRequired)
byte[] getOilAmountLevel()
boolean isValidOnTimerSettingValueRelativeTime(byte[] edt)
byte[] getOnTimerReservationSetting()
abstract boolean setTemperatureSettingValue(byte[] edt)
static final byte EPC_ON_TIMER_SETTING_VALUE_TIME
boolean setAutomaticTemperatureControlSetting(byte[] edt)
static final short ECHO_CLASS_CODE
boolean isValidImplementedIonEmissionMethod(byte[] edt)
boolean isValidOnTimerSettingValueTime(byte[] edt)
synchronized boolean isValidProperty(EchoProperty property)
static final byte EPC_OIL_AMOUNT_LEVEL
static final byte EPC_OFF_TIMER_VALUE_RELATIVE_TIME
static Setter setG(byte instanceCode, boolean responseRequired)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
static final byte EPC_ON_TIMER_RESERVATION_SETTING
synchronized byte[] getProperty(byte epc)
abstract boolean setOperationStatus(byte[] edt)
static final byte EPC_OFF_TIMER_RESERVATION_SETTING
final void addGetProperty(byte epc)
byte[] getIonEmissionSetting()
static final byte EPC_ON_TIMER_SETTING_VALUE_RELATIVE_TIME
boolean isValidExtentionalOperationSetting(byte[] edt)
boolean setOffTimerSettingValueTime(byte[] edt)
byte[] getImplementedIonEmissionMethod()
static Getter getG(byte instanceCode)
Setter set(boolean responseRequired)
static final byte EPC_IMPLEMENTED_ION_EMISSION_METHOD
static final byte EPC_AUTOMATIC_TEMPERATURE_CONTROL_SETTING
byte[] getOffTimerValueRelativeTime()
boolean setOffTimerReservationSetting(byte[] edt)
boolean setExtentionalOperationSetting(byte[] edt)
boolean setIonEmissionSetting(byte[] edt)
final void addSetProperty(byte epc)
boolean isValidIonEmissionSetting(byte[] edt)
byte[] getOffTimerSettingValueTime()
byte[] getMeasuredTemperature()
abstract byte[] getOperationStatus()
abstract byte[] getFaultStatus()
static Informer informG()
boolean isValidMeasuredTemperature(byte[] edt)
static final byte EPC_ION_EMISSION_SETTING
boolean setOffTimerValueRelativeTime(byte[] edt)
boolean isValidOilAmountLevel(byte[] edt)
boolean setOnTimerReservationSetting(byte[] edt)
boolean isValidTemperatureSettingValue(byte[] edt)
static final byte EPC_TEMPERATURE_SETTING_VALUE
byte[] getExtentionalOperationSetting()
byte[] getOnTimerSettingValueTime()
boolean isValidExtentionalOperationTimerTimeSettingValue(byte[] edt)
boolean isValidOffTimerReservationSetting(byte[] edt)
boolean setExtentionalOperationTimerTimeSettingValue(byte[] edt)
static final byte EPC_OFF_TIMER_SETTING_VALUE_TIME
abstract byte[] getManufacturerCode()
byte[] getOffTimerReservationSetting()
Informer inform(boolean multicast)
abstract byte[] getTemperatureSettingValue()
byte[] getExtentionalOperationTimerTimeSettingValue()
boolean isValidOffTimerValueRelativeTime(byte[] edt)
synchronized boolean setProperty(EchoProperty property)
static final byte EPC_EXTENTIONAL_OPERATION_TIMER_TIME_SETTING_VALUE
static final byte EPC_OPERATION_STATUS
byte[] getStandardVersionInformation()
boolean isValidOffTimerSettingValueTime(byte[] edt)
static Informer informG(byte instanceCode)
boolean isValidOnTimerReservationSetting(byte[] edt)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
static final byte EPC_MEASURED_TEMPERATURE
boolean isValidAutomaticTemperatureControlSetting(byte[] edt)
static Setter setG(byte instanceCode)
boolean setOnTimerSettingValueRelativeTime(byte[] edt)
byte[] getOnTimerSettingValueRelativeTime()
final boolean isSelfObject()
boolean setOnTimerSettingValueTime(byte[] edt)
byte[] getAutomaticTemperatureControlSetting()