16 package com.sonycsl.echo.eoj.device.housingfacilities;
50 super.setupPropertyMaps();
62 Echo.getEventListener().onNewSmartGasMeter(
this);
194 if(edt == null || !(edt.length == 1))
return false;
272 if(edt == null || !(edt.length == 1))
return false;
325 if(edt == null || !(edt.length == 4))
return false;
388 if(edt == null || !(edt.length == 1))
return false;
449 if(edt == null || !(edt.length == 194))
return false;
530 if(edt == null || !(edt.length == 1))
return false;
581 if(edt == null || !(edt.length == 1))
return false;
634 if(edt == null || !(edt.length == 10))
return false;
687 if(edt == null || !(edt.length == 1))
return false;
740 if(edt == null || !(edt.length == 1))
return false;
793 if(edt == null || !(edt.length == 1))
return false;
844 if(edt == null || !(edt.length == 1))
return false;
899 if(edt == null || !(edt.length == 3))
return false;
977 if(edt == null || !(edt.length == 6))
return false;
1055 if(edt == null || !(edt.length == 6))
return false;
1120 if(edt == null || !(edt.length == 11))
return false;
1166 if(edt == null || !(edt.length == 109))
return false;
1172 boolean success = super.setProperty(property);
1173 if(success)
return success;
1175 switch(property.
epc) {
1181 default :
return false;
1187 byte[] edt = super.getProperty(epc);
1188 if(edt != null)
return edt;
1207 default :
return null;
1213 boolean valid = super.isValidProperty(property);
1214 if(valid)
return valid;
1216 switch(property.
epc) {
1234 default :
return false;
1244 public Setter
set(
boolean responseRequired) {
1246 ,
getNode().getAddressStr(), responseRequired);
1250 public Getter
get() {
1261 protected Informer
inform(
boolean multicast) {
1266 address =
getNode().getAddressStr();
1272 public static class Receiver
extends DeviceObject.Receiver {
1275 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
1277 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
1278 if(ret)
return true;
1280 switch(property.epc) {
1282 onSetGasMeterClassificationSetting(eoj, tid, esv, property, success);
1285 onSetOwnerClassificationSetting(eoj, tid, esv, property, success);
1288 onSetDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(eoj, tid, esv, property, success);
1291 onSetIdNumberSetting(eoj, tid, esv, property, success);
1294 onSetVerificationExpirationSetting(eoj, tid, esv, property, success);
1302 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
1304 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
1305 if(ret)
return true;
1307 switch(property.epc) {
1309 onGetGasMeterClassificationSetting(eoj, tid, esv, property, success);
1312 onGetOwnerClassificationSetting(eoj, tid, esv, property, success);
1315 onGetMeasuredCumulativeGasConsumption(eoj, tid, esv, property, success);
1318 onGetUnitForMeasuredCumulativeGasConsumption(eoj, tid, esv, property, success);
1321 onGetHistoricalDataOfMeasuredCumulativeGasConsumption(eoj, tid, esv, property, success);
1324 onGetDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(eoj, tid, esv, property, success);
1327 onGetDetectionOfAbnormalValueInMeteringData(eoj, tid, esv, property, success);
1330 onGetSecurityDataInformation(eoj, tid, esv, property, success);
1333 onGetValveClosureByTheCenter(eoj, tid, esv, property, success);
1336 onGetPermissionFromTheCenterToReopenTheValveClosedByTheCenter(eoj, tid, esv, property, success);
1339 onGetEmergencyClosureOfShutoffValve(eoj, tid, esv, property, success);
1342 onGetShutoffValveStatus(eoj, tid, esv, property, success);
1345 onGetHistoricalDataOfShutoffReasons(eoj, tid, esv, property, success);
1348 onGetIdNumberSetting(eoj, tid, esv, property, success);
1351 onGetVerificationExpirationSetting(eoj, tid, esv, property, success);
1354 onGetMeasuredCumulativeGasConsumptionInformationWithDateAndTime(eoj, tid, esv, property, success);
1384 protected void onSetGasMeterClassificationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1408 protected void onGetGasMeterClassificationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1433 protected void onSetOwnerClassificationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1458 protected void onGetOwnerClassificationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1483 protected void onGetMeasuredCumulativeGasConsumption(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1513 protected void onGetUnitForMeasuredCumulativeGasConsumption(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1542 protected void onGetHistoricalDataOfMeasuredCumulativeGasConsumption(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1568 protected void onSetDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1594 protected void onGetDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1618 protected void onGetDetectionOfAbnormalValueInMeteringData(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1643 protected void onGetSecurityDataInformation(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1668 protected void onGetValveClosureByTheCenter(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1693 protected void onGetPermissionFromTheCenterToReopenTheValveClosedByTheCenter(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1718 protected void onGetEmergencyClosureOfShutoffValve(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1742 protected void onGetShutoffValveStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1768 protected void onGetHistoricalDataOfShutoffReasons(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1793 protected void onSetIdNumberSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1818 protected void onGetIdNumberSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1843 protected void onSetVerificationExpirationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1868 protected void onGetVerificationExpirationSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1899 protected void onGetMeasuredCumulativeGasConsumptionInformationWithDateAndTime(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1902 public static class Setter
extends DeviceObject.Setter {
1903 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
1904 , String dstEchoAddress,
boolean responseRequired) {
1905 super(dstEchoClassCode, dstEchoInstanceCode
1906 , dstEchoAddress, responseRequired);
1910 public Setter reqSetProperty(byte epc, byte[] edt) {
1911 return (Setter)super.reqSetProperty(epc, edt);
1915 public Setter reqSetOperationStatus(byte[] edt) {
1916 return (Setter)super.reqSetOperationStatus(edt);
1919 public Setter reqSetInstallationLocation(byte[] edt) {
1920 return (Setter)super.reqSetInstallationLocation(edt);
1923 public Setter reqSetCurrentLimitSetting(byte[] edt) {
1924 return (Setter)super.reqSetCurrentLimitSetting(edt);
1927 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
1928 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
1931 public Setter reqSetRemoteControlSetting(byte[] edt) {
1932 return (Setter)super.reqSetRemoteControlSetting(edt);
1935 public Setter reqSetCurrentTimeSetting(byte[] edt) {
1936 return (Setter)super.reqSetCurrentTimeSetting(edt);
1939 public Setter reqSetCurrentDateSetting(byte[] edt) {
1940 return (Setter)super.reqSetCurrentDateSetting(edt);
1943 public Setter reqSetPowerLimitSetting(byte[] edt) {
1944 return (Setter)super.reqSetPowerLimitSetting(edt);
1970 public Setter reqSetGasMeterClassificationSetting(byte[] edt) {
1998 public Setter reqSetOwnerClassificationSetting(byte[] edt) {
2027 public Setter reqSetDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(byte[] edt) {
2055 public Setter reqSetIdNumberSetting(byte[] edt) {
2083 public Setter reqSetVerificationExpirationSetting(byte[] edt) {
2089 public static class Getter
extends DeviceObject.Getter {
2090 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
2091 , String dstEchoAddress) {
2092 super(dstEchoClassCode, dstEchoInstanceCode
2097 public Getter reqGetProperty(byte epc) {
2098 return (Getter)super.reqGetProperty(epc);
2102 public Getter reqGetOperationStatus() {
2103 return (Getter)super.reqGetOperationStatus();
2106 public Getter reqGetInstallationLocation() {
2107 return (Getter)super.reqGetInstallationLocation();
2110 public Getter reqGetStandardVersionInformation() {
2111 return (Getter)super.reqGetStandardVersionInformation();
2114 public Getter reqGetIdentificationNumber() {
2115 return (Getter)super.reqGetIdentificationNumber();
2118 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
2119 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
2122 public Getter reqGetMeasuredCumulativePowerConsumption() {
2123 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
2126 public Getter reqGetManufacturersFaultCode() {
2127 return (Getter)super.reqGetManufacturersFaultCode();
2130 public Getter reqGetCurrentLimitSetting() {
2131 return (Getter)super.reqGetCurrentLimitSetting();
2134 public Getter reqGetFaultStatus() {
2135 return (Getter)super.reqGetFaultStatus();
2138 public Getter reqGetFaultDescription() {
2139 return (Getter)super.reqGetFaultDescription();
2142 public Getter reqGetManufacturerCode() {
2143 return (Getter)super.reqGetManufacturerCode();
2146 public Getter reqGetBusinessFacilityCode() {
2147 return (Getter)super.reqGetBusinessFacilityCode();
2150 public Getter reqGetProductCode() {
2151 return (Getter)super.reqGetProductCode();
2154 public Getter reqGetProductionNumber() {
2155 return (Getter)super.reqGetProductionNumber();
2158 public Getter reqGetProductionDate() {
2159 return (Getter)super.reqGetProductionDate();
2162 public Getter reqGetPowerSavingOperationSetting() {
2163 return (Getter)super.reqGetPowerSavingOperationSetting();
2166 public Getter reqGetRemoteControlSetting() {
2167 return (Getter)super.reqGetRemoteControlSetting();
2170 public Getter reqGetCurrentTimeSetting() {
2171 return (Getter)super.reqGetCurrentTimeSetting();
2174 public Getter reqGetCurrentDateSetting() {
2175 return (Getter)super.reqGetCurrentDateSetting();
2178 public Getter reqGetPowerLimitSetting() {
2179 return (Getter)super.reqGetPowerLimitSetting();
2182 public Getter reqGetCumulativeOperatingTime() {
2183 return (Getter)super.reqGetCumulativeOperatingTime();
2186 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
2187 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
2190 public Getter reqGetSetPropertyMap() {
2191 return (Getter)super.reqGetSetPropertyMap();
2194 public Getter reqGetGetPropertyMap() {
2195 return (Getter)super.reqGetGetPropertyMap();
2221 public Getter reqGetGasMeterClassificationSetting() {
2249 public Getter reqGetOwnerClassificationSetting() {
2277 public Getter reqGetMeasuredCumulativeGasConsumption() {
2310 public Getter reqGetUnitForMeasuredCumulativeGasConsumption() {
2342 public Getter reqGetHistoricalDataOfMeasuredCumulativeGasConsumption() {
2371 public Getter reqGetDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved() {
2398 public Getter reqGetDetectionOfAbnormalValueInMeteringData() {
2426 public Getter reqGetSecurityDataInformation() {
2454 public Getter reqGetValveClosureByTheCenter() {
2482 public Getter reqGetPermissionFromTheCenterToReopenTheValveClosedByTheCenter() {
2510 public Getter reqGetEmergencyClosureOfShutoffValve() {
2537 public Getter reqGetShutoffValveStatus() {
2566 public Getter reqGetHistoricalDataOfShutoffReasons() {
2594 public Getter reqGetIdNumberSetting() {
2622 public Getter reqGetVerificationExpirationSetting() {
2656 public Getter reqGetMeasuredCumulativeGasConsumptionInformationWithDateAndTime() {
2662 public static class Informer
extends DeviceObject.Informer {
2663 public Informer(
short echoClassCode, byte echoInstanceCode
2665 super(echoClassCode, echoInstanceCode
2666 , dstEchoAddress, isSelfObject);
2670 public Informer reqInformProperty(byte epc) {
2671 return (Informer)super.reqInformProperty(epc);
2674 public Informer reqInformOperationStatus() {
2675 return (Informer)super.reqInformOperationStatus();
2678 public Informer reqInformInstallationLocation() {
2679 return (Informer)super.reqInformInstallationLocation();
2682 public Informer reqInformStandardVersionInformation() {
2683 return (Informer)super.reqInformStandardVersionInformation();
2686 public Informer reqInformIdentificationNumber() {
2687 return (Informer)super.reqInformIdentificationNumber();
2690 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
2691 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
2694 public Informer reqInformMeasuredCumulativePowerConsumption() {
2695 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
2698 public Informer reqInformManufacturersFaultCode() {
2699 return (Informer)super.reqInformManufacturersFaultCode();
2702 public Informer reqInformCurrentLimitSetting() {
2703 return (Informer)super.reqInformCurrentLimitSetting();
2706 public Informer reqInformFaultStatus() {
2707 return (Informer)super.reqInformFaultStatus();
2710 public Informer reqInformFaultDescription() {
2711 return (Informer)super.reqInformFaultDescription();
2714 public Informer reqInformManufacturerCode() {
2715 return (Informer)super.reqInformManufacturerCode();
2718 public Informer reqInformBusinessFacilityCode() {
2719 return (Informer)super.reqInformBusinessFacilityCode();
2722 public Informer reqInformProductCode() {
2723 return (Informer)super.reqInformProductCode();
2726 public Informer reqInformProductionNumber() {
2727 return (Informer)super.reqInformProductionNumber();
2730 public Informer reqInformProductionDate() {
2731 return (Informer)super.reqInformProductionDate();
2734 public Informer reqInformPowerSavingOperationSetting() {
2735 return (Informer)super.reqInformPowerSavingOperationSetting();
2738 public Informer reqInformRemoteControlSetting() {
2739 return (Informer)super.reqInformRemoteControlSetting();
2742 public Informer reqInformCurrentTimeSetting() {
2743 return (Informer)super.reqInformCurrentTimeSetting();
2746 public Informer reqInformCurrentDateSetting() {
2747 return (Informer)super.reqInformCurrentDateSetting();
2750 public Informer reqInformPowerLimitSetting() {
2751 return (Informer)super.reqInformPowerLimitSetting();
2754 public Informer reqInformCumulativeOperatingTime() {
2755 return (Informer)super.reqInformCumulativeOperatingTime();
2758 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
2759 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
2762 public Informer reqInformSetPropertyMap() {
2763 return (Informer)super.reqInformSetPropertyMap();
2766 public Informer reqInformGetPropertyMap() {
2767 return (Informer)super.reqInformGetPropertyMap();
2793 public Informer reqInformGasMeterClassificationSetting() {
2821 public Informer reqInformOwnerClassificationSetting() {
2849 public Informer reqInformMeasuredCumulativeGasConsumption() {
2882 public Informer reqInformUnitForMeasuredCumulativeGasConsumption() {
2914 public Informer reqInformHistoricalDataOfMeasuredCumulativeGasConsumption() {
2943 public Informer reqInformDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved() {
2970 public Informer reqInformDetectionOfAbnormalValueInMeteringData() {
2998 public Informer reqInformSecurityDataInformation() {
3026 public Informer reqInformValveClosureByTheCenter() {
3054 public Informer reqInformPermissionFromTheCenterToReopenTheValveClosedByTheCenter() {
3082 public Informer reqInformEmergencyClosureOfShutoffValve() {
3109 public Informer reqInformShutoffValveStatus() {
3138 public Informer reqInformHistoricalDataOfShutoffReasons() {
3166 public Informer reqInformIdNumberSetting() {
3194 public Informer reqInformVerificationExpirationSetting() {
3228 public Informer reqInformMeasuredCumulativeGasConsumptionInformationWithDateAndTime() {
3234 public static class Proxy
extends SmartGasMeter {
3235 public Proxy(byte instanceCode) {
3262 return setG((byte)0);
3265 public static Setter
setG(byte instanceCode) {
3266 return setG(instanceCode,
true);
3269 public static Setter
setG(
boolean responseRequired) {
3270 return setG((byte)0, responseRequired);
3273 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
3279 return getG((byte)0);
3282 public static Getter
getG(byte instanceCode) {
3291 public static Informer
informG(byte instanceCode) {
boolean setOwnerClassificationSetting(byte[] edt)
boolean setVerificationExpirationSetting(byte[] edt)
static final byte EPC_HISTORICAL_DATA_OF_SHUTOFF_REASONS
static final byte EPC_MEASURED_CUMULATIVE_GAS_CONSUMPTION
boolean setIdNumberSetting(byte[] edt)
byte[] getPermissionFromTheCenterToReopenTheValveClosedByTheCenter()
static final short ECHO_CLASS_CODE
static final byte EPC_HISTORICAL_DATA_OF_MEASURED_CUMULATIVE_GAS_CONSUMPTION
static final byte EPC_MEASURED_CUMULATIVE_GAS_CONSUMPTION_INFORMATION_WITH_DATE_AND_TIME
boolean isValidHistoricalDataOfMeasuredCumulativeGasConsumption(byte[] edt)
byte[] getHistoricalDataOfMeasuredCumulativeGasConsumption()
static Informer informG(byte instanceCode)
static Getter getG(byte instanceCode)
byte[] getGasMeterClassificationSetting()
abstract byte[] getMeasuredCumulativeGasConsumption()
static final byte EPC_HISTORICAL_INFORMATION_OF_CUMULATIVE_GAS_CONSUMPTION
boolean isValidUnitForMeasuredCumulativeGasConsumption(byte[] edt)
final void removeSetProperty(byte epc)
boolean isValidOwnerClassificationSetting(byte[] edt)
final void addStatusChangeAnnouncementProperty(byte epc)
boolean setOperationStatus(byte[] edt)
static final byte EPC_PERMISSION_FROM_THE_CENTER_TO_REOPEN_THE_VALVE_CLOSED_BY_THE_CENTER
boolean isValidMeasuredCumulativeGasConsumptionInformationWithDateAndTime(byte[] edt)
abstract byte[] getInstallationLocation()
boolean isValidDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(byte[] edt)
final void addGetProperty(byte epc)
synchronized byte[] getProperty(byte epc)
Setter set(boolean responseRequired)
byte[] getValveClosureByTheCenter()
byte[] getVerificationExpirationSetting()
static final byte EPC_UNIT_FOR_MEASURED_CUMULATIVE_GAS_CONSUMPTION
boolean isValidEmergencyClosureOfShutoffValve(byte[] edt)
boolean setDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved(byte[] edt)
static final byte EPC_SECURITY_DATA_INFORMATION
static final byte EPC_VALVE_CLOSURE_BY_THE_CENTER
abstract byte[] getFaultStatus()
static final byte EPC_ID_NUMBER_SETTING
byte[] getHistoricalDataOfShutoffReasons()
boolean isValidIdNumberSetting(byte[] edt)
boolean setGasMeterClassificationSetting(byte[] edt)
synchronized boolean isValidProperty(EchoProperty property)
byte[] getDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved()
static final byte EPC_DETECTION_OF_ABNORMAL_VALUE_IN_METERING_DATA
static final byte EPC_GAS_METER_CLASSIFICATION_SETTING
byte[] getDetectionOfAbnormalValueInMeteringData()
synchronized boolean setProperty(EchoProperty property)
boolean isValidMeasuredCumulativeGasConsumption(byte[] edt)
static Setter setG(byte instanceCode)
static Informer informG()
abstract byte[] getManufacturerCode()
Informer inform(boolean multicast)
boolean isValidHistoricalInformationOfCumulativeGasConsumption(byte[] edt)
boolean isValidDetectionOfAbnormalValueInMeteringData(byte[] edt)
byte[] getEmergencyClosureOfShutoffValve()
boolean isValidSecurityDataInformation(byte[] edt)
static Setter setG(byte instanceCode, boolean responseRequired)
byte[] getShutoffValveStatus()
boolean isValidValveClosureByTheCenter(byte[] edt)
boolean isValidHistoricalDataOfShutoffReasons(byte[] edt)
boolean isValidGasMeterClassificationSetting(byte[] edt)
static final byte EPC_EMERGENCY_CLOSURE_OF_SHUTOFF_VALVE
static final byte EPC_OWNER_CLASSIFICATION_SETTING
abstract byte[] getOperationStatus()
boolean isValidVerificationExpirationSetting(byte[] edt)
static final byte EPC_DAY_SETTING_FOR_WHICH_THE_HISTORICAL_DATA_OF_MEASURED_CUMULATIVE_GAS_CONSUMPTION_IS_TO_BE_RETRIEVED
byte[] getUnitForMeasuredCumulativeGasConsumption()
static final byte EPC_OPERATION_STATUS
byte[] getIdNumberSetting()
byte[] getStandardVersionInformation()
boolean isValidShutoffValveStatus(byte[] edt)
boolean isValidPermissionFromTheCenterToReopenTheValveClosedByTheCenter(byte[] edt)
abstract byte[] getMeasuredCumulativeGasConsumptionInformationWithDateAndTime()
static Setter setG(boolean responseRequired)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
static final byte EPC_VERIFICATION_EXPIRATION_SETTING
byte[] getOwnerClassificationSetting()
byte[] getSecurityDataInformation()
final boolean isSelfObject()
static final byte EPC_SHUTOFF_VALVE_STATUS