16 package com.sonycsl.echo.eoj.device.cookinghousehold;
42 super.setupPropertyMaps();
55 Echo.getEventListener().onNewRiceCooker(
this);
159 if(edt == null || !(edt.length == 1))
return false;
208 if(edt == null || !(edt.length == 1))
return false;
280 if(edt == null || !(edt.length == 1))
return false;
352 if(edt == null || !(edt.length == 1))
return false;
401 if(edt == null || !(edt.length == 1))
return false;
450 if(edt == null || !(edt.length == 1))
return false;
522 if(edt == null || !(edt.length == 1))
return false;
594 if(edt == null || !(edt.length == 2))
return false;
666 if(edt == null || !(edt.length == 2))
return false;
672 boolean success = super.setProperty(property);
673 if(success)
return success;
675 switch(property.
epc) {
681 default :
return false;
687 byte[] edt = super.getProperty(epc);
688 if(edt != null)
return edt;
700 default :
return null;
706 boolean valid = super.isValidProperty(property);
707 if(valid)
return valid;
709 switch(property.
epc) {
719 default :
return false;
729 public Setter
set(
boolean responseRequired) {
731 ,
getNode().getAddressStr(), responseRequired);
735 public Getter
get() {
746 protected Informer
inform(
boolean multicast) {
751 address =
getNode().getAddressStr();
757 public static class Receiver
extends DeviceObject.Receiver {
760 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
762 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
765 switch(property.epc) {
767 onSetRiceCookingControlSetting(eoj, tid, esv, property, success);
770 onSetWarmerSetting(eoj, tid, esv, property, success);
773 onSetRiceCookingReservationSetting(eoj, tid, esv, property, success);
776 onSetSetValueOfRiceCookingReservationSettingTime(eoj, tid, esv, property, success);
779 onSetSetValueOfRiceCookingReservationSettingRelativeTime(eoj, tid, esv, property, success);
787 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
789 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
792 switch(property.epc) {
794 onGetCoverOpenCloseStatus(eoj, tid, esv, property, success);
797 onGetRiceCookingStatus(eoj, tid, esv, property, success);
800 onGetRiceCookingControlSetting(eoj, tid, esv, property, success);
803 onGetWarmerSetting(eoj, tid, esv, property, success);
806 onGetInnerPotRemovalStatus(eoj, tid, esv, property, success);
809 onGetCoverRemovalStatus(eoj, tid, esv, property, success);
812 onGetRiceCookingReservationSetting(eoj, tid, esv, property, success);
815 onGetSetValueOfRiceCookingReservationSettingTime(eoj, tid, esv, property, success);
818 onGetSetValueOfRiceCookingReservationSettingRelativeTime(eoj, tid, esv, property, success);
847 protected void onGetCoverOpenCloseStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
870 protected void onGetRiceCookingStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
893 protected void onSetRiceCookingControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
916 protected void onGetRiceCookingControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
939 protected void onSetWarmerSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
962 protected void onGetWarmerSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
985 protected void onGetInnerPotRemovalStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1008 protected void onGetCoverRemovalStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1031 protected void onSetRiceCookingReservationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1054 protected void onGetRiceCookingReservationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1077 protected void onSetSetValueOfRiceCookingReservationSettingTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1100 protected void onGetSetValueOfRiceCookingReservationSettingTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1123 protected void onSetSetValueOfRiceCookingReservationSettingRelativeTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1146 protected void onGetSetValueOfRiceCookingReservationSettingRelativeTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1149 public static class Setter
extends DeviceObject.Setter {
1150 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
1151 , String dstEchoAddress,
boolean responseRequired) {
1152 super(dstEchoClassCode, dstEchoInstanceCode
1153 , dstEchoAddress, responseRequired);
1157 public Setter reqSetProperty(byte epc, byte[] edt) {
1158 return (Setter)super.reqSetProperty(epc, edt);
1162 public Setter reqSetOperationStatus(byte[] edt) {
1163 return (Setter)super.reqSetOperationStatus(edt);
1166 public Setter reqSetInstallationLocation(byte[] edt) {
1167 return (Setter)super.reqSetInstallationLocation(edt);
1170 public Setter reqSetCurrentLimitSetting(byte[] edt) {
1171 return (Setter)super.reqSetCurrentLimitSetting(edt);
1174 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
1175 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
1178 public Setter reqSetRemoteControlSetting(byte[] edt) {
1179 return (Setter)super.reqSetRemoteControlSetting(edt);
1182 public Setter reqSetCurrentTimeSetting(byte[] edt) {
1183 return (Setter)super.reqSetCurrentTimeSetting(edt);
1186 public Setter reqSetCurrentDateSetting(byte[] edt) {
1187 return (Setter)super.reqSetCurrentDateSetting(edt);
1190 public Setter reqSetPowerLimitSetting(byte[] edt) {
1191 return (Setter)super.reqSetPowerLimitSetting(edt);
1216 public Setter reqSetRiceCookingControlSetting(byte[] edt) {
1242 public Setter reqSetWarmerSetting(byte[] edt) {
1268 public Setter reqSetRiceCookingReservationSetting(byte[] edt) {
1294 public Setter reqSetSetValueOfRiceCookingReservationSettingTime(byte[] edt) {
1320 public Setter reqSetSetValueOfRiceCookingReservationSettingRelativeTime(byte[] edt) {
1326 public static class Getter
extends DeviceObject.Getter {
1327 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
1328 , String dstEchoAddress) {
1329 super(dstEchoClassCode, dstEchoInstanceCode
1334 public Getter reqGetProperty(byte epc) {
1335 return (Getter)super.reqGetProperty(epc);
1339 public Getter reqGetOperationStatus() {
1340 return (Getter)super.reqGetOperationStatus();
1343 public Getter reqGetInstallationLocation() {
1344 return (Getter)super.reqGetInstallationLocation();
1347 public Getter reqGetStandardVersionInformation() {
1348 return (Getter)super.reqGetStandardVersionInformation();
1351 public Getter reqGetIdentificationNumber() {
1352 return (Getter)super.reqGetIdentificationNumber();
1355 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
1356 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
1359 public Getter reqGetMeasuredCumulativePowerConsumption() {
1360 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
1363 public Getter reqGetManufacturersFaultCode() {
1364 return (Getter)super.reqGetManufacturersFaultCode();
1367 public Getter reqGetCurrentLimitSetting() {
1368 return (Getter)super.reqGetCurrentLimitSetting();
1371 public Getter reqGetFaultStatus() {
1372 return (Getter)super.reqGetFaultStatus();
1375 public Getter reqGetFaultDescription() {
1376 return (Getter)super.reqGetFaultDescription();
1379 public Getter reqGetManufacturerCode() {
1380 return (Getter)super.reqGetManufacturerCode();
1383 public Getter reqGetBusinessFacilityCode() {
1384 return (Getter)super.reqGetBusinessFacilityCode();
1387 public Getter reqGetProductCode() {
1388 return (Getter)super.reqGetProductCode();
1391 public Getter reqGetProductionNumber() {
1392 return (Getter)super.reqGetProductionNumber();
1395 public Getter reqGetProductionDate() {
1396 return (Getter)super.reqGetProductionDate();
1399 public Getter reqGetPowerSavingOperationSetting() {
1400 return (Getter)super.reqGetPowerSavingOperationSetting();
1403 public Getter reqGetRemoteControlSetting() {
1404 return (Getter)super.reqGetRemoteControlSetting();
1407 public Getter reqGetCurrentTimeSetting() {
1408 return (Getter)super.reqGetCurrentTimeSetting();
1411 public Getter reqGetCurrentDateSetting() {
1412 return (Getter)super.reqGetCurrentDateSetting();
1415 public Getter reqGetPowerLimitSetting() {
1416 return (Getter)super.reqGetPowerLimitSetting();
1419 public Getter reqGetCumulativeOperatingTime() {
1420 return (Getter)super.reqGetCumulativeOperatingTime();
1423 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
1424 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
1427 public Getter reqGetSetPropertyMap() {
1428 return (Getter)super.reqGetSetPropertyMap();
1431 public Getter reqGetGetPropertyMap() {
1432 return (Getter)super.reqGetGetPropertyMap();
1457 public Getter reqGetCoverOpenCloseStatus() {
1483 public Getter reqGetRiceCookingStatus() {
1509 public Getter reqGetRiceCookingControlSetting() {
1535 public Getter reqGetWarmerSetting() {
1561 public Getter reqGetInnerPotRemovalStatus() {
1587 public Getter reqGetCoverRemovalStatus() {
1613 public Getter reqGetRiceCookingReservationSetting() {
1639 public Getter reqGetSetValueOfRiceCookingReservationSettingTime() {
1665 public Getter reqGetSetValueOfRiceCookingReservationSettingRelativeTime() {
1671 public static class Informer
extends DeviceObject.Informer {
1672 public Informer(
short echoClassCode, byte echoInstanceCode
1674 super(echoClassCode, echoInstanceCode
1675 , dstEchoAddress, isSelfObject);
1679 public Informer reqInformProperty(byte epc) {
1680 return (Informer)super.reqInformProperty(epc);
1683 public Informer reqInformOperationStatus() {
1684 return (Informer)super.reqInformOperationStatus();
1687 public Informer reqInformInstallationLocation() {
1688 return (Informer)super.reqInformInstallationLocation();
1691 public Informer reqInformStandardVersionInformation() {
1692 return (Informer)super.reqInformStandardVersionInformation();
1695 public Informer reqInformIdentificationNumber() {
1696 return (Informer)super.reqInformIdentificationNumber();
1699 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1700 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1703 public Informer reqInformMeasuredCumulativePowerConsumption() {
1704 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1707 public Informer reqInformManufacturersFaultCode() {
1708 return (Informer)super.reqInformManufacturersFaultCode();
1711 public Informer reqInformCurrentLimitSetting() {
1712 return (Informer)super.reqInformCurrentLimitSetting();
1715 public Informer reqInformFaultStatus() {
1716 return (Informer)super.reqInformFaultStatus();
1719 public Informer reqInformFaultDescription() {
1720 return (Informer)super.reqInformFaultDescription();
1723 public Informer reqInformManufacturerCode() {
1724 return (Informer)super.reqInformManufacturerCode();
1727 public Informer reqInformBusinessFacilityCode() {
1728 return (Informer)super.reqInformBusinessFacilityCode();
1731 public Informer reqInformProductCode() {
1732 return (Informer)super.reqInformProductCode();
1735 public Informer reqInformProductionNumber() {
1736 return (Informer)super.reqInformProductionNumber();
1739 public Informer reqInformProductionDate() {
1740 return (Informer)super.reqInformProductionDate();
1743 public Informer reqInformPowerSavingOperationSetting() {
1744 return (Informer)super.reqInformPowerSavingOperationSetting();
1747 public Informer reqInformRemoteControlSetting() {
1748 return (Informer)super.reqInformRemoteControlSetting();
1751 public Informer reqInformCurrentTimeSetting() {
1752 return (Informer)super.reqInformCurrentTimeSetting();
1755 public Informer reqInformCurrentDateSetting() {
1756 return (Informer)super.reqInformCurrentDateSetting();
1759 public Informer reqInformPowerLimitSetting() {
1760 return (Informer)super.reqInformPowerLimitSetting();
1763 public Informer reqInformCumulativeOperatingTime() {
1764 return (Informer)super.reqInformCumulativeOperatingTime();
1767 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1768 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1771 public Informer reqInformSetPropertyMap() {
1772 return (Informer)super.reqInformSetPropertyMap();
1775 public Informer reqInformGetPropertyMap() {
1776 return (Informer)super.reqInformGetPropertyMap();
1801 public Informer reqInformCoverOpenCloseStatus() {
1827 public Informer reqInformRiceCookingStatus() {
1853 public Informer reqInformRiceCookingControlSetting() {
1879 public Informer reqInformWarmerSetting() {
1905 public Informer reqInformInnerPotRemovalStatus() {
1931 public Informer reqInformCoverRemovalStatus() {
1957 public Informer reqInformRiceCookingReservationSetting() {
1983 public Informer reqInformSetValueOfRiceCookingReservationSettingTime() {
2009 public Informer reqInformSetValueOfRiceCookingReservationSettingRelativeTime() {
2015 public static class Proxy
extends RiceCooker {
2016 public Proxy(byte instanceCode) {
2045 return setG((byte)0);
2048 public static Setter
setG(byte instanceCode) {
2049 return setG(instanceCode,
true);
2052 public static Setter
setG(
boolean responseRequired) {
2053 return setG((byte)0, responseRequired);
2056 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
2062 return getG((byte)0);
2065 public static Getter
getG(byte instanceCode) {
2074 public static Informer
informG(byte instanceCode) {
static final short ECHO_CLASS_CODE
boolean isValidCoverOpenCloseStatus(byte[] edt)
static Informer informG()
Informer inform(boolean multicast)
static Setter setG(boolean responseRequired)
static final byte EPC_WARMER_SETTING
boolean isValidRiceCookingStatus(byte[] edt)
synchronized byte[] getProperty(byte epc)
boolean isValidRiceCookingReservationSetting(byte[] edt)
boolean isValidSetValueOfRiceCookingReservationSettingRelativeTime(byte[] edt)
static final byte EPC_COVER_OPEN_CLOSE_STATUS
byte[] getSetValueOfRiceCookingReservationSettingTime()
byte[] getCoverRemovalStatus()
boolean setSetValueOfRiceCookingReservationSettingTime(byte[] edt)
boolean setOperationStatus(byte[] edt)
static final byte EPC_INNER_POT_REMOVAL_STATUS
final void removeSetProperty(byte epc)
abstract byte[] getOperationStatus()
synchronized boolean setProperty(EchoProperty property)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
static Setter setG(byte instanceCode)
final void addGetProperty(byte epc)
static Setter setG(byte instanceCode, boolean responseRequired)
byte[] getSetValueOfRiceCookingReservationSettingRelativeTime()
abstract byte[] getRiceCookingStatus()
Setter set(boolean responseRequired)
static final byte EPC_RICE_COOKING_CONTROL_SETTING
static final byte EPC_SET_VALUE_OF_RICE_COOKING_RESERVATION_SETTING_RELATIVE_TIME
boolean setSetValueOfRiceCookingReservationSettingRelativeTime(byte[] edt)
boolean isValidWarmerSetting(byte[] edt)
boolean isValidInnerPotRemovalStatus(byte[] edt)
final void addSetProperty(byte epc)
abstract byte[] getFaultStatus()
boolean isValidCoverRemovalStatus(byte[] edt)
static final byte EPC_RICE_COOKING_RESERVATION_SETTING
static final byte EPC_COVER_REMOVAL_STATUS
synchronized boolean isValidProperty(EchoProperty property)
static final byte EPC_SET_VALUE_OF_RICE_COOKING_RESERVATION_SETTING_TIME
abstract byte[] getManufacturerCode()
static final byte EPC_RICE_COOKING_STATUS
static Getter getG(byte instanceCode)
abstract byte[] getRiceCookingControlSetting()
byte[] getWarmerSetting()
byte[] getInnerPotRemovalStatus()
boolean isValidSetValueOfRiceCookingReservationSettingTime(byte[] edt)
static final byte EPC_OPERATION_STATUS
boolean isValidRiceCookingControlSetting(byte[] edt)
byte[] getStandardVersionInformation()
static Informer informG(byte instanceCode)
boolean setRiceCookingReservationSetting(byte[] edt)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
byte[] getCoverOpenCloseStatus()
boolean setWarmerSetting(byte[] edt)
abstract boolean setRiceCookingControlSetting(byte[] edt)
final boolean isSelfObject()
byte[] getRiceCookingReservationSetting()