OpenECHO
 All Classes Namespaces Files Functions Variables
Classes | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter Class Referenceabstract
Inheritance diagram for com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter:
com.sonycsl.echo.eoj.device.DeviceObject com.sonycsl.echo.eoj.EchoObject

Classes

class  Getter
 
class  Informer
 
class  Proxy
 
class  Receiver
 
class  Setter
 

Public Member Functions

void onNew ()
 
short getEchoClassCode ()
 
Setter set ()
 
Setter set (boolean responseRequired)
 
Getter get ()
 
Informer inform ()
 
- Public Member Functions inherited from com.sonycsl.echo.eoj.device.DeviceObject
byte getInstanceCode ()
 
void allocateSelfDeviceInstanceCode ()
 
void onNew ()
 
Setter set ()
 
Setter set (boolean responseRequired)
 
Getter get ()
 
Informer inform ()
 
- Public Member Functions inherited from com.sonycsl.echo.eoj.EchoObject
 EchoObject ()
 
void onNew ()
 
void onFound ()
 
final byte[] getStatusChangeAnnouncementProperties ()
 
final byte[] getSetProperties ()
 
final byte[] getGetProperties ()
 
String toString ()
 
final byte getClassGroupCode ()
 
final byte getClassCode ()
 
abstract byte getInstanceCode ()
 
abstract short getEchoClassCode ()
 
final int getEchoObjectCode ()
 
final void setNode (EchoNode node)
 
final EchoNode getNode ()
 
final void removeNode ()
 
final boolean isSelfObject ()
 
final boolean isProxy ()
 
final void setReceiver (Receiver receiver)
 
final Receiver getReceiver ()
 
final EchoFrame onReceiveRequest (EchoFrame frame)
 
Setter set ()
 
Setter set (boolean responseRequired)
 
Getter get ()
 
Informer inform ()
 

Static Public Member Functions

static Setter setG ()
 
static Setter setG (byte instanceCode)
 
static Setter setG (boolean responseRequired)
 
static Setter setG (byte instanceCode, boolean responseRequired)
 
static Getter getG ()
 
static Getter getG (byte instanceCode)
 
static Informer informG ()
 
static Informer informG (byte instanceCode)
 

Static Public Attributes

static final short ECHO_CLASS_CODE = (short)0x0289
 
static final byte EPC_GAS_METER_CLASSIFICATION_SETTING = (byte)0xE0
 
static final byte EPC_OWNER_CLASSIFICATION_SETTING = (byte)0xE1
 
static final byte EPC_MEASURED_CUMULATIVE_GAS_CONSUMPTION = (byte)0xE2
 
static final byte EPC_UNIT_FOR_MEASURED_CUMULATIVE_GAS_CONSUMPTION = (byte)0xE3
 
static final byte EPC_HISTORICAL_DATA_OF_MEASURED_CUMULATIVE_GAS_CONSUMPTION = (byte)0xE4
 
static final byte EPC_DAY_SETTING_FOR_WHICH_THE_HISTORICAL_DATA_OF_MEASURED_CUMULATIVE_GAS_CONSUMPTION_IS_TO_BE_RETRIEVED = (byte)0xE5
 
static final byte EPC_DETECTION_OF_ABNORMAL_VALUE_IN_METERING_DATA = (byte)0xE6
 
static final byte EPC_SECURITY_DATA_INFORMATION = (byte)0xE7
 
static final byte EPC_VALVE_CLOSURE_BY_THE_CENTER = (byte)0xE8
 
static final byte EPC_PERMISSION_FROM_THE_CENTER_TO_REOPEN_THE_VALVE_CLOSED_BY_THE_CENTER = (byte)0xE9
 
static final byte EPC_EMERGENCY_CLOSURE_OF_SHUTOFF_VALVE = (byte)0xEA
 
static final byte EPC_SHUTOFF_VALVE_STATUS = (byte)0xEB
 
static final byte EPC_HISTORICAL_DATA_OF_SHUTOFF_REASONS = (byte)0xEC
 
static final byte EPC_ID_NUMBER_SETTING = (byte)0xED
 
static final byte EPC_VERIFICATION_EXPIRATION_SETTING = (byte)0xEE
 
static final byte EPC_MEASURED_CUMULATIVE_GAS_CONSUMPTION_INFORMATION_WITH_DATE_AND_TIME = (byte)0xD0
 
static final byte EPC_HISTORICAL_INFORMATION_OF_CUMULATIVE_GAS_CONSUMPTION = (byte)0xD1
 
- Static Public Attributes inherited from com.sonycsl.echo.eoj.device.DeviceObject
static final byte EPC_OPERATION_STATUS = (byte)0x80
 
static final byte EPC_INSTALLATION_LOCATION = (byte)0x81
 
static final byte EPC_STANDARD_VERSION_INFORMATION = (byte)0x82
 
static final byte EPC_IDENTIFICATION_NUMBER = (byte)0x83
 
static final byte EPC_MEASURED_INSTANTANEOUS_POWER_CONSUMPTION = (byte)0x84
 
static final byte EPC_MEASURED_CUMULATIVE_POWER_CONSUMPTION = (byte)0x85
 
static final byte EPC_MANUFACTURERS_FAULT_CODE = (byte)0x86
 
static final byte EPC_CURRENT_LIMIT_SETTING = (byte)0x87
 
static final byte EPC_FAULT_STATUS = (byte)0x88
 
static final byte EPC_FAULT_DESCRIPTION = (byte)0x89
 
static final byte EPC_MANUFACTURER_CODE = (byte)0x8A
 
static final byte EPC_BUSINESS_FACILITY_CODE = (byte)0x8B
 
static final byte EPC_PRODUCT_CODE = (byte)0x8C
 
static final byte EPC_PRODUCTION_NUMBER = (byte)0x8D
 
static final byte EPC_PRODUCTION_DATE = (byte)0x8E
 
static final byte EPC_POWER_SAVING_OPERATION_SETTING = (byte)0x8F
 
static final byte EPC_REMOTE_CONTROL_SETTING = (byte)0x93
 
static final byte EPC_CURRENT_TIME_SETTING = (byte)0x97
 
static final byte EPC_CURRENT_DATE_SETTING = (byte)0x98
 
static final byte EPC_POWER_LIMIT_SETTING = (byte)0x99
 
static final byte EPC_CUMULATIVE_OPERATING_TIME = (byte)0x9A
 
static final byte EPC_STATUS_CHANGE_ANNOUNCEMENT_PROPERTY_MAP = (byte)0x9D
 
static final byte EPC_SET_PROPERTY_MAP = (byte)0x9E
 
static final byte EPC_GET_PROPERTY_MAP = (byte)0x9F
 
static final byte[] EDT_OPERATION_STATUS_ON = {(byte)0x30}
 
static final byte[] EDT_OPERATION_STATUS_OFF = {(byte)0x31}
 
static final byte[] EDT_STANDARD_VERSION_INFORMATION = {(byte)0x00, (byte)0x00, (byte)0x41, (byte)0x00}
 

Protected Member Functions

void setupPropertyMaps ()
 
boolean setOperationStatus (byte[] edt)
 
abstract byte[] getOperationStatus ()
 
boolean setGasMeterClassificationSetting (byte[] edt)
 
byte[] getGasMeterClassificationSetting ()
 
boolean isValidGasMeterClassificationSetting (byte[] edt)
 
boolean setOwnerClassificationSetting (byte[] edt)
 
byte[] getOwnerClassificationSetting ()
 
boolean isValidOwnerClassificationSetting (byte[] edt)
 
abstract byte[] getMeasuredCumulativeGasConsumption ()
 
boolean isValidMeasuredCumulativeGasConsumption (byte[] edt)
 
byte[] getUnitForMeasuredCumulativeGasConsumption ()
 
boolean isValidUnitForMeasuredCumulativeGasConsumption (byte[] edt)
 
byte[] getHistoricalDataOfMeasuredCumulativeGasConsumption ()
 
boolean isValidHistoricalDataOfMeasuredCumulativeGasConsumption (byte[] edt)
 
boolean setDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved (byte[] edt)
 
byte[] getDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved ()
 
boolean isValidDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved (byte[] edt)
 
byte[] getDetectionOfAbnormalValueInMeteringData ()
 
boolean isValidDetectionOfAbnormalValueInMeteringData (byte[] edt)
 
byte[] getSecurityDataInformation ()
 
boolean isValidSecurityDataInformation (byte[] edt)
 
byte[] getValveClosureByTheCenter ()
 
boolean isValidValveClosureByTheCenter (byte[] edt)
 
byte[] getPermissionFromTheCenterToReopenTheValveClosedByTheCenter ()
 
boolean isValidPermissionFromTheCenterToReopenTheValveClosedByTheCenter (byte[] edt)
 
byte[] getEmergencyClosureOfShutoffValve ()
 
boolean isValidEmergencyClosureOfShutoffValve (byte[] edt)
 
byte[] getShutoffValveStatus ()
 
boolean isValidShutoffValveStatus (byte[] edt)
 
byte[] getHistoricalDataOfShutoffReasons ()
 
boolean isValidHistoricalDataOfShutoffReasons (byte[] edt)
 
boolean setIdNumberSetting (byte[] edt)
 
byte[] getIdNumberSetting ()
 
boolean isValidIdNumberSetting (byte[] edt)
 
boolean setVerificationExpirationSetting (byte[] edt)
 
byte[] getVerificationExpirationSetting ()
 
boolean isValidVerificationExpirationSetting (byte[] edt)
 
abstract byte[] getMeasuredCumulativeGasConsumptionInformationWithDateAndTime ()
 
boolean isValidMeasuredCumulativeGasConsumptionInformationWithDateAndTime (byte[] edt)
 
boolean isValidHistoricalInformationOfCumulativeGasConsumption (byte[] edt)
 
synchronized boolean setProperty (EchoProperty property)
 
synchronized byte[] getProperty (byte epc)
 
synchronized boolean isValidProperty (EchoProperty property)
 
Informer inform (boolean multicast)
 
- Protected Member Functions inherited from com.sonycsl.echo.eoj.device.DeviceObject
void setupPropertyMaps ()
 
synchronized boolean setProperty (EchoProperty property)
 
synchronized byte[] getProperty (byte epc)
 
synchronized boolean isValidProperty (EchoProperty property)
 
boolean setOperationStatus (byte[] edt)
 
abstract byte[] getOperationStatus ()
 
boolean isValidOperationStatus (byte[] edt)
 
abstract boolean setInstallationLocation (byte[] edt)
 
abstract byte[] getInstallationLocation ()
 
boolean isValidInstallationLocation (byte[] edt)
 
byte[] getStandardVersionInformation ()
 
boolean isValidStandardVersionInformation (byte[] edt)
 
byte[] getIdentificationNumber ()
 
boolean isValidIdentificationNumber (byte[] edt)
 
byte[] getMeasuredInstantaneousPowerConsumption ()
 
boolean isValidMeasuredInstantaneousPowerConsumption (byte[] edt)
 
byte[] getMeasuredCumulativePowerConsumption ()
 
boolean isValidMeasuredCumulativePowerConsumption (byte[] edt)
 
byte[] getManufacturersFaultCode ()
 
boolean isValidManufacturersFaultCode (byte[] edt)
 
boolean setCurrentLimitSetting (byte[] edt)
 
byte[] getCurrentLimitSetting ()
 
boolean isValidCurrentLimitSetting (byte[] edt)
 
abstract byte[] getFaultStatus ()
 
boolean isValidFaultStatus (byte[] edt)
 
byte[] getFaultDescription ()
 
boolean isValidFaultDescription (byte[] edt)
 
abstract byte[] getManufacturerCode ()
 
boolean isValidManufacturerCode (byte[] edt)
 
byte[] getBusinessFacilityCode ()
 
boolean isValidBusinessFacilityCode (byte[] edt)
 
byte[] getProductCode ()
 
boolean isValidProductCode (byte[] edt)
 
byte[] getProductionNumber ()
 
boolean isValidProductionNumber (byte[] edt)
 
byte[] getProductionDate ()
 
boolean isValidProductionDate (byte[] edt)
 
boolean setPowerSavingOperationSetting (byte[] edt)
 
byte[] getPowerSavingOperationSetting ()
 
boolean isValidPowerSavingOperationSetting (byte[] edt)
 
boolean setRemoteControlSetting (byte[] edt)
 
byte[] getRemoteControlSetting ()
 
boolean isValidRemoteControlSetting (byte[] edt)
 
boolean setCurrentTimeSetting (byte[] edt)
 
byte[] getCurrentTimeSetting ()
 
boolean isValidCurrentTimeSetting (byte[] edt)
 
boolean setCurrentDateSetting (byte edt[])
 
byte[] getCurrentDateSetting ()
 
boolean isValidCurrentDateSetting (byte[] edt)
 
boolean setPowerLimitSetting (byte[] edt)
 
byte[] getPowerLimitSetting ()
 
boolean isValidPowerLimitSetting (byte[] edt)
 
byte[] getCumulativeOperatingTime ()
 
boolean isValidCumulativeOperatingTime (byte[] edt)
 
byte[] getStatusChangeAnnouncementPropertyMap ()
 
boolean isValidStatusChangeAnnouncementPropertyMap (byte[] edt)
 
byte[] getSetPropertyMap ()
 
boolean isValidSetPropertyMap (byte[] edt)
 
byte[] getGetPropertyMap ()
 
boolean isValidGetPropertyMap (byte[] edt)
 
Informer inform (boolean multicast)
 
- Protected Member Functions inherited from com.sonycsl.echo.eoj.EchoObject
void setupPropertyMaps ()
 
final void addStatusChangeAnnouncementProperty (byte epc)
 
final void removeStatusChangeAnnouncementProperty (byte epc)
 
final void clearStatusChangeAnnouncementProperties ()
 
final void addSetProperty (byte epc)
 
final void removeSetProperty (byte epc)
 
final void clearSetProperties ()
 
final void addGetProperty (byte epc)
 
final void removeGetProperty (byte epc)
 
final void clearGetProperties ()
 
synchronized boolean setProperty (EchoProperty property)
 
synchronized byte[] getProperty (byte epc)
 
synchronized boolean isValidProperty (EchoProperty property)
 
final void onReceiveSetRequest (EchoProperty property, EchoFrame response)
 
final void onReceiveGetRequest (byte epc, EchoFrame response)
 
Informer inform (boolean multicast)
 
InformerC informC (String address)
 

Additional Inherited Members

- Protected Attributes inherited from com.sonycsl.echo.eoj.device.DeviceObject
byte mEchoInstanceCode = 0
 

Detailed Description

Definition at line 26 of file SmartGasMeter.java.

Member Function Documentation

Getter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.get ( )

Definition at line 1250 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved ( )
protected

Property name : Day setting for which the historical data of measured cumulative gas consumption is to be retrieved

EPC : 0xE5

Contents of property :
This property indicates the day for which the historical data of measured cumulative gas consumption (which consists of 48 pieces of half-hourly data for the preceding 24 hours) is to be retrieved.

Value range (decimal notation) :
0x00.0x63 (0.99)
0: current day
1.99: previous day.day that precedes the current day by 99 days

Data type : unsigned char

Data size : 1 byte

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 503 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getDetectionOfAbnormalValueInMeteringData ( )
protected

Property name : Detection of abnormal value in metering data

EPC : 0xE6

Contents of property :
This property indicates whether the meter has detected an abnormal value in the metering data.

Value range (decimal notation) :
Abnormal value detected: 0x41 No abnormal value detected: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 556 of file SmartGasMeter.java.

short com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getEchoClassCode ( )

Definition at line 66 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getEmergencyClosureOfShutoffValve ( )
protected

Property name : Emergency closure of shutoff valve

EPC : 0xEA

Contents of property :
This property indicates whether the gas shutoff valve of the meter has been closed in response to an emergency.

Value range (decimal notation) :
Emergency closure of the shutoff valve has occurred: 0x41
No emergency closure of the shutoff valve has occurred: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 767 of file SmartGasMeter.java.

static Getter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getG ( )
static

Definition at line 3278 of file SmartGasMeter.java.

static Getter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getG ( byte  instanceCode)
static

Definition at line 3282 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getGasMeterClassificationSetting ( )
protected

Property name : Gas meter classification setting

EPC : 0xE0

Contents of property :
This property indicates the type of the gas meter.

Value range (decimal notation) :
0x30: city gas 0x31: LP gas 0x32: natural gas 0x33: others

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 169 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getHistoricalDataOfMeasuredCumulativeGasConsumption ( )
protected

Property name : Historical data of measured cumulative gas consumption

EPC : 0xE4

Contents of property :
This property indicates the day for which the historical data of measured cumulative gas consumption is to be retrieved and the historical data of measured cumulative gas consumption, which consists of 48 pieces of half-hourly data for the preceding 24 hours.

Value range (decimal notation) :
0x0000.0x0063:
0x0.0x3B9AC9FF (0.99) : (0.999,999.999)

Data type : unsigned short +unsigne d long ×48

Data size : 194 bytes

Unit : 0.001 m3

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 419 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getHistoricalDataOfShutoffReasons ( )
protected

Property name : Historical data of shutoff reasons

EPC : 0xEC

Contents of property :
This property indicates the reasons for the 3 past shutoff valve-based gas shutoffs by means of bit assignment with one byte used for each of the 3 shutoff reasons.
Historical data3: Historical data2: Historical data 1

Value range (decimal notation) :
0xFF: 0xFF: 0xFF

Data type : unsigned char ×3

Data size : 3 bytes

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 872 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getIdNumberSetting ( )
protected

Property name : ID number setting

EPC : 0xED

Contents of property :
This property indicates the ID number of the meter.

Value range (decimal notation) :
000000.FFFFFF
(Initial value : “000000”)

Data type : unsigned char

Data size : 6 bytes

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 951 of file SmartGasMeter.java.

abstract byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getMeasuredCumulativeGasConsumption ( )
abstractprotected

Property name : Measured cumulative gas consumption

EPC : 0xE2

Contents of property :
This property indicates the measured cumulative gas consumption in m3.

Value range (decimal notation) :
0.0x3B9AC9FF (0.999,999,999)

Data type : unsigned long

Data size : 4 bytes

Unit : 0.001 m3

Access rule :
Announce - undefined
Set - undefined
Get - mandatory

abstract byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getMeasuredCumulativeGasConsumptionInformationWithDateAndTime ( )
abstractprotected

Property name : Measured cumulative gas consumption information with date and time

EPC : 0xD0

Contents of property :
This property indicates the cumulative gas consumption and the date and time of measurement.
Date of measurement: YYYY:MM:DD
Time of measurement: HH:MM:SS
Cumulative gas consumption: 9 digits

Value range (decimal notation) :
1.4 bytes: 0.0x270f:1.0x0C:1.0x1F (=0.9999):(=1.12):(1.31)
5.7 bytes: 0.0x17:0.0x3B:0.-0x3B (=0.23):(=0.59): (=0.59)
8.11 bytes: 0x00000000.0x3B9AC9FF
(0.999,999,999)

Data type : unsigne d char×4+ unsigne d char×3+ unsigne d long

Data size : 11 bytes

Unit : null

Access rule :
Announce - undefined
Set - undefined
Get - mandatory

abstract byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getOperationStatus ( )
abstractprotected

Property name : Operation status

EPC : 0x80

Contents of property :
This property indicates the ON/OFF status.

Value range (decimal notation) :
ON=0x30, OFF=0x31

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - mandatory

Announcement at status change

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getOwnerClassificationSetting ( )
protected

Property name : Owner classification setting

EPC : 0xE1

Contents of property :
This property indicates the type of owner of the meter.

Value range (decimal notation) :
0x30: not specified 0x31: city gas 0x32: LP gas
0x33: private-sector company 0x34: individual

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 246 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getPermissionFromTheCenterToReopenTheValveClosedByTheCenter ( )
protected

Property name : Permission from the Center to reopen the valve closed by the Center

EPC : 0xE9

Contents of property :
This property indicates whether permission has been given by the Center to reopen the gas shutoff valve of the meter closed by the Center.

Value range (decimal notation) :
Permission has been given by the Center to reopen the gas shutoff valve closed by the Center: 0x41
Permission to reopen the gas shutoff valve closed by the Center has not been given by the Center: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 714 of file SmartGasMeter.java.

synchronized byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getProperty ( byte  epc)
protected

Definition at line 1186 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getSecurityDataInformation ( )
protected

Property name : Security data information

EPC : 0xE7

Contents of property :
Provides security information about the abnormal states detected by the meter in the form of security data that identifies the abnormal states by means of bit assignment.

Value range (decimal notation) :
For details, refer to the explanations under (9).

Data type : unsigned char ×10

Data size : 10 bytes

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 608 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getShutoffValveStatus ( )
protected

Property name : Shutoff valve status

EPC : 0xEB

Contents of property :
This property indicates whether the shutoff valve is open or closed.

Value range (decimal notation) :
Shutoff valve open: 0x41 Shutoff valve closed: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 819 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getUnitForMeasuredCumulativeGasConsumption ( )
protected

Property name : Unit for measured cumulative gas consumption

EPC : 0xE3

Contents of property :
This property indicates the unit (multiplying factor) for the measured cumulative gas consumption and the historical data of measured cumulative gas consumption.

Value range (decimal notation) :
0x00: 1m3
0x01: 0.1m3
0x02: 0.01m3
0x03: 0.001m3
0x04: 0.0001m3
0x05: 0.00001m3
0x06: 0.000001m3

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 357 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getValveClosureByTheCenter ( )
protected

Property name : Valve closure by the Center

EPC : 0xE8

Contents of property :
This property indicates whether the Center has closed the gas shutoff valve of the meter.

Value range (decimal notation) :
Center has closed the valve: 0x41 Center has not closed the valve:
0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 661 of file SmartGasMeter.java.

byte [] com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.getVerificationExpirationSetting ( )
protected

Property name : Verification expiration setting

EPC : 0xEE

Contents of property :
This property indicates the month and year in which the verification of the meter will expire.

Value range (decimal notation) :
YYYYMM
YYYY (Year), MM (Month)

Data type : unsigned char

Data size : 6 bytes

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 1029 of file SmartGasMeter.java.

Informer com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.inform ( )

Definition at line 1256 of file SmartGasMeter.java.

Informer com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.inform ( boolean  multicast)
protected

Definition at line 1261 of file SmartGasMeter.java.

static Informer com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.informG ( )
static

Definition at line 3287 of file SmartGasMeter.java.

static Informer com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.informG ( byte  instanceCode)
static

Definition at line 3291 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved ( byte[]  edt)
protected

Property name : Day setting for which the historical data of measured cumulative gas consumption is to be retrieved

EPC : 0xE5

Contents of property :
This property indicates the day for which the historical data of measured cumulative gas consumption (which consists of 48 pieces of half-hourly data for the preceding 24 hours) is to be retrieved.

Value range (decimal notation) :
0x00.0x63 (0.99)
0: current day
1.99: previous day.day that precedes the current day by 99 days

Data type : unsigned char

Data size : 1 byte

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 529 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidDetectionOfAbnormalValueInMeteringData ( byte[]  edt)
protected

Property name : Detection of abnormal value in metering data

EPC : 0xE6

Contents of property :
This property indicates whether the meter has detected an abnormal value in the metering data.

Value range (decimal notation) :
Abnormal value detected: 0x41 No abnormal value detected: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 580 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidEmergencyClosureOfShutoffValve ( byte[]  edt)
protected

Property name : Emergency closure of shutoff valve

EPC : 0xEA

Contents of property :
This property indicates whether the gas shutoff valve of the meter has been closed in response to an emergency.

Value range (decimal notation) :
Emergency closure of the shutoff valve has occurred: 0x41
No emergency closure of the shutoff valve has occurred: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 792 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidGasMeterClassificationSetting ( byte[]  edt)
protected

Property name : Gas meter classification setting

EPC : 0xE0

Contents of property :
This property indicates the type of the gas meter.

Value range (decimal notation) :
0x30: city gas 0x31: LP gas 0x32: natural gas 0x33: others

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 193 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidHistoricalDataOfMeasuredCumulativeGasConsumption ( byte[]  edt)
protected

Property name : Historical data of measured cumulative gas consumption

EPC : 0xE4

Contents of property :
This property indicates the day for which the historical data of measured cumulative gas consumption is to be retrieved and the historical data of measured cumulative gas consumption, which consists of 48 pieces of half-hourly data for the preceding 24 hours.

Value range (decimal notation) :
0x0000.0x0063:
0x0.0x3B9AC9FF (0.99) : (0.999,999.999)

Data type : unsigned short +unsigne d long ×48

Data size : 194 bytes

Unit : 0.001 m3

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 448 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidHistoricalDataOfShutoffReasons ( byte[]  edt)
protected

Property name : Historical data of shutoff reasons

EPC : 0xEC

Contents of property :
This property indicates the reasons for the 3 past shutoff valve-based gas shutoffs by means of bit assignment with one byte used for each of the 3 shutoff reasons.
Historical data3: Historical data2: Historical data 1

Value range (decimal notation) :
0xFF: 0xFF: 0xFF

Data type : unsigned char ×3

Data size : 3 bytes

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 898 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidHistoricalInformationOfCumulativeGasConsumption ( byte[]  edt)
protected

Property name : Historical information of cumulative gas consumption

EPC : 0xD1

Contents of property :
This property indicates the historical information of gas consumption measured at every hour, the date and time of history start, cumulative gas consumption at history start and cumulative time interval.
Date: YYYY:MM:DD Time: HH:MM:SS
Historical information of gas consumption
Cumulative gas consumption at history start
Cumulative time interval: 5 digits, every minute

Value range (decimal notation) :
1.4 bytes:
0.0x270f:1.0x0C:1.0x1F
(=0.9999):(=1.12):(1.31)
5.7 bytes:
0.0x17:0.0x3B:0.0x3B
(=0.23):(=0.59):(=0.59)
8.103 bytes:
0x00000000.0x0001869F×24
(0.99.999m3)×24
104.107 bytes:
0x00000000.0x3B9AC9FF
(0.999,999,999 m3)
108.109 bytes:
0x0001.0xFFFF
(1.65535)

Data type : unsigne d char×4+ unsigne d char×3+ unsigne d long×24 +unsign ed long+un signed short

Data size : 109 bytes

Unit : null

Access rule :
Announce - undefined
Set - undefined
Get - undefined

Definition at line 1165 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidIdNumberSetting ( byte[]  edt)
protected

Property name : ID number setting

EPC : 0xED

Contents of property :
This property indicates the ID number of the meter.

Value range (decimal notation) :
000000.FFFFFF
(Initial value : “000000”)

Data type : unsigned char

Data size : 6 bytes

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 976 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidMeasuredCumulativeGasConsumption ( byte[]  edt)
protected

Property name : Measured cumulative gas consumption

EPC : 0xE2

Contents of property :
This property indicates the measured cumulative gas consumption in m3.

Value range (decimal notation) :
0.0x3B9AC9FF (0.999,999,999)

Data type : unsigned long

Data size : 4 bytes

Unit : 0.001 m3

Access rule :
Announce - undefined
Set - undefined
Get - mandatory

Definition at line 324 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidMeasuredCumulativeGasConsumptionInformationWithDateAndTime ( byte[]  edt)
protected

Property name : Measured cumulative gas consumption information with date and time

EPC : 0xD0

Contents of property :
This property indicates the cumulative gas consumption and the date and time of measurement.
Date of measurement: YYYY:MM:DD
Time of measurement: HH:MM:SS
Cumulative gas consumption: 9 digits

Value range (decimal notation) :
1.4 bytes: 0.0x270f:1.0x0C:1.0x1F (=0.9999):(=1.12):(1.31)
5.7 bytes: 0.0x17:0.0x3B:0.-0x3B (=0.23):(=0.59): (=0.59)
8.11 bytes: 0x00000000.0x3B9AC9FF
(0.999,999,999)

Data type : unsigne d char×4+ unsigne d char×3+ unsigne d long

Data size : 11 bytes

Unit : null

Access rule :
Announce - undefined
Set - undefined
Get - mandatory

Definition at line 1119 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidOwnerClassificationSetting ( byte[]  edt)
protected

Property name : Owner classification setting

EPC : 0xE1

Contents of property :
This property indicates the type of owner of the meter.

Value range (decimal notation) :
0x30: not specified 0x31: city gas 0x32: LP gas
0x33: private-sector company 0x34: individual

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 271 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidPermissionFromTheCenterToReopenTheValveClosedByTheCenter ( byte[]  edt)
protected

Property name : Permission from the Center to reopen the valve closed by the Center

EPC : 0xE9

Contents of property :
This property indicates whether permission has been given by the Center to reopen the gas shutoff valve of the meter closed by the Center.

Value range (decimal notation) :
Permission has been given by the Center to reopen the gas shutoff valve closed by the Center: 0x41
Permission to reopen the gas shutoff valve closed by the Center has not been given by the Center: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 739 of file SmartGasMeter.java.

synchronized boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidProperty ( EchoProperty  property)
protected

Definition at line 1212 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidSecurityDataInformation ( byte[]  edt)
protected

Property name : Security data information

EPC : 0xE7

Contents of property :
Provides security information about the abnormal states detected by the meter in the form of security data that identifies the abnormal states by means of bit assignment.

Value range (decimal notation) :
For details, refer to the explanations under (9).

Data type : unsigned char ×10

Data size : 10 bytes

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 633 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidShutoffValveStatus ( byte[]  edt)
protected

Property name : Shutoff valve status

EPC : 0xEB

Contents of property :
This property indicates whether the shutoff valve is open or closed.

Value range (decimal notation) :
Shutoff valve open: 0x41 Shutoff valve closed: 0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 843 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidUnitForMeasuredCumulativeGasConsumption ( byte[]  edt)
protected

Property name : Unit for measured cumulative gas consumption

EPC : 0xE3

Contents of property :
This property indicates the unit (multiplying factor) for the measured cumulative gas consumption and the historical data of measured cumulative gas consumption.

Value range (decimal notation) :
0x00: 1m3
0x01: 0.1m3
0x02: 0.01m3
0x03: 0.001m3
0x04: 0.0001m3
0x05: 0.00001m3
0x06: 0.000001m3

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 387 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidValveClosureByTheCenter ( byte[]  edt)
protected

Property name : Valve closure by the Center

EPC : 0xE8

Contents of property :
This property indicates whether the Center has closed the gas shutoff valve of the meter.

Value range (decimal notation) :
Center has closed the valve: 0x41 Center has not closed the valve:
0x42

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - undefined
Get - optional

Definition at line 686 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.isValidVerificationExpirationSetting ( byte[]  edt)
protected

Property name : Verification expiration setting

EPC : 0xEE

Contents of property :
This property indicates the month and year in which the verification of the meter will expire.

Value range (decimal notation) :
YYYYMM
YYYY (Year), MM (Month)

Data type : unsigned char

Data size : 6 bytes

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 1054 of file SmartGasMeter.java.

void com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.onNew ( )

Definition at line 60 of file SmartGasMeter.java.

Setter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.set ( )

Definition at line 1239 of file SmartGasMeter.java.

Setter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.set ( boolean  responseRequired)

Definition at line 1244 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setDaySettingForWhichTheHistoricalDataOfMeasuredCumulativeGasConsumptionIsToBeRetrieved ( byte[]  edt)
protected

Property name : Day setting for which the historical data of measured cumulative gas consumption is to be retrieved

EPC : 0xE5

Contents of property :
This property indicates the day for which the historical data of measured cumulative gas consumption (which consists of 48 pieces of half-hourly data for the preceding 24 hours) is to be retrieved.

Value range (decimal notation) :
0x00.0x63 (0.99)
0: current day
1.99: previous day.day that precedes the current day by 99 days

Data type : unsigned char

Data size : 1 byte

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 477 of file SmartGasMeter.java.

static Setter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setG ( )
static

Definition at line 3261 of file SmartGasMeter.java.

static Setter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setG ( byte  instanceCode)
static

Definition at line 3265 of file SmartGasMeter.java.

static Setter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setG ( boolean  responseRequired)
static

Definition at line 3269 of file SmartGasMeter.java.

static Setter com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setG ( byte  instanceCode,
boolean  responseRequired 
)
static

Definition at line 3273 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setGasMeterClassificationSetting ( byte[]  edt)
protected

Property name : Gas meter classification setting

EPC : 0xE0

Contents of property :
This property indicates the type of the gas meter.

Value range (decimal notation) :
0x30: city gas 0x31: LP gas 0x32: natural gas 0x33: others

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 145 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setIdNumberSetting ( byte[]  edt)
protected

Property name : ID number setting

EPC : 0xED

Contents of property :
This property indicates the ID number of the meter.

Value range (decimal notation) :
000000.FFFFFF
(Initial value : “000000”)

Data type : unsigned char

Data size : 6 bytes

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 926 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setOperationStatus ( byte[]  edt)
protected

Property name : Operation status

EPC : 0x80

Contents of property :
This property indicates the ON/OFF status.

Value range (decimal notation) :
ON=0x30, OFF=0x31

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - mandatory

Announcement at status change

Definition at line 95 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setOwnerClassificationSetting ( byte[]  edt)
protected

Property name : Owner classification setting

EPC : 0xE1

Contents of property :
This property indicates the type of owner of the meter.

Value range (decimal notation) :
0x30: not specified 0x31: city gas 0x32: LP gas
0x33: private-sector company 0x34: individual

Data type : unsigned char

Data size : 1 byte

Unit : .

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 221 of file SmartGasMeter.java.

synchronized boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setProperty ( EchoProperty  property)
protected

Definition at line 1171 of file SmartGasMeter.java.

void com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setupPropertyMaps ( )
protected

Definition at line 49 of file SmartGasMeter.java.

boolean com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.setVerificationExpirationSetting ( byte[]  edt)
protected

Property name : Verification expiration setting

EPC : 0xEE

Contents of property :
This property indicates the month and year in which the verification of the meter will expire.

Value range (decimal notation) :
YYYYMM
YYYY (Year), MM (Month)

Data type : unsigned char

Data size : 6 bytes

Unit : null

Access rule :
Announce - undefined
Set - optional
Get - optional

Definition at line 1004 of file SmartGasMeter.java.

Member Data Documentation

final short com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.ECHO_CLASS_CODE = (short)0x0289
static

Definition at line 28 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_DAY_SETTING_FOR_WHICH_THE_HISTORICAL_DATA_OF_MEASURED_CUMULATIVE_GAS_CONSUMPTION_IS_TO_BE_RETRIEVED = (byte)0xE5
static

Definition at line 35 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_DETECTION_OF_ABNORMAL_VALUE_IN_METERING_DATA = (byte)0xE6
static

Definition at line 36 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_EMERGENCY_CLOSURE_OF_SHUTOFF_VALVE = (byte)0xEA
static

Definition at line 40 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_GAS_METER_CLASSIFICATION_SETTING = (byte)0xE0
static

Definition at line 30 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_HISTORICAL_DATA_OF_MEASURED_CUMULATIVE_GAS_CONSUMPTION = (byte)0xE4
static

Definition at line 34 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_HISTORICAL_DATA_OF_SHUTOFF_REASONS = (byte)0xEC
static

Definition at line 42 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_HISTORICAL_INFORMATION_OF_CUMULATIVE_GAS_CONSUMPTION = (byte)0xD1
static

Definition at line 46 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_ID_NUMBER_SETTING = (byte)0xED
static

Definition at line 43 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_MEASURED_CUMULATIVE_GAS_CONSUMPTION = (byte)0xE2
static

Definition at line 32 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_MEASURED_CUMULATIVE_GAS_CONSUMPTION_INFORMATION_WITH_DATE_AND_TIME = (byte)0xD0
static

Definition at line 45 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_OWNER_CLASSIFICATION_SETTING = (byte)0xE1
static

Definition at line 31 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_PERMISSION_FROM_THE_CENTER_TO_REOPEN_THE_VALVE_CLOSED_BY_THE_CENTER = (byte)0xE9
static

Definition at line 39 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_SECURITY_DATA_INFORMATION = (byte)0xE7
static

Definition at line 37 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_SHUTOFF_VALVE_STATUS = (byte)0xEB
static

Definition at line 41 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_UNIT_FOR_MEASURED_CUMULATIVE_GAS_CONSUMPTION = (byte)0xE3
static

Definition at line 33 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_VALVE_CLOSURE_BY_THE_CENTER = (byte)0xE8
static

Definition at line 38 of file SmartGasMeter.java.

final byte com.sonycsl.echo.eoj.device.housingfacilities.SmartGasMeter.EPC_VERIFICATION_EXPIRATION_SETTING = (byte)0xEE
static

Definition at line 44 of file SmartGasMeter.java.


The documentation for this class was generated from the following file: