OpenECHO
 All Classes Namespaces Files Functions Variables
HomeAirConditioner.java
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Sony Computer Science Laboratories, Inc. <info@kadecot.net>
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package com.sonycsl.echo.eoj.device.airconditioner;
17 
25 
26 public abstract class HomeAirConditioner extends DeviceObject {
27 
28  public static final short ECHO_CLASS_CODE = (short)0x0130;
29 
30  public static final byte EPC_OPERATION_MODE_SETTING = (byte)0xB0;
31  public static final byte EPC_AUTOMATIC_TEMPERATURE_CONTROL_SETTING = (byte)0xB1;
32  public static final byte EPC_NORMAL_HIGH_SPEED_SILENT_OPERATION_SETTING = (byte)0xB2;
33  public static final byte EPC_SET_TEMPERATURE_VALUE = (byte)0xB3;
34  public static final byte EPC_SET_VALUE_OF_RELATIVE_HUMIDITY_IN_DEHUMIDIFYING_MODE = (byte)0xB4;
35  public static final byte EPC_SET_TEMPERATURE_VALUE_IN_COOLING_MODE = (byte)0xB5;
36  public static final byte EPC_SET_TEMPERATURE_VALUE_IN_HEATING_MODE = (byte)0xB6;
37  public static final byte EPC_SET_TEMPERATURE_VALUE_IN_DEHUMIDIFYING_MODE = (byte)0xB7;
38  public static final byte EPC_RATED_POWER_CONSUMPTION = (byte)0xB8;
39  public static final byte EPC_MEASURED_VALUE_OF_CURRENT_CONSUMPTION = (byte)0xB9;
40  public static final byte EPC_MEASURED_VALUE_OF_ROOM_RELATIVE_HUMIDITY = (byte)0xBA;
41  public static final byte EPC_MEASURED_VALUE_OF_ROOM_TEMPERATURE = (byte)0xBB;
42  public static final byte EPC_SET_TEMPERATURE_VALUE_OF_USER_REMOTE_CONTROL = (byte)0xBC;
43  public static final byte EPC_MEASURED_COOLED_AIR_TEMPERATURE = (byte)0xBD;
44  public static final byte EPC_MEASURED_OUTDOOR_AIR_TEMPERATURE = (byte)0xBE;
45  public static final byte EPC_RELATIVE_TEMPERATURE_SETTING = (byte)0xBF;
46  public static final byte EPC_AIR_FLOW_RATE_SETTING = (byte)0xA0;
47  public static final byte EPC_AUTOMATIC_CONTROL_OF_AIR_FLOW_DIRECTION_SETTING = (byte)0xA1;
48  public static final byte EPC_AUTOMATIC_SWING_OF_AIR_FLOW_SETTING = (byte)0xA3;
49  public static final byte EPC_AIR_FLOW_DIRECTION_VERTICAL_SETTING = (byte)0xA4;
50  public static final byte EPC_AIR_FLOW_DIRECTION_HORIZONTAL_SETTING = (byte)0xA5;
51  public static final byte EPC_SPECIAL_STATE = (byte)0xAA;
52  public static final byte EPC_NON_PRIORITY_STATE = (byte)0xAB;
53  public static final byte EPC_VENTILATION_FUNCTION_SETTING = (byte)0xC0;
54  public static final byte EPC_HUMIDIFIER_FUNCTION_SETTING = (byte)0xC1;
55  public static final byte EPC_VENTILATION_AIR_FLOW_RATE_SETTING = (byte)0xC2;
56  public static final byte EPC_DEGREE_OF_HUMIDIFICATION_SETTING = (byte)0xC4;
57  public static final byte EPC_MOUNTED_AIR_CLEANING_METHOD = (byte)0xC6;
58  public static final byte EPC_AIR_PURIFIER_FUNCTION_SETTING = (byte)0xC7;
59  public static final byte EPC_MOUNTED_AIR_REFRESH_METHOD = (byte)0xC8;
60  public static final byte EPC_AIR_REFRESHER_FUNCTION_SETTING = (byte)0xC9;
61  public static final byte EPC_MOUNTED_SELF_CLEANING_METHOD = (byte)0xCA;
62  public static final byte EPC_SELF_CLEANING_FUNCTION_SETTING = (byte)0xCB;
63  public static final byte EPC_SPECIAL_FUNCTION_SETTING = (byte)0xCC;
64  public static final byte EPC_OPERATION_STATUS_OF_COMPONENTS = (byte)0xCD;
65  public static final byte EPC_THERMOSTAT_SETTING_OVERRIDE_FUNCTION = (byte)0xCE;
66  public static final byte EPC_AIR_PURIFICATION_MODE_SETTING = (byte)0xCF;
67  public static final byte EPC_ON_TIMER_BASED_RESERVATION_SETTING = (byte)0x90;
68  public static final byte EPC_ON_TIMER_SETTING_TIME = (byte)0x91;
69  public static final byte EPC_ON_TIMER_SETTING_RELATIVE_TIME = (byte)0x92;
70  public static final byte EPC_OFF_TIMER_BASED_RESERVATION_SETTING = (byte)0x94;
71  public static final byte EPC_OFF_TIMER_SETTING_TIME = (byte)0x95;
72  public static final byte EPC_OFF_TIMER_SETTING_RELATIVE_TIME = (byte)0x96;
73 
74  @Override
75  protected void setupPropertyMaps() {
76  super.setupPropertyMaps();
77 
86  }
87 
88  @Override
89  public void onNew() {
90  super.onNew();
91  Echo.getEventListener().onNewHomeAirConditioner(this);
92  }
93 
94  @Override
95  public short getEchoClassCode() {
96  return ECHO_CLASS_CODE;
97  }
98 
123  protected abstract boolean setOperationStatus(byte[] edt);
148  protected abstract byte[] getOperationStatus();
176  protected abstract boolean setOperationModeSetting(byte[] edt);
204  protected abstract byte[] getOperationModeSetting();
232  protected boolean isValidOperationModeSetting(byte[] edt) {
233  if(edt == null || !(edt.length == 1)) return false;
234  return true;
235  }
258  protected boolean setAutomaticTemperatureControlSetting(byte[] edt) {return false;}
281  protected byte[] getAutomaticTemperatureControlSetting() {return null;}
304  protected boolean isValidAutomaticTemperatureControlSetting(byte[] edt) {
305  if(edt == null || !(edt.length == 1)) return false;
306  return true;
307  }
333  protected boolean setNormalHighSpeedSilentOperationSetting(byte[] edt) {return false;}
359  protected byte[] getNormalHighSpeedSilentOperationSetting() {return null;}
385  protected boolean isValidNormalHighSpeedSilentOperationSetting(byte[] edt) {
386  if(edt == null || !(edt.length == 1)) return false;
387  return true;
388  }
412  protected abstract boolean setSetTemperatureValue(byte[] edt);
436  protected abstract byte[] getSetTemperatureValue();
460  protected boolean isValidSetTemperatureValue(byte[] edt) {
461  if(edt == null || !(edt.length == 1)) return false;
462  return true;
463  }
486  protected boolean setSetValueOfRelativeHumidityInDehumidifyingMode(byte[] edt) {return false;}
509  protected byte[] getSetValueOfRelativeHumidityInDehumidifyingMode() {return null;}
533  if(edt == null || !(edt.length == 1)) return false;
534  return true;
535  }
558  protected boolean setSetTemperatureValueInCoolingMode(byte[] edt) {return false;}
581  protected byte[] getSetTemperatureValueInCoolingMode() {return null;}
604  protected boolean isValidSetTemperatureValueInCoolingMode(byte[] edt) {
605  if(edt == null || !(edt.length == 1)) return false;
606  return true;
607  }
630  protected boolean setSetTemperatureValueInHeatingMode(byte[] edt) {return false;}
653  protected byte[] getSetTemperatureValueInHeatingMode() {return null;}
676  protected boolean isValidSetTemperatureValueInHeatingMode(byte[] edt) {
677  if(edt == null || !(edt.length == 1)) return false;
678  return true;
679  }
702  protected boolean setSetTemperatureValueInDehumidifyingMode(byte[] edt) {return false;}
725  protected byte[] getSetTemperatureValueInDehumidifyingMode() {return null;}
748  protected boolean isValidSetTemperatureValueInDehumidifyingMode(byte[] edt) {
749  if(edt == null || !(edt.length == 1)) return false;
750  return true;
751  }
775  protected byte[] getRatedPowerConsumption() {return null;}
799  protected boolean isValidRatedPowerConsumption(byte[] edt) {
800  if(edt == null || !(edt.length == 8)) return false;
801  return true;
802  }
825  protected byte[] getMeasuredValueOfCurrentConsumption() {return null;}
848  protected boolean isValidMeasuredValueOfCurrentConsumption(byte[] edt) {
849  if(edt == null || !(edt.length == 2)) return false;
850  return true;
851  }
874  protected byte[] getMeasuredValueOfRoomRelativeHumidity() {return null;}
897  protected boolean isValidMeasuredValueOfRoomRelativeHumidity(byte[] edt) {
898  if(edt == null || !(edt.length == 1)) return false;
899  return true;
900  }
923  protected byte[] getMeasuredValueOfRoomTemperature() {return null;}
946  protected boolean isValidMeasuredValueOfRoomTemperature(byte[] edt) {
947  if(edt == null || !(edt.length == 1)) return false;
948  return true;
949  }
972  protected byte[] getSetTemperatureValueOfUserRemoteControl() {return null;}
995  protected boolean isValidSetTemperatureValueOfUserRemoteControl(byte[] edt) {
996  if(edt == null || !(edt.length == 1)) return false;
997  return true;
998  }
1021  protected byte[] getMeasuredCooledAirTemperature() {return null;}
1044  protected boolean isValidMeasuredCooledAirTemperature(byte[] edt) {
1045  if(edt == null || !(edt.length == 1)) return false;
1046  return true;
1047  }
1070  protected byte[] getMeasuredOutdoorAirTemperature() {return null;}
1093  protected boolean isValidMeasuredOutdoorAirTemperature(byte[] edt) {
1094  if(edt == null || !(edt.length == 1)) return false;
1095  return true;
1096  }
1120  protected boolean setRelativeTemperatureSetting(byte[] edt) {return false;}
1144  protected byte[] getRelativeTemperatureSetting() {return null;}
1168  protected boolean isValidRelativeTemperatureSetting(byte[] edt) {
1169  if(edt == null || !(edt.length == 1)) return false;
1170  return true;
1171  }
1195  protected boolean setAirFlowRateSetting(byte[] edt) {return false;}
1219  protected byte[] getAirFlowRateSetting() {return null;}
1243  protected boolean isValidAirFlowRateSetting(byte[] edt) {
1244  if(edt == null || !(edt.length == 1)) return false;
1245  return true;
1246  }
1269  protected boolean setAutomaticControlOfAirFlowDirectionSetting(byte[] edt) {return false;}
1292  protected byte[] getAutomaticControlOfAirFlowDirectionSetting() {return null;}
1316  if(edt == null || !(edt.length == 1)) return false;
1317  return true;
1318  }
1341  protected boolean setAutomaticSwingOfAirFlowSetting(byte[] edt) {return false;}
1364  protected byte[] getAutomaticSwingOfAirFlowSetting() {return null;}
1387  protected boolean isValidAutomaticSwingOfAirFlowSetting(byte[] edt) {
1388  if(edt == null || !(edt.length == 1)) return false;
1389  return true;
1390  }
1413  protected boolean setAirFlowDirectionVerticalSetting(byte[] edt) {return false;}
1436  protected byte[] getAirFlowDirectionVerticalSetting() {return null;}
1459  protected boolean isValidAirFlowDirectionVerticalSetting(byte[] edt) {
1460  if(edt == null || !(edt.length == 1)) return false;
1461  return true;
1462  }
1487  protected boolean setAirFlowDirectionHorizontalSetting(byte[] edt) {return false;}
1512  protected byte[] getAirFlowDirectionHorizontalSetting() {return null;}
1537  protected boolean isValidAirFlowDirectionHorizontalSetting(byte[] edt) {
1538  if(edt == null || !(edt.length == 1)) return false;
1539  return true;
1540  }
1564  protected byte[] getSpecialState() {return null;}
1588  protected boolean isValidSpecialState(byte[] edt) {
1589  if(edt == null || !(edt.length == 1)) return false;
1590  return true;
1591  }
1615  protected byte[] getNonPriorityState() {return null;}
1639  protected boolean isValidNonPriorityState(byte[] edt) {
1640  if(edt == null || !(edt.length == 1)) return false;
1641  return true;
1642  }
1665  protected boolean setVentilationFunctionSetting(byte[] edt) {return false;}
1688  protected byte[] getVentilationFunctionSetting() {return null;}
1711  protected boolean isValidVentilationFunctionSetting(byte[] edt) {
1712  if(edt == null || !(edt.length == 1)) return false;
1713  return true;
1714  }
1737  protected boolean setHumidifierFunctionSetting(byte[] edt) {return false;}
1760  protected byte[] getHumidifierFunctionSetting() {return null;}
1783  protected boolean isValidHumidifierFunctionSetting(byte[] edt) {
1784  if(edt == null || !(edt.length == 1)) return false;
1785  return true;
1786  }
1810  protected boolean setVentilationAirFlowRateSetting(byte[] edt) {return false;}
1834  protected byte[] getVentilationAirFlowRateSetting() {return null;}
1858  protected boolean isValidVentilationAirFlowRateSetting(byte[] edt) {
1859  if(edt == null || !(edt.length == 1)) return false;
1860  return true;
1861  }
1885  protected boolean setDegreeOfHumidificationSetting(byte[] edt) {return false;}
1909  protected byte[] getDegreeOfHumidificationSetting() {return null;}
1933  protected boolean isValidDegreeOfHumidificationSetting(byte[] edt) {
1934  if(edt == null || !(edt.length == 1)) return false;
1935  return true;
1936  }
1962  protected byte[] getMountedAirCleaningMethod() {return null;}
1988  protected boolean isValidMountedAirCleaningMethod(byte[] edt) {
1989  if(edt == null || !(edt.length == 1)) return false;
1990  return true;
1991  }
2017  protected boolean setAirPurifierFunctionSetting(byte[] edt) {return false;}
2043  protected byte[] getAirPurifierFunctionSetting() {return null;}
2069  protected boolean isValidAirPurifierFunctionSetting(byte[] edt) {
2070  if(edt == null || !(edt.length == 1)) return false;
2071  return true;
2072  }
2098  protected byte[] getMountedAirRefreshMethod() {return null;}
2124  protected boolean isValidMountedAirRefreshMethod(byte[] edt) {
2125  if(edt == null || !(edt.length == 1)) return false;
2126  return true;
2127  }
2153  protected boolean setAirRefresherFunctionSetting(byte[] edt) {return false;}
2179  protected byte[] getAirRefresherFunctionSetting() {return null;}
2205  protected boolean isValidAirRefresherFunctionSetting(byte[] edt) {
2206  if(edt == null || !(edt.length == 1)) return false;
2207  return true;
2208  }
2234  protected byte[] getMountedSelfCleaningMethod() {return null;}
2260  protected boolean isValidMountedSelfCleaningMethod(byte[] edt) {
2261  if(edt == null || !(edt.length == 1)) return false;
2262  return true;
2263  }
2292  protected boolean setSelfCleaningFunctionSetting(byte[] edt) {return false;}
2321  protected byte[] getSelfCleaningFunctionSetting() {return null;}
2350  protected boolean isValidSelfCleaningFunctionSetting(byte[] edt) {
2351  if(edt == null || !(edt.length == 1)) return false;
2352  return true;
2353  }
2377  protected boolean setSpecialFunctionSetting(byte[] edt) {return false;}
2401  protected byte[] getSpecialFunctionSetting() {return null;}
2425  protected boolean isValidSpecialFunctionSetting(byte[] edt) {
2426  if(edt == null || !(edt.length == 1)) return false;
2427  return true;
2428  }
2456  protected byte[] getOperationStatusOfComponents() {return null;}
2484  protected boolean isValidOperationStatusOfComponents(byte[] edt) {
2485  if(edt == null || !(edt.length == 1)) return false;
2486  return true;
2487  }
2510  protected boolean setThermostatSettingOverrideFunction(byte[] edt) {return false;}
2533  protected boolean isValidThermostatSettingOverrideFunction(byte[] edt) {
2534  if(edt == null || !(edt.length == 1)) return false;
2535  return true;
2536  }
2559  protected boolean setAirPurificationModeSetting(byte[] edt) {return false;}
2582  protected byte[] getAirPurificationModeSetting() {return null;}
2605  protected boolean isValidAirPurificationModeSetting(byte[] edt) {
2606  if(edt == null || !(edt.length == 1)) return false;
2607  return true;
2608  }
2631  protected boolean setOnTimerBasedReservationSetting(byte[] edt) {return false;}
2654  protected byte[] getOnTimerBasedReservationSetting() {return null;}
2677  protected boolean isValidOnTimerBasedReservationSetting(byte[] edt) {
2678  if(edt == null || !(edt.length == 1)) return false;
2679  return true;
2680  }
2705  protected boolean setOnTimerSettingTime(byte[] edt) {return false;}
2730  protected byte[] getOnTimerSettingTime() {return null;}
2755  protected boolean isValidOnTimerSettingTime(byte[] edt) {
2756  if(edt == null || !(edt.length == 2)) return false;
2757  return true;
2758  }
2782  protected boolean setOnTimerSettingRelativeTime(byte[] edt) {return false;}
2806  protected byte[] getOnTimerSettingRelativeTime() {return null;}
2830  protected boolean isValidOnTimerSettingRelativeTime(byte[] edt) {
2831  if(edt == null || !(edt.length == 2)) return false;
2832  return true;
2833  }
2856  protected boolean setOffTimerBasedReservationSetting(byte[] edt) {return false;}
2879  protected byte[] getOffTimerBasedReservationSetting() {return null;}
2902  protected boolean isValidOffTimerBasedReservationSetting(byte[] edt) {
2903  if(edt == null || !(edt.length == 1)) return false;
2904  return true;
2905  }
2931  protected boolean setOffTimerSettingTime(byte[] edt) {return false;}
2957  protected byte[] getOffTimerSettingTime() {return null;}
2983  protected boolean isValidOffTimerSettingTime(byte[] edt) {
2984  if(edt == null || !(edt.length == 2)) return false;
2985  return true;
2986  }
3010  protected boolean setOffTimerSettingRelativeTime(byte[] edt) {return false;}
3034  protected byte[] getOffTimerSettingRelativeTime() {return null;}
3058  protected boolean isValidOffTimerSettingRelativeTime(byte[] edt) {
3059  if(edt == null || !(edt.length == 2)) return false;
3060  return true;
3061  }
3062 
3063  @Override
3064  protected synchronized boolean setProperty(EchoProperty property) {
3065  boolean success = super.setProperty(property);
3066  if(success) return success;
3067 
3068  switch(property.epc) {
3069  case EPC_OPERATION_MODE_SETTING : return setOperationModeSetting(property.edt);
3072  case EPC_SET_TEMPERATURE_VALUE : return setSetTemperatureValue(property.edt);
3078  case EPC_AIR_FLOW_RATE_SETTING : return setAirFlowRateSetting(property.edt);
3094  case EPC_ON_TIMER_SETTING_TIME : return setOnTimerSettingTime(property.edt);
3097  case EPC_OFF_TIMER_SETTING_TIME : return setOffTimerSettingTime(property.edt);
3099  default : return false;
3100  }
3101  }
3102 
3103  @Override
3104  protected synchronized byte[] getProperty(byte epc) {
3105  byte[] edt = super.getProperty(epc);
3106  if(edt != null) return edt;
3107 
3108  switch(epc) {
3130  case EPC_SPECIAL_STATE : return getSpecialState();
3151  default : return null;
3152  }
3153  }
3154 
3155  @Override
3156  protected synchronized boolean isValidProperty(EchoProperty property) {
3157  boolean valid = super.isValidProperty(property);
3158  if(valid) return valid;
3159 
3160  switch(property.epc) {
3182  case EPC_SPECIAL_STATE : return isValidSpecialState(property.edt);
3183  case EPC_NON_PRIORITY_STATE : return isValidNonPriorityState(property.edt);
3204  default : return false;
3205  }
3206  }
3207 
3208  @Override
3209  public Setter set() {
3210  return set(true);
3211  }
3212 
3213  @Override
3214  public Setter set(boolean responseRequired) {
3215  return new Setter(getEchoClassCode(), getInstanceCode()
3216  , getNode().getAddressStr(), responseRequired);
3217  }
3218 
3219  @Override
3220  public Getter get() {
3221  return new Getter(getEchoClassCode(), getInstanceCode()
3222  , getNode().getAddressStr());
3223  }
3224 
3225  @Override
3226  public Informer inform() {
3227  return inform(isSelfObject());
3228  }
3229 
3230  @Override
3231  protected Informer inform(boolean multicast) {
3232  String address;
3233  if(multicast) {
3234  address = EchoSocket.MULTICAST_ADDRESS;
3235  } else {
3236  address = getNode().getAddressStr();
3237  }
3238  return new Informer(getEchoClassCode(), getInstanceCode()
3239  , address, isSelfObject());
3240  }
3241 
3242  public static class Receiver extends DeviceObject.Receiver {
3243 
3244  @Override
3245  protected boolean onSetProperty(EchoObject eoj, short tid, byte esv,
3246  EchoProperty property, boolean success) {
3247  boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
3248  if(ret) return true;
3249 
3250  switch(property.epc) {
3252  onSetOperationModeSetting(eoj, tid, esv, property, success);
3253  return true;
3255  onSetAutomaticTemperatureControlSetting(eoj, tid, esv, property, success);
3256  return true;
3258  onSetNormalHighSpeedSilentOperationSetting(eoj, tid, esv, property, success);
3259  return true;
3261  onSetSetTemperatureValue(eoj, tid, esv, property, success);
3262  return true;
3264  onSetSetValueOfRelativeHumidityInDehumidifyingMode(eoj, tid, esv, property, success);
3265  return true;
3267  onSetSetTemperatureValueInCoolingMode(eoj, tid, esv, property, success);
3268  return true;
3270  onSetSetTemperatureValueInHeatingMode(eoj, tid, esv, property, success);
3271  return true;
3273  onSetSetTemperatureValueInDehumidifyingMode(eoj, tid, esv, property, success);
3274  return true;
3276  onSetRelativeTemperatureSetting(eoj, tid, esv, property, success);
3277  return true;
3279  onSetAirFlowRateSetting(eoj, tid, esv, property, success);
3280  return true;
3282  onSetAutomaticControlOfAirFlowDirectionSetting(eoj, tid, esv, property, success);
3283  return true;
3285  onSetAutomaticSwingOfAirFlowSetting(eoj, tid, esv, property, success);
3286  return true;
3288  onSetAirFlowDirectionVerticalSetting(eoj, tid, esv, property, success);
3289  return true;
3291  onSetAirFlowDirectionHorizontalSetting(eoj, tid, esv, property, success);
3292  return true;
3294  onSetVentilationFunctionSetting(eoj, tid, esv, property, success);
3295  return true;
3297  onSetHumidifierFunctionSetting(eoj, tid, esv, property, success);
3298  return true;
3300  onSetVentilationAirFlowRateSetting(eoj, tid, esv, property, success);
3301  return true;
3303  onSetDegreeOfHumidificationSetting(eoj, tid, esv, property, success);
3304  return true;
3306  onSetAirPurifierFunctionSetting(eoj, tid, esv, property, success);
3307  return true;
3309  onSetAirRefresherFunctionSetting(eoj, tid, esv, property, success);
3310  return true;
3312  onSetSelfCleaningFunctionSetting(eoj, tid, esv, property, success);
3313  return true;
3315  onSetSpecialFunctionSetting(eoj, tid, esv, property, success);
3316  return true;
3318  onSetThermostatSettingOverrideFunction(eoj, tid, esv, property, success);
3319  return true;
3321  onSetAirPurificationModeSetting(eoj, tid, esv, property, success);
3322  return true;
3324  onSetOnTimerBasedReservationSetting(eoj, tid, esv, property, success);
3325  return true;
3327  onSetOnTimerSettingTime(eoj, tid, esv, property, success);
3328  return true;
3330  onSetOnTimerSettingRelativeTime(eoj, tid, esv, property, success);
3331  return true;
3333  onSetOffTimerBasedReservationSetting(eoj, tid, esv, property, success);
3334  return true;
3336  onSetOffTimerSettingTime(eoj, tid, esv, property, success);
3337  return true;
3339  onSetOffTimerSettingRelativeTime(eoj, tid, esv, property, success);
3340  return true;
3341  default :
3342  return false;
3343  }
3344  }
3345 
3346  @Override
3347  protected boolean onGetProperty(EchoObject eoj, short tid, byte esv,
3348  EchoProperty property, boolean success) {
3349  boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
3350  if(ret) return true;
3351 
3352  switch(property.epc) {
3354  onGetOperationModeSetting(eoj, tid, esv, property, success);
3355  return true;
3357  onGetAutomaticTemperatureControlSetting(eoj, tid, esv, property, success);
3358  return true;
3360  onGetNormalHighSpeedSilentOperationSetting(eoj, tid, esv, property, success);
3361  return true;
3363  onGetSetTemperatureValue(eoj, tid, esv, property, success);
3364  return true;
3366  onGetSetValueOfRelativeHumidityInDehumidifyingMode(eoj, tid, esv, property, success);
3367  return true;
3369  onGetSetTemperatureValueInCoolingMode(eoj, tid, esv, property, success);
3370  return true;
3372  onGetSetTemperatureValueInHeatingMode(eoj, tid, esv, property, success);
3373  return true;
3375  onGetSetTemperatureValueInDehumidifyingMode(eoj, tid, esv, property, success);
3376  return true;
3378  onGetRatedPowerConsumption(eoj, tid, esv, property, success);
3379  return true;
3381  onGetMeasuredValueOfCurrentConsumption(eoj, tid, esv, property, success);
3382  return true;
3384  onGetMeasuredValueOfRoomRelativeHumidity(eoj, tid, esv, property, success);
3385  return true;
3387  onGetMeasuredValueOfRoomTemperature(eoj, tid, esv, property, success);
3388  return true;
3390  onGetSetTemperatureValueOfUserRemoteControl(eoj, tid, esv, property, success);
3391  return true;
3393  onGetMeasuredCooledAirTemperature(eoj, tid, esv, property, success);
3394  return true;
3396  onGetMeasuredOutdoorAirTemperature(eoj, tid, esv, property, success);
3397  return true;
3399  onGetRelativeTemperatureSetting(eoj, tid, esv, property, success);
3400  return true;
3402  onGetAirFlowRateSetting(eoj, tid, esv, property, success);
3403  return true;
3405  onGetAutomaticControlOfAirFlowDirectionSetting(eoj, tid, esv, property, success);
3406  return true;
3408  onGetAutomaticSwingOfAirFlowSetting(eoj, tid, esv, property, success);
3409  return true;
3411  onGetAirFlowDirectionVerticalSetting(eoj, tid, esv, property, success);
3412  return true;
3414  onGetAirFlowDirectionHorizontalSetting(eoj, tid, esv, property, success);
3415  return true;
3416  case EPC_SPECIAL_STATE :
3417  onGetSpecialState(eoj, tid, esv, property, success);
3418  return true;
3419  case EPC_NON_PRIORITY_STATE :
3420  onGetNonPriorityState(eoj, tid, esv, property, success);
3421  return true;
3423  onGetVentilationFunctionSetting(eoj, tid, esv, property, success);
3424  return true;
3426  onGetHumidifierFunctionSetting(eoj, tid, esv, property, success);
3427  return true;
3429  onGetVentilationAirFlowRateSetting(eoj, tid, esv, property, success);
3430  return true;
3432  onGetDegreeOfHumidificationSetting(eoj, tid, esv, property, success);
3433  return true;
3435  onGetMountedAirCleaningMethod(eoj, tid, esv, property, success);
3436  return true;
3438  onGetAirPurifierFunctionSetting(eoj, tid, esv, property, success);
3439  return true;
3441  onGetMountedAirRefreshMethod(eoj, tid, esv, property, success);
3442  return true;
3444  onGetAirRefresherFunctionSetting(eoj, tid, esv, property, success);
3445  return true;
3447  onGetMountedSelfCleaningMethod(eoj, tid, esv, property, success);
3448  return true;
3450  onGetSelfCleaningFunctionSetting(eoj, tid, esv, property, success);
3451  return true;
3453  onGetSpecialFunctionSetting(eoj, tid, esv, property, success);
3454  return true;
3456  onGetOperationStatusOfComponents(eoj, tid, esv, property, success);
3457  return true;
3459  onGetAirPurificationModeSetting(eoj, tid, esv, property, success);
3460  return true;
3462  onGetOnTimerBasedReservationSetting(eoj, tid, esv, property, success);
3463  return true;
3465  onGetOnTimerSettingTime(eoj, tid, esv, property, success);
3466  return true;
3468  onGetOnTimerSettingRelativeTime(eoj, tid, esv, property, success);
3469  return true;
3471  onGetOffTimerBasedReservationSetting(eoj, tid, esv, property, success);
3472  return true;
3474  onGetOffTimerSettingTime(eoj, tid, esv, property, success);
3475  return true;
3477  onGetOffTimerSettingRelativeTime(eoj, tid, esv, property, success);
3478  return true;
3479  default :
3480  return false;
3481  }
3482  }
3483 
3511  protected void onSetOperationModeSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3539  protected void onGetOperationModeSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3562  protected void onSetAutomaticTemperatureControlSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3585  protected void onGetAutomaticTemperatureControlSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3611  protected void onSetNormalHighSpeedSilentOperationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3637  protected void onGetNormalHighSpeedSilentOperationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3661  protected void onSetSetTemperatureValue(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3685  protected void onGetSetTemperatureValue(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3708  protected void onSetSetValueOfRelativeHumidityInDehumidifyingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3731  protected void onGetSetValueOfRelativeHumidityInDehumidifyingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3754  protected void onSetSetTemperatureValueInCoolingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3777  protected void onGetSetTemperatureValueInCoolingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3800  protected void onSetSetTemperatureValueInHeatingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3823  protected void onGetSetTemperatureValueInHeatingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3846  protected void onSetSetTemperatureValueInDehumidifyingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3869  protected void onGetSetTemperatureValueInDehumidifyingMode(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3893  protected void onGetRatedPowerConsumption(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3916  protected void onGetMeasuredValueOfCurrentConsumption(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3939  protected void onGetMeasuredValueOfRoomRelativeHumidity(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3962  protected void onGetMeasuredValueOfRoomTemperature(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
3985  protected void onGetSetTemperatureValueOfUserRemoteControl(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4008  protected void onGetMeasuredCooledAirTemperature(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4031  protected void onGetMeasuredOutdoorAirTemperature(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4055  protected void onSetRelativeTemperatureSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4079  protected void onGetRelativeTemperatureSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4103  protected void onSetAirFlowRateSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4127  protected void onGetAirFlowRateSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4150  protected void onSetAutomaticControlOfAirFlowDirectionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4173  protected void onGetAutomaticControlOfAirFlowDirectionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4196  protected void onSetAutomaticSwingOfAirFlowSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4219  protected void onGetAutomaticSwingOfAirFlowSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4242  protected void onSetAirFlowDirectionVerticalSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4265  protected void onGetAirFlowDirectionVerticalSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4290  protected void onSetAirFlowDirectionHorizontalSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4315  protected void onGetAirFlowDirectionHorizontalSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4339  protected void onGetSpecialState(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4363  protected void onGetNonPriorityState(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4386  protected void onSetVentilationFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4409  protected void onGetVentilationFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4432  protected void onSetHumidifierFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4455  protected void onGetHumidifierFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4479  protected void onSetVentilationAirFlowRateSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4503  protected void onGetVentilationAirFlowRateSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4527  protected void onSetDegreeOfHumidificationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4551  protected void onGetDegreeOfHumidificationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4577  protected void onGetMountedAirCleaningMethod(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4603  protected void onSetAirPurifierFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4629  protected void onGetAirPurifierFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4655  protected void onGetMountedAirRefreshMethod(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4681  protected void onSetAirRefresherFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4707  protected void onGetAirRefresherFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4733  protected void onGetMountedSelfCleaningMethod(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4762  protected void onSetSelfCleaningFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4791  protected void onGetSelfCleaningFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4815  protected void onSetSpecialFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4839  protected void onGetSpecialFunctionSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4867  protected void onGetOperationStatusOfComponents(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4890  protected void onSetThermostatSettingOverrideFunction(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4913  protected void onSetAirPurificationModeSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4936  protected void onGetAirPurificationModeSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4959  protected void onSetOnTimerBasedReservationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
4982  protected void onGetOnTimerBasedReservationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5007  protected void onSetOnTimerSettingTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5032  protected void onGetOnTimerSettingTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5056  protected void onSetOnTimerSettingRelativeTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5080  protected void onGetOnTimerSettingRelativeTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5103  protected void onSetOffTimerBasedReservationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5126  protected void onGetOffTimerBasedReservationSetting(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5152  protected void onSetOffTimerSettingTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5178  protected void onGetOffTimerSettingTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5202  protected void onSetOffTimerSettingRelativeTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5226  protected void onGetOffTimerSettingRelativeTime(EchoObject eoj, short tid, byte esv, EchoProperty property, boolean success) {}
5227  }
5228 
5229  public static class Setter extends DeviceObject.Setter {
5230  public Setter(short dstEchoClassCode, byte dstEchoInstanceCode
5231  , String dstEchoAddress, boolean responseRequired) {
5232  super(dstEchoClassCode, dstEchoInstanceCode
5233  , dstEchoAddress, responseRequired);
5234  }
5235 
5236  @Override
5237  public Setter reqSetProperty(byte epc, byte[] edt) {
5238  return (Setter)super.reqSetProperty(epc, edt);
5239  }
5240 
5241  @Override
5242  public Setter reqSetOperationStatus(byte[] edt) {
5243  return (Setter)super.reqSetOperationStatus(edt);
5244  }
5245  @Override
5246  public Setter reqSetInstallationLocation(byte[] edt) {
5247  return (Setter)super.reqSetInstallationLocation(edt);
5248  }
5249  @Override
5250  public Setter reqSetCurrentLimitSetting(byte[] edt) {
5251  return (Setter)super.reqSetCurrentLimitSetting(edt);
5252  }
5253  @Override
5254  public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
5255  return (Setter)super.reqSetPowerSavingOperationSetting(edt);
5256  }
5257  @Override
5258  public Setter reqSetRemoteControlSetting(byte[] edt) {
5259  return (Setter)super.reqSetRemoteControlSetting(edt);
5260  }
5261  @Override
5262  public Setter reqSetCurrentTimeSetting(byte[] edt) {
5263  return (Setter)super.reqSetCurrentTimeSetting(edt);
5264  }
5265  @Override
5266  public Setter reqSetCurrentDateSetting(byte[] edt) {
5267  return (Setter)super.reqSetCurrentDateSetting(edt);
5268  }
5269  @Override
5270  public Setter reqSetPowerLimitSetting(byte[] edt) {
5271  return (Setter)super.reqSetPowerLimitSetting(edt);
5272  }
5273 
5301  public Setter reqSetOperationModeSetting(byte[] edt) {
5302  reqSetProperty(EPC_OPERATION_MODE_SETTING, edt);
5303  return this;
5304  }
5327  public Setter reqSetAutomaticTemperatureControlSetting(byte[] edt) {
5328  reqSetProperty(EPC_AUTOMATIC_TEMPERATURE_CONTROL_SETTING, edt);
5329  return this;
5330  }
5356  public Setter reqSetNormalHighSpeedSilentOperationSetting(byte[] edt) {
5358  return this;
5359  }
5383  public Setter reqSetSetTemperatureValue(byte[] edt) {
5384  reqSetProperty(EPC_SET_TEMPERATURE_VALUE, edt);
5385  return this;
5386  }
5409  public Setter reqSetSetValueOfRelativeHumidityInDehumidifyingMode(byte[] edt) {
5411  return this;
5412  }
5435  public Setter reqSetSetTemperatureValueInCoolingMode(byte[] edt) {
5436  reqSetProperty(EPC_SET_TEMPERATURE_VALUE_IN_COOLING_MODE, edt);
5437  return this;
5438  }
5461  public Setter reqSetSetTemperatureValueInHeatingMode(byte[] edt) {
5462  reqSetProperty(EPC_SET_TEMPERATURE_VALUE_IN_HEATING_MODE, edt);
5463  return this;
5464  }
5487  public Setter reqSetSetTemperatureValueInDehumidifyingMode(byte[] edt) {
5489  return this;
5490  }
5514  public Setter reqSetRelativeTemperatureSetting(byte[] edt) {
5515  reqSetProperty(EPC_RELATIVE_TEMPERATURE_SETTING, edt);
5516  return this;
5517  }
5541  public Setter reqSetAirFlowRateSetting(byte[] edt) {
5542  reqSetProperty(EPC_AIR_FLOW_RATE_SETTING, edt);
5543  return this;
5544  }
5567  public Setter reqSetAutomaticControlOfAirFlowDirectionSetting(byte[] edt) {
5569  return this;
5570  }
5593  public Setter reqSetAutomaticSwingOfAirFlowSetting(byte[] edt) {
5594  reqSetProperty(EPC_AUTOMATIC_SWING_OF_AIR_FLOW_SETTING, edt);
5595  return this;
5596  }
5619  public Setter reqSetAirFlowDirectionVerticalSetting(byte[] edt) {
5620  reqSetProperty(EPC_AIR_FLOW_DIRECTION_VERTICAL_SETTING, edt);
5621  return this;
5622  }
5647  public Setter reqSetAirFlowDirectionHorizontalSetting(byte[] edt) {
5648  reqSetProperty(EPC_AIR_FLOW_DIRECTION_HORIZONTAL_SETTING, edt);
5649  return this;
5650  }
5673  public Setter reqSetVentilationFunctionSetting(byte[] edt) {
5674  reqSetProperty(EPC_VENTILATION_FUNCTION_SETTING, edt);
5675  return this;
5676  }
5699  public Setter reqSetHumidifierFunctionSetting(byte[] edt) {
5700  reqSetProperty(EPC_HUMIDIFIER_FUNCTION_SETTING, edt);
5701  return this;
5702  }
5726  public Setter reqSetVentilationAirFlowRateSetting(byte[] edt) {
5727  reqSetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING, edt);
5728  return this;
5729  }
5753  public Setter reqSetDegreeOfHumidificationSetting(byte[] edt) {
5754  reqSetProperty(EPC_DEGREE_OF_HUMIDIFICATION_SETTING, edt);
5755  return this;
5756  }
5782  public Setter reqSetAirPurifierFunctionSetting(byte[] edt) {
5783  reqSetProperty(EPC_AIR_PURIFIER_FUNCTION_SETTING, edt);
5784  return this;
5785  }
5811  public Setter reqSetAirRefresherFunctionSetting(byte[] edt) {
5812  reqSetProperty(EPC_AIR_REFRESHER_FUNCTION_SETTING, edt);
5813  return this;
5814  }
5843  public Setter reqSetSelfCleaningFunctionSetting(byte[] edt) {
5844  reqSetProperty(EPC_SELF_CLEANING_FUNCTION_SETTING, edt);
5845  return this;
5846  }
5870  public Setter reqSetSpecialFunctionSetting(byte[] edt) {
5871  reqSetProperty(EPC_SPECIAL_FUNCTION_SETTING, edt);
5872  return this;
5873  }
5896  public Setter reqSetThermostatSettingOverrideFunction(byte[] edt) {
5897  reqSetProperty(EPC_THERMOSTAT_SETTING_OVERRIDE_FUNCTION, edt);
5898  return this;
5899  }
5922  public Setter reqSetAirPurificationModeSetting(byte[] edt) {
5923  reqSetProperty(EPC_AIR_PURIFICATION_MODE_SETTING, edt);
5924  return this;
5925  }
5948  public Setter reqSetOnTimerBasedReservationSetting(byte[] edt) {
5949  reqSetProperty(EPC_ON_TIMER_BASED_RESERVATION_SETTING, edt);
5950  return this;
5951  }
5976  public Setter reqSetOnTimerSettingTime(byte[] edt) {
5977  reqSetProperty(EPC_ON_TIMER_SETTING_TIME, edt);
5978  return this;
5979  }
6003  public Setter reqSetOnTimerSettingRelativeTime(byte[] edt) {
6004  reqSetProperty(EPC_ON_TIMER_SETTING_RELATIVE_TIME, edt);
6005  return this;
6006  }
6029  public Setter reqSetOffTimerBasedReservationSetting(byte[] edt) {
6030  reqSetProperty(EPC_OFF_TIMER_BASED_RESERVATION_SETTING, edt);
6031  return this;
6032  }
6058  public Setter reqSetOffTimerSettingTime(byte[] edt) {
6059  reqSetProperty(EPC_OFF_TIMER_SETTING_TIME, edt);
6060  return this;
6061  }
6085  public Setter reqSetOffTimerSettingRelativeTime(byte[] edt) {
6086  reqSetProperty(EPC_OFF_TIMER_SETTING_RELATIVE_TIME, edt);
6087  return this;
6088  }
6089  }
6090 
6091  public static class Getter extends DeviceObject.Getter {
6092  public Getter(short dstEchoClassCode, byte dstEchoInstanceCode
6093  , String dstEchoAddress) {
6094  super(dstEchoClassCode, dstEchoInstanceCode
6095  , dstEchoAddress);
6096  }
6097 
6098  @Override
6099  public Getter reqGetProperty(byte epc) {
6100  return (Getter)super.reqGetProperty(epc);
6101  }
6102 
6103  @Override
6104  public Getter reqGetOperationStatus() {
6105  return (Getter)super.reqGetOperationStatus();
6106  }
6107  @Override
6108  public Getter reqGetInstallationLocation() {
6109  return (Getter)super.reqGetInstallationLocation();
6110  }
6111  @Override
6112  public Getter reqGetStandardVersionInformation() {
6113  return (Getter)super.reqGetStandardVersionInformation();
6114  }
6115  @Override
6116  public Getter reqGetIdentificationNumber() {
6117  return (Getter)super.reqGetIdentificationNumber();
6118  }
6119  @Override
6120  public Getter reqGetMeasuredInstantaneousPowerConsumption() {
6121  return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
6122  }
6123  @Override
6124  public Getter reqGetMeasuredCumulativePowerConsumption() {
6125  return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
6126  }
6127  @Override
6128  public Getter reqGetManufacturersFaultCode() {
6129  return (Getter)super.reqGetManufacturersFaultCode();
6130  }
6131  @Override
6132  public Getter reqGetCurrentLimitSetting() {
6133  return (Getter)super.reqGetCurrentLimitSetting();
6134  }
6135  @Override
6136  public Getter reqGetFaultStatus() {
6137  return (Getter)super.reqGetFaultStatus();
6138  }
6139  @Override
6140  public Getter reqGetFaultDescription() {
6141  return (Getter)super.reqGetFaultDescription();
6142  }
6143  @Override
6144  public Getter reqGetManufacturerCode() {
6145  return (Getter)super.reqGetManufacturerCode();
6146  }
6147  @Override
6148  public Getter reqGetBusinessFacilityCode() {
6149  return (Getter)super.reqGetBusinessFacilityCode();
6150  }
6151  @Override
6152  public Getter reqGetProductCode() {
6153  return (Getter)super.reqGetProductCode();
6154  }
6155  @Override
6156  public Getter reqGetProductionNumber() {
6157  return (Getter)super.reqGetProductionNumber();
6158  }
6159  @Override
6160  public Getter reqGetProductionDate() {
6161  return (Getter)super.reqGetProductionDate();
6162  }
6163  @Override
6164  public Getter reqGetPowerSavingOperationSetting() {
6165  return (Getter)super.reqGetPowerSavingOperationSetting();
6166  }
6167  @Override
6168  public Getter reqGetRemoteControlSetting() {
6169  return (Getter)super.reqGetRemoteControlSetting();
6170  }
6171  @Override
6172  public Getter reqGetCurrentTimeSetting() {
6173  return (Getter)super.reqGetCurrentTimeSetting();
6174  }
6175  @Override
6176  public Getter reqGetCurrentDateSetting() {
6177  return (Getter)super.reqGetCurrentDateSetting();
6178  }
6179  @Override
6180  public Getter reqGetPowerLimitSetting() {
6181  return (Getter)super.reqGetPowerLimitSetting();
6182  }
6183  @Override
6184  public Getter reqGetCumulativeOperatingTime() {
6185  return (Getter)super.reqGetCumulativeOperatingTime();
6186  }
6187  @Override
6188  public Getter reqGetStatusChangeAnnouncementPropertyMap() {
6189  return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
6190  }
6191  @Override
6192  public Getter reqGetSetPropertyMap() {
6193  return (Getter)super.reqGetSetPropertyMap();
6194  }
6195  @Override
6196  public Getter reqGetGetPropertyMap() {
6197  return (Getter)super.reqGetGetPropertyMap();
6198  }
6199 
6227  public Getter reqGetOperationModeSetting() {
6228  reqGetProperty(EPC_OPERATION_MODE_SETTING);
6229  return this;
6230  }
6253  public Getter reqGetAutomaticTemperatureControlSetting() {
6255  return this;
6256  }
6282  public Getter reqGetNormalHighSpeedSilentOperationSetting() {
6284  return this;
6285  }
6309  public Getter reqGetSetTemperatureValue() {
6310  reqGetProperty(EPC_SET_TEMPERATURE_VALUE);
6311  return this;
6312  }
6335  public Getter reqGetSetValueOfRelativeHumidityInDehumidifyingMode() {
6337  return this;
6338  }
6361  public Getter reqGetSetTemperatureValueInCoolingMode() {
6363  return this;
6364  }
6387  public Getter reqGetSetTemperatureValueInHeatingMode() {
6389  return this;
6390  }
6413  public Getter reqGetSetTemperatureValueInDehumidifyingMode() {
6415  return this;
6416  }
6440  public Getter reqGetRatedPowerConsumption() {
6441  reqGetProperty(EPC_RATED_POWER_CONSUMPTION);
6442  return this;
6443  }
6466  public Getter reqGetMeasuredValueOfCurrentConsumption() {
6468  return this;
6469  }
6492  public Getter reqGetMeasuredValueOfRoomRelativeHumidity() {
6494  return this;
6495  }
6518  public Getter reqGetMeasuredValueOfRoomTemperature() {
6520  return this;
6521  }
6544  public Getter reqGetSetTemperatureValueOfUserRemoteControl() {
6546  return this;
6547  }
6570  public Getter reqGetMeasuredCooledAirTemperature() {
6571  reqGetProperty(EPC_MEASURED_COOLED_AIR_TEMPERATURE);
6572  return this;
6573  }
6596  public Getter reqGetMeasuredOutdoorAirTemperature() {
6597  reqGetProperty(EPC_MEASURED_OUTDOOR_AIR_TEMPERATURE);
6598  return this;
6599  }
6623  public Getter reqGetRelativeTemperatureSetting() {
6624  reqGetProperty(EPC_RELATIVE_TEMPERATURE_SETTING);
6625  return this;
6626  }
6650  public Getter reqGetAirFlowRateSetting() {
6651  reqGetProperty(EPC_AIR_FLOW_RATE_SETTING);
6652  return this;
6653  }
6676  public Getter reqGetAutomaticControlOfAirFlowDirectionSetting() {
6678  return this;
6679  }
6702  public Getter reqGetAutomaticSwingOfAirFlowSetting() {
6704  return this;
6705  }
6728  public Getter reqGetAirFlowDirectionVerticalSetting() {
6730  return this;
6731  }
6756  public Getter reqGetAirFlowDirectionHorizontalSetting() {
6758  return this;
6759  }
6783  public Getter reqGetSpecialState() {
6784  reqGetProperty(EPC_SPECIAL_STATE);
6785  return this;
6786  }
6810  public Getter reqGetNonPriorityState() {
6811  reqGetProperty(EPC_NON_PRIORITY_STATE);
6812  return this;
6813  }
6836  public Getter reqGetVentilationFunctionSetting() {
6837  reqGetProperty(EPC_VENTILATION_FUNCTION_SETTING);
6838  return this;
6839  }
6862  public Getter reqGetHumidifierFunctionSetting() {
6863  reqGetProperty(EPC_HUMIDIFIER_FUNCTION_SETTING);
6864  return this;
6865  }
6889  public Getter reqGetVentilationAirFlowRateSetting() {
6890  reqGetProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);
6891  return this;
6892  }
6916  public Getter reqGetDegreeOfHumidificationSetting() {
6917  reqGetProperty(EPC_DEGREE_OF_HUMIDIFICATION_SETTING);
6918  return this;
6919  }
6945  public Getter reqGetMountedAirCleaningMethod() {
6946  reqGetProperty(EPC_MOUNTED_AIR_CLEANING_METHOD);
6947  return this;
6948  }
6974  public Getter reqGetAirPurifierFunctionSetting() {
6975  reqGetProperty(EPC_AIR_PURIFIER_FUNCTION_SETTING);
6976  return this;
6977  }
7003  public Getter reqGetMountedAirRefreshMethod() {
7004  reqGetProperty(EPC_MOUNTED_AIR_REFRESH_METHOD);
7005  return this;
7006  }
7032  public Getter reqGetAirRefresherFunctionSetting() {
7033  reqGetProperty(EPC_AIR_REFRESHER_FUNCTION_SETTING);
7034  return this;
7035  }
7061  public Getter reqGetMountedSelfCleaningMethod() {
7062  reqGetProperty(EPC_MOUNTED_SELF_CLEANING_METHOD);
7063  return this;
7064  }
7093  public Getter reqGetSelfCleaningFunctionSetting() {
7094  reqGetProperty(EPC_SELF_CLEANING_FUNCTION_SETTING);
7095  return this;
7096  }
7120  public Getter reqGetSpecialFunctionSetting() {
7121  reqGetProperty(EPC_SPECIAL_FUNCTION_SETTING);
7122  return this;
7123  }
7151  public Getter reqGetOperationStatusOfComponents() {
7152  reqGetProperty(EPC_OPERATION_STATUS_OF_COMPONENTS);
7153  return this;
7154  }
7177  public Getter reqGetAirPurificationModeSetting() {
7178  reqGetProperty(EPC_AIR_PURIFICATION_MODE_SETTING);
7179  return this;
7180  }
7203  public Getter reqGetOnTimerBasedReservationSetting() {
7205  return this;
7206  }
7231  public Getter reqGetOnTimerSettingTime() {
7232  reqGetProperty(EPC_ON_TIMER_SETTING_TIME);
7233  return this;
7234  }
7258  public Getter reqGetOnTimerSettingRelativeTime() {
7259  reqGetProperty(EPC_ON_TIMER_SETTING_RELATIVE_TIME);
7260  return this;
7261  }
7284  public Getter reqGetOffTimerBasedReservationSetting() {
7286  return this;
7287  }
7313  public Getter reqGetOffTimerSettingTime() {
7314  reqGetProperty(EPC_OFF_TIMER_SETTING_TIME);
7315  return this;
7316  }
7340  public Getter reqGetOffTimerSettingRelativeTime() {
7341  reqGetProperty(EPC_OFF_TIMER_SETTING_RELATIVE_TIME);
7342  return this;
7343  }
7344  }
7345 
7346  public static class Informer extends DeviceObject.Informer {
7347  public Informer(short echoClassCode, byte echoInstanceCode
7348  , String dstEchoAddress, boolean isSelfObject) {
7349  super(echoClassCode, echoInstanceCode
7350  , dstEchoAddress, isSelfObject);
7351  }
7352 
7353  @Override
7354  public Informer reqInformProperty(byte epc) {
7355  return (Informer)super.reqInformProperty(epc);
7356  }
7357  @Override
7358  public Informer reqInformOperationStatus() {
7359  return (Informer)super.reqInformOperationStatus();
7360  }
7361  @Override
7362  public Informer reqInformInstallationLocation() {
7363  return (Informer)super.reqInformInstallationLocation();
7364  }
7365  @Override
7366  public Informer reqInformStandardVersionInformation() {
7367  return (Informer)super.reqInformStandardVersionInformation();
7368  }
7369  @Override
7370  public Informer reqInformIdentificationNumber() {
7371  return (Informer)super.reqInformIdentificationNumber();
7372  }
7373  @Override
7374  public Informer reqInformMeasuredInstantaneousPowerConsumption() {
7375  return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
7376  }
7377  @Override
7378  public Informer reqInformMeasuredCumulativePowerConsumption() {
7379  return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
7380  }
7381  @Override
7382  public Informer reqInformManufacturersFaultCode() {
7383  return (Informer)super.reqInformManufacturersFaultCode();
7384  }
7385  @Override
7386  public Informer reqInformCurrentLimitSetting() {
7387  return (Informer)super.reqInformCurrentLimitSetting();
7388  }
7389  @Override
7390  public Informer reqInformFaultStatus() {
7391  return (Informer)super.reqInformFaultStatus();
7392  }
7393  @Override
7394  public Informer reqInformFaultDescription() {
7395  return (Informer)super.reqInformFaultDescription();
7396  }
7397  @Override
7398  public Informer reqInformManufacturerCode() {
7399  return (Informer)super.reqInformManufacturerCode();
7400  }
7401  @Override
7402  public Informer reqInformBusinessFacilityCode() {
7403  return (Informer)super.reqInformBusinessFacilityCode();
7404  }
7405  @Override
7406  public Informer reqInformProductCode() {
7407  return (Informer)super.reqInformProductCode();
7408  }
7409  @Override
7410  public Informer reqInformProductionNumber() {
7411  return (Informer)super.reqInformProductionNumber();
7412  }
7413  @Override
7414  public Informer reqInformProductionDate() {
7415  return (Informer)super.reqInformProductionDate();
7416  }
7417  @Override
7418  public Informer reqInformPowerSavingOperationSetting() {
7419  return (Informer)super.reqInformPowerSavingOperationSetting();
7420  }
7421  @Override
7422  public Informer reqInformRemoteControlSetting() {
7423  return (Informer)super.reqInformRemoteControlSetting();
7424  }
7425  @Override
7426  public Informer reqInformCurrentTimeSetting() {
7427  return (Informer)super.reqInformCurrentTimeSetting();
7428  }
7429  @Override
7430  public Informer reqInformCurrentDateSetting() {
7431  return (Informer)super.reqInformCurrentDateSetting();
7432  }
7433  @Override
7434  public Informer reqInformPowerLimitSetting() {
7435  return (Informer)super.reqInformPowerLimitSetting();
7436  }
7437  @Override
7438  public Informer reqInformCumulativeOperatingTime() {
7439  return (Informer)super.reqInformCumulativeOperatingTime();
7440  }
7441  @Override
7442  public Informer reqInformStatusChangeAnnouncementPropertyMap() {
7443  return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
7444  }
7445  @Override
7446  public Informer reqInformSetPropertyMap() {
7447  return (Informer)super.reqInformSetPropertyMap();
7448  }
7449  @Override
7450  public Informer reqInformGetPropertyMap() {
7451  return (Informer)super.reqInformGetPropertyMap();
7452  }
7453 
7481  public Informer reqInformOperationModeSetting() {
7482  reqInformProperty(EPC_OPERATION_MODE_SETTING);
7483  return this;
7484  }
7507  public Informer reqInformAutomaticTemperatureControlSetting() {
7508  reqInformProperty(EPC_AUTOMATIC_TEMPERATURE_CONTROL_SETTING);
7509  return this;
7510  }
7536  public Informer reqInformNormalHighSpeedSilentOperationSetting() {
7538  return this;
7539  }
7563  public Informer reqInformSetTemperatureValue() {
7564  reqInformProperty(EPC_SET_TEMPERATURE_VALUE);
7565  return this;
7566  }
7589  public Informer reqInformSetValueOfRelativeHumidityInDehumidifyingMode() {
7591  return this;
7592  }
7615  public Informer reqInformSetTemperatureValueInCoolingMode() {
7616  reqInformProperty(EPC_SET_TEMPERATURE_VALUE_IN_COOLING_MODE);
7617  return this;
7618  }
7641  public Informer reqInformSetTemperatureValueInHeatingMode() {
7642  reqInformProperty(EPC_SET_TEMPERATURE_VALUE_IN_HEATING_MODE);
7643  return this;
7644  }
7667  public Informer reqInformSetTemperatureValueInDehumidifyingMode() {
7669  return this;
7670  }
7694  public Informer reqInformRatedPowerConsumption() {
7695  reqInformProperty(EPC_RATED_POWER_CONSUMPTION);
7696  return this;
7697  }
7720  public Informer reqInformMeasuredValueOfCurrentConsumption() {
7721  reqInformProperty(EPC_MEASURED_VALUE_OF_CURRENT_CONSUMPTION);
7722  return this;
7723  }
7746  public Informer reqInformMeasuredValueOfRoomRelativeHumidity() {
7748  return this;
7749  }
7772  public Informer reqInformMeasuredValueOfRoomTemperature() {
7773  reqInformProperty(EPC_MEASURED_VALUE_OF_ROOM_TEMPERATURE);
7774  return this;
7775  }
7798  public Informer reqInformSetTemperatureValueOfUserRemoteControl() {
7800  return this;
7801  }
7824  public Informer reqInformMeasuredCooledAirTemperature() {
7825  reqInformProperty(EPC_MEASURED_COOLED_AIR_TEMPERATURE);
7826  return this;
7827  }
7850  public Informer reqInformMeasuredOutdoorAirTemperature() {
7851  reqInformProperty(EPC_MEASURED_OUTDOOR_AIR_TEMPERATURE);
7852  return this;
7853  }
7877  public Informer reqInformRelativeTemperatureSetting() {
7878  reqInformProperty(EPC_RELATIVE_TEMPERATURE_SETTING);
7879  return this;
7880  }
7904  public Informer reqInformAirFlowRateSetting() {
7905  reqInformProperty(EPC_AIR_FLOW_RATE_SETTING);
7906  return this;
7907  }
7930  public Informer reqInformAutomaticControlOfAirFlowDirectionSetting() {
7932  return this;
7933  }
7956  public Informer reqInformAutomaticSwingOfAirFlowSetting() {
7957  reqInformProperty(EPC_AUTOMATIC_SWING_OF_AIR_FLOW_SETTING);
7958  return this;
7959  }
7982  public Informer reqInformAirFlowDirectionVerticalSetting() {
7983  reqInformProperty(EPC_AIR_FLOW_DIRECTION_VERTICAL_SETTING);
7984  return this;
7985  }
8010  public Informer reqInformAirFlowDirectionHorizontalSetting() {
8011  reqInformProperty(EPC_AIR_FLOW_DIRECTION_HORIZONTAL_SETTING);
8012  return this;
8013  }
8037  public Informer reqInformSpecialState() {
8038  reqInformProperty(EPC_SPECIAL_STATE);
8039  return this;
8040  }
8064  public Informer reqInformNonPriorityState() {
8065  reqInformProperty(EPC_NON_PRIORITY_STATE);
8066  return this;
8067  }
8090  public Informer reqInformVentilationFunctionSetting() {
8091  reqInformProperty(EPC_VENTILATION_FUNCTION_SETTING);
8092  return this;
8093  }
8116  public Informer reqInformHumidifierFunctionSetting() {
8117  reqInformProperty(EPC_HUMIDIFIER_FUNCTION_SETTING);
8118  return this;
8119  }
8143  public Informer reqInformVentilationAirFlowRateSetting() {
8144  reqInformProperty(EPC_VENTILATION_AIR_FLOW_RATE_SETTING);
8145  return this;
8146  }
8170  public Informer reqInformDegreeOfHumidificationSetting() {
8171  reqInformProperty(EPC_DEGREE_OF_HUMIDIFICATION_SETTING);
8172  return this;
8173  }
8199  public Informer reqInformMountedAirCleaningMethod() {
8200  reqInformProperty(EPC_MOUNTED_AIR_CLEANING_METHOD);
8201  return this;
8202  }
8228  public Informer reqInformAirPurifierFunctionSetting() {
8229  reqInformProperty(EPC_AIR_PURIFIER_FUNCTION_SETTING);
8230  return this;
8231  }
8257  public Informer reqInformMountedAirRefreshMethod() {
8258  reqInformProperty(EPC_MOUNTED_AIR_REFRESH_METHOD);
8259  return this;
8260  }
8286  public Informer reqInformAirRefresherFunctionSetting() {
8287  reqInformProperty(EPC_AIR_REFRESHER_FUNCTION_SETTING);
8288  return this;
8289  }
8315  public Informer reqInformMountedSelfCleaningMethod() {
8316  reqInformProperty(EPC_MOUNTED_SELF_CLEANING_METHOD);
8317  return this;
8318  }
8347  public Informer reqInformSelfCleaningFunctionSetting() {
8348  reqInformProperty(EPC_SELF_CLEANING_FUNCTION_SETTING);
8349  return this;
8350  }
8374  public Informer reqInformSpecialFunctionSetting() {
8375  reqInformProperty(EPC_SPECIAL_FUNCTION_SETTING);
8376  return this;
8377  }
8405  public Informer reqInformOperationStatusOfComponents() {
8406  reqInformProperty(EPC_OPERATION_STATUS_OF_COMPONENTS);
8407  return this;
8408  }
8431  public Informer reqInformAirPurificationModeSetting() {
8432  reqInformProperty(EPC_AIR_PURIFICATION_MODE_SETTING);
8433  return this;
8434  }
8457  public Informer reqInformOnTimerBasedReservationSetting() {
8458  reqInformProperty(EPC_ON_TIMER_BASED_RESERVATION_SETTING);
8459  return this;
8460  }
8485  public Informer reqInformOnTimerSettingTime() {
8486  reqInformProperty(EPC_ON_TIMER_SETTING_TIME);
8487  return this;
8488  }
8512  public Informer reqInformOnTimerSettingRelativeTime() {
8513  reqInformProperty(EPC_ON_TIMER_SETTING_RELATIVE_TIME);
8514  return this;
8515  }
8538  public Informer reqInformOffTimerBasedReservationSetting() {
8539  reqInformProperty(EPC_OFF_TIMER_BASED_RESERVATION_SETTING);
8540  return this;
8541  }
8567  public Informer reqInformOffTimerSettingTime() {
8568  reqInformProperty(EPC_OFF_TIMER_SETTING_TIME);
8569  return this;
8570  }
8594  public Informer reqInformOffTimerSettingRelativeTime() {
8595  reqInformProperty(EPC_OFF_TIMER_SETTING_RELATIVE_TIME);
8596  return this;
8597  }
8598  }
8599 
8600  public static class Proxy extends HomeAirConditioner {
8601  public Proxy(byte instanceCode) {
8602  super();
8603  mEchoInstanceCode = instanceCode;
8604  }
8605  @Override
8606  public byte getInstanceCode() {
8607  return mEchoInstanceCode;
8608  }
8609  @Override
8610  protected byte[] getOperationStatus() {return null;}
8611  @Override
8612  protected boolean setInstallationLocation(byte[] edt) {return false;}
8613  @Override
8614  protected byte[] getInstallationLocation() {return null;}
8615  @Override
8616  protected byte[] getStandardVersionInformation() {return null;}
8617  @Override
8618  protected byte[] getFaultStatus() {return null;}
8619  @Override
8620  protected byte[] getManufacturerCode() {return null;}
8621  @Override
8622  protected boolean setOperationStatus(byte[] edt) {return false;}
8623  @Override
8624  protected boolean setOperationModeSetting(byte[] edt) {return false;}
8625  @Override
8626  protected byte[] getOperationModeSetting() {return null;}
8627  @Override
8628  protected boolean setSetTemperatureValue(byte[] edt) {return false;}
8629  @Override
8630  protected byte[] getSetTemperatureValue() {return null;}
8631  }
8632 
8633  public static Setter setG() {
8634  return setG((byte)0);
8635  }
8636 
8637  public static Setter setG(byte instanceCode) {
8638  return setG(instanceCode, true);
8639  }
8640 
8641  public static Setter setG(boolean responseRequired) {
8642  return setG((byte)0, responseRequired);
8643  }
8644 
8645  public static Setter setG(byte instanceCode, boolean responseRequired) {
8646  return new Setter(ECHO_CLASS_CODE, instanceCode
8647  , EchoSocket.MULTICAST_ADDRESS, responseRequired);
8648  }
8649 
8650  public static Getter getG() {
8651  return getG((byte)0);
8652  }
8653 
8654  public static Getter getG(byte instanceCode) {
8655  return new Getter(ECHO_CLASS_CODE, instanceCode
8657  }
8658 
8659  public static Informer informG() {
8660  return informG((byte)0);
8661  }
8662 
8663  public static Informer informG(byte instanceCode) {
8664  return new Informer(ECHO_CLASS_CODE, instanceCode
8665  , EchoSocket.MULTICAST_ADDRESS, false);
8666  }
8667 
8668 }
static Setter setG(byte instanceCode, boolean responseRequired)
final void addStatusChangeAnnouncementProperty(byte epc)
Definition: EchoObject.java:71
synchronized boolean isValidProperty(EchoProperty property)
final void addGetProperty(byte epc)
final void addSetProperty(byte epc)
Definition: EchoObject.java:93
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
Definition: EchoSocket.java:53