16 package com.sonycsl.echo.eoj.device.housingfacilities;
44 super.setupPropertyMaps();
56 Echo.getEventListener().onNewHouseholdSolarPowerGeneration(
this);
162 if(edt == null || !(edt.length == 1))
return false;
211 if(edt == null || !(edt.length == 2))
return false;
262 if(edt == null || !(edt.length == 4))
return false;
311 if(edt == null || !(edt.length == 1))
return false;
362 if(edt == null || !(edt.length == 4))
return false;
411 if(edt == null || !(edt.length == 1))
return false;
483 if(edt == null || !(edt.length == 1))
return false;
555 if(edt == null || !(edt.length == 2))
return false;
627 if(edt == null || !(edt.length == 2))
return false;
699 if(edt == null || !(edt.length == 2))
return false;
771 if(edt == null || !(edt.length == 2))
return false;
777 boolean success = super.setProperty(property);
778 if(success)
return success;
780 switch(property.
epc) {
788 default :
return false;
794 byte[] edt = super.getProperty(epc);
795 if(edt != null)
return edt;
807 default :
return null;
813 boolean valid = super.isValidProperty(property);
814 if(valid)
return valid;
816 switch(property.
epc) {
828 default :
return false;
838 public Setter
set(
boolean responseRequired) {
840 ,
getNode().getAddressStr(), responseRequired);
844 public Getter
get() {
855 protected Informer
inform(
boolean multicast) {
860 address =
getNode().getAddressStr();
866 public static class Receiver
extends DeviceObject.Receiver {
869 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
871 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
874 switch(property.epc) {
876 onSetResettingCumulativeAmountOfElectricityGenerated(eoj, tid, esv, property, success);
879 onSetResettingCumulativeAmountOfElectricitySold(eoj, tid, esv, property, success);
882 onSetPowerGenerationOutputLimitSetting1(eoj, tid, esv, property, success);
885 onSetPowerGenerationOutputLimitSetting2(eoj, tid, esv, property, success);
888 onSetLimitSettingForTheAmountOfElectricitySold(eoj, tid, esv, property, success);
891 onSetRatedPowerGenerationOutputSystemInterconnected(eoj, tid, esv, property, success);
894 onSetRatedPowerGenerationOutputIndependent(eoj, tid, esv, property, success);
902 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
904 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
907 switch(property.epc) {
909 onGetSystemInterconnEctedType(eoj, tid, esv, property, success);
912 onGetMeasuredInstantaneousAmountOfElectricityGenerated(eoj, tid, esv, property, success);
915 onGetMeasuredCumulativeAmountOfElectricityGenerated(eoj, tid, esv, property, success);
918 onGetMeasuredCumulativeAmountOfElectricitySold(eoj, tid, esv, property, success);
921 onGetPowerGenerationOutputLimitSetting1(eoj, tid, esv, property, success);
924 onGetPowerGenerationOutputLimitSetting2(eoj, tid, esv, property, success);
927 onGetLimitSettingForTheAmountOfElectricitySold(eoj, tid, esv, property, success);
930 onGetRatedPowerGenerationOutputSystemInterconnected(eoj, tid, esv, property, success);
933 onGetRatedPowerGenerationOutputIndependent(eoj, tid, esv, property, success);
963 protected void onGetSystemInterconnEctedType(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
986 protected void onGetMeasuredInstantaneousAmountOfElectricityGenerated(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1010 protected void onGetMeasuredCumulativeAmountOfElectricityGenerated(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1033 protected void onSetResettingCumulativeAmountOfElectricityGenerated(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1057 protected void onGetMeasuredCumulativeAmountOfElectricitySold(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1080 protected void onSetResettingCumulativeAmountOfElectricitySold(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1103 protected void onSetPowerGenerationOutputLimitSetting1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1126 protected void onGetPowerGenerationOutputLimitSetting1(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1149 protected void onSetPowerGenerationOutputLimitSetting2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1172 protected void onGetPowerGenerationOutputLimitSetting2(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1195 protected void onSetLimitSettingForTheAmountOfElectricitySold(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1218 protected void onGetLimitSettingForTheAmountOfElectricitySold(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1241 protected void onSetRatedPowerGenerationOutputSystemInterconnected(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1264 protected void onGetRatedPowerGenerationOutputSystemInterconnected(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1287 protected void onSetRatedPowerGenerationOutputIndependent(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1310 protected void onGetRatedPowerGenerationOutputIndependent(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
1313 public static class Setter
extends DeviceObject.Setter {
1314 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
1315 , String dstEchoAddress,
boolean responseRequired) {
1316 super(dstEchoClassCode, dstEchoInstanceCode
1317 , dstEchoAddress, responseRequired);
1321 public Setter reqSetProperty(byte epc, byte[] edt) {
1322 return (Setter)super.reqSetProperty(epc, edt);
1326 public Setter reqSetOperationStatus(byte[] edt) {
1327 return (Setter)super.reqSetOperationStatus(edt);
1330 public Setter reqSetInstallationLocation(byte[] edt) {
1331 return (Setter)super.reqSetInstallationLocation(edt);
1334 public Setter reqSetCurrentLimitSetting(byte[] edt) {
1335 return (Setter)super.reqSetCurrentLimitSetting(edt);
1338 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
1339 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
1342 public Setter reqSetRemoteControlSetting(byte[] edt) {
1343 return (Setter)super.reqSetRemoteControlSetting(edt);
1346 public Setter reqSetCurrentTimeSetting(byte[] edt) {
1347 return (Setter)super.reqSetCurrentTimeSetting(edt);
1350 public Setter reqSetCurrentDateSetting(byte[] edt) {
1351 return (Setter)super.reqSetCurrentDateSetting(edt);
1354 public Setter reqSetPowerLimitSetting(byte[] edt) {
1355 return (Setter)super.reqSetPowerLimitSetting(edt);
1380 public Setter reqSetResettingCumulativeAmountOfElectricityGenerated(byte[] edt) {
1406 public Setter reqSetResettingCumulativeAmountOfElectricitySold(byte[] edt) {
1432 public Setter reqSetPowerGenerationOutputLimitSetting1(byte[] edt) {
1458 public Setter reqSetPowerGenerationOutputLimitSetting2(byte[] edt) {
1484 public Setter reqSetLimitSettingForTheAmountOfElectricitySold(byte[] edt) {
1510 public Setter reqSetRatedPowerGenerationOutputSystemInterconnected(byte[] edt) {
1536 public Setter reqSetRatedPowerGenerationOutputIndependent(byte[] edt) {
1542 public static class Getter
extends DeviceObject.Getter {
1543 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
1544 , String dstEchoAddress) {
1545 super(dstEchoClassCode, dstEchoInstanceCode
1550 public Getter reqGetProperty(byte epc) {
1551 return (Getter)super.reqGetProperty(epc);
1555 public Getter reqGetOperationStatus() {
1556 return (Getter)super.reqGetOperationStatus();
1559 public Getter reqGetInstallationLocation() {
1560 return (Getter)super.reqGetInstallationLocation();
1563 public Getter reqGetStandardVersionInformation() {
1564 return (Getter)super.reqGetStandardVersionInformation();
1567 public Getter reqGetIdentificationNumber() {
1568 return (Getter)super.reqGetIdentificationNumber();
1571 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
1572 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
1575 public Getter reqGetMeasuredCumulativePowerConsumption() {
1576 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
1579 public Getter reqGetManufacturersFaultCode() {
1580 return (Getter)super.reqGetManufacturersFaultCode();
1583 public Getter reqGetCurrentLimitSetting() {
1584 return (Getter)super.reqGetCurrentLimitSetting();
1587 public Getter reqGetFaultStatus() {
1588 return (Getter)super.reqGetFaultStatus();
1591 public Getter reqGetFaultDescription() {
1592 return (Getter)super.reqGetFaultDescription();
1595 public Getter reqGetManufacturerCode() {
1596 return (Getter)super.reqGetManufacturerCode();
1599 public Getter reqGetBusinessFacilityCode() {
1600 return (Getter)super.reqGetBusinessFacilityCode();
1603 public Getter reqGetProductCode() {
1604 return (Getter)super.reqGetProductCode();
1607 public Getter reqGetProductionNumber() {
1608 return (Getter)super.reqGetProductionNumber();
1611 public Getter reqGetProductionDate() {
1612 return (Getter)super.reqGetProductionDate();
1615 public Getter reqGetPowerSavingOperationSetting() {
1616 return (Getter)super.reqGetPowerSavingOperationSetting();
1619 public Getter reqGetRemoteControlSetting() {
1620 return (Getter)super.reqGetRemoteControlSetting();
1623 public Getter reqGetCurrentTimeSetting() {
1624 return (Getter)super.reqGetCurrentTimeSetting();
1627 public Getter reqGetCurrentDateSetting() {
1628 return (Getter)super.reqGetCurrentDateSetting();
1631 public Getter reqGetPowerLimitSetting() {
1632 return (Getter)super.reqGetPowerLimitSetting();
1635 public Getter reqGetCumulativeOperatingTime() {
1636 return (Getter)super.reqGetCumulativeOperatingTime();
1639 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
1640 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
1643 public Getter reqGetSetPropertyMap() {
1644 return (Getter)super.reqGetSetPropertyMap();
1647 public Getter reqGetGetPropertyMap() {
1648 return (Getter)super.reqGetGetPropertyMap();
1674 public Getter reqGetSystemInterconnEctedType() {
1700 public Getter reqGetMeasuredInstantaneousAmountOfElectricityGenerated() {
1727 public Getter reqGetMeasuredCumulativeAmountOfElectricityGenerated() {
1754 public Getter reqGetMeasuredCumulativeAmountOfElectricitySold() {
1780 public Getter reqGetPowerGenerationOutputLimitSetting1() {
1806 public Getter reqGetPowerGenerationOutputLimitSetting2() {
1832 public Getter reqGetLimitSettingForTheAmountOfElectricitySold() {
1858 public Getter reqGetRatedPowerGenerationOutputSystemInterconnected() {
1884 public Getter reqGetRatedPowerGenerationOutputIndependent() {
1890 public static class Informer
extends DeviceObject.Informer {
1891 public Informer(
short echoClassCode, byte echoInstanceCode
1893 super(echoClassCode, echoInstanceCode
1894 , dstEchoAddress, isSelfObject);
1898 public Informer reqInformProperty(byte epc) {
1899 return (Informer)super.reqInformProperty(epc);
1902 public Informer reqInformOperationStatus() {
1903 return (Informer)super.reqInformOperationStatus();
1906 public Informer reqInformInstallationLocation() {
1907 return (Informer)super.reqInformInstallationLocation();
1910 public Informer reqInformStandardVersionInformation() {
1911 return (Informer)super.reqInformStandardVersionInformation();
1914 public Informer reqInformIdentificationNumber() {
1915 return (Informer)super.reqInformIdentificationNumber();
1918 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1919 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1922 public Informer reqInformMeasuredCumulativePowerConsumption() {
1923 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1926 public Informer reqInformManufacturersFaultCode() {
1927 return (Informer)super.reqInformManufacturersFaultCode();
1930 public Informer reqInformCurrentLimitSetting() {
1931 return (Informer)super.reqInformCurrentLimitSetting();
1934 public Informer reqInformFaultStatus() {
1935 return (Informer)super.reqInformFaultStatus();
1938 public Informer reqInformFaultDescription() {
1939 return (Informer)super.reqInformFaultDescription();
1942 public Informer reqInformManufacturerCode() {
1943 return (Informer)super.reqInformManufacturerCode();
1946 public Informer reqInformBusinessFacilityCode() {
1947 return (Informer)super.reqInformBusinessFacilityCode();
1950 public Informer reqInformProductCode() {
1951 return (Informer)super.reqInformProductCode();
1954 public Informer reqInformProductionNumber() {
1955 return (Informer)super.reqInformProductionNumber();
1958 public Informer reqInformProductionDate() {
1959 return (Informer)super.reqInformProductionDate();
1962 public Informer reqInformPowerSavingOperationSetting() {
1963 return (Informer)super.reqInformPowerSavingOperationSetting();
1966 public Informer reqInformRemoteControlSetting() {
1967 return (Informer)super.reqInformRemoteControlSetting();
1970 public Informer reqInformCurrentTimeSetting() {
1971 return (Informer)super.reqInformCurrentTimeSetting();
1974 public Informer reqInformCurrentDateSetting() {
1975 return (Informer)super.reqInformCurrentDateSetting();
1978 public Informer reqInformPowerLimitSetting() {
1979 return (Informer)super.reqInformPowerLimitSetting();
1982 public Informer reqInformCumulativeOperatingTime() {
1983 return (Informer)super.reqInformCumulativeOperatingTime();
1986 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1987 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1990 public Informer reqInformSetPropertyMap() {
1991 return (Informer)super.reqInformSetPropertyMap();
1994 public Informer reqInformGetPropertyMap() {
1995 return (Informer)super.reqInformGetPropertyMap();
2021 public Informer reqInformSystemInterconnEctedType() {
2047 public Informer reqInformMeasuredInstantaneousAmountOfElectricityGenerated() {
2074 public Informer reqInformMeasuredCumulativeAmountOfElectricityGenerated() {
2101 public Informer reqInformMeasuredCumulativeAmountOfElectricitySold() {
2127 public Informer reqInformPowerGenerationOutputLimitSetting1() {
2153 public Informer reqInformPowerGenerationOutputLimitSetting2() {
2179 public Informer reqInformLimitSettingForTheAmountOfElectricitySold() {
2205 public Informer reqInformRatedPowerGenerationOutputSystemInterconnected() {
2231 public Informer reqInformRatedPowerGenerationOutputIndependent() {
2237 public static class Proxy
extends HouseholdSolarPowerGeneration {
2238 public Proxy(byte instanceCode) {
2265 return setG((byte)0);
2268 public static Setter
setG(byte instanceCode) {
2269 return setG(instanceCode,
true);
2272 public static Setter
setG(
boolean responseRequired) {
2273 return setG((byte)0, responseRequired);
2276 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
2282 return getG((byte)0);
2285 public static Getter
getG(byte instanceCode) {
2294 public static Informer
informG(byte instanceCode) {
static final byte EPC_MEASURED_CUMULATIVE_AMOUNT_OF_ELECTRICITY_SOLD
static final byte EPC_SYSTEM_INTERCONN_ECTED_TYPE
synchronized byte[] getProperty(byte epc)
boolean setPowerGenerationOutputLimitSetting1(byte[] edt)
static Setter setG(byte instanceCode)
static Setter setG(byte instanceCode, boolean responseRequired)
byte[] getPowerGenerationOutputLimitSetting2()
static Getter getG(byte instanceCode)
boolean isValidMeasuredCumulativeAmountOfElectricityGenerated(byte[] edt)
static Setter setG(boolean responseRequired)
boolean isValidSystemInterconnEctedType(byte[] edt)
final void removeSetProperty(byte epc)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
byte[] getMeasuredCumulativeAmountOfElectricitySold()
static Informer informG(byte instanceCode)
final void addGetProperty(byte epc)
abstract byte[] getMeasuredCumulativeAmountOfElectricityGenerated()
byte[] getRatedPowerGenerationOutputSystemInterconnected()
abstract byte[] getOperationStatus()
synchronized boolean isValidProperty(EchoProperty property)
static final byte EPC_RESETTING_CUMULATIVE_AMOUNT_OF_ELECTRICITY_SOLD
boolean setRatedPowerGenerationOutputIndependent(byte[] edt)
boolean isValidPowerGenerationOutputLimitSetting1(byte[] edt)
static final byte EPC_MEASURED_INSTANTANEOUS_AMOUNT_OF_ELECTRICITY_GENERATED
static final byte EPC_POWER_GENERATION_OUTPUT_LIMIT_SETTING1
static Informer informG()
boolean setResettingCumulativeAmountOfElectricitySold(byte[] edt)
static final byte EPC_POWER_GENERATION_OUTPUT_LIMIT_SETTING2
boolean setResettingCumulativeAmountOfElectricityGenerated(byte[] edt)
static final byte EPC_RESETTING_CUMULATIVE_AMOUNT_OF_ELECTRICITY_GENERATED
abstract byte[] getFaultStatus()
static final byte EPC_RATED_POWER_GENERATION_OUTPUT_SYSTEM_INTERCONNECTED
Setter set(boolean responseRequired)
Informer inform(boolean multicast)
static final byte EPC_RATED_POWER_GENERATION_OUTPUT_INDEPENDENT
byte[] getRatedPowerGenerationOutputIndependent()
abstract byte[] getMeasuredInstantaneousAmountOfElectricityGenerated()
abstract byte[] getManufacturerCode()
byte[] getPowerGenerationOutputLimitSetting1()
boolean isValidRatedPowerGenerationOutputSystemInterconnected(byte[] edt)
synchronized boolean setProperty(EchoProperty property)
boolean isValidMeasuredInstantaneousAmountOfElectricityGenerated(byte[] edt)
byte[] getLimitSettingForTheAmountOfElectricitySold()
boolean setOperationStatus(byte[] edt)
boolean setPowerGenerationOutputLimitSetting2(byte[] edt)
boolean setLimitSettingForTheAmountOfElectricitySold(byte[] edt)
static final short ECHO_CLASS_CODE
static final byte EPC_OPERATION_STATUS
boolean isValidResettingCumulativeAmountOfElectricitySold(byte[] edt)
static final byte EPC_LIMIT_SETTING_FOR_THE_AMOUNT_OF_ELECTRICITY_SOLD
byte[] getStandardVersionInformation()
boolean setRatedPowerGenerationOutputSystemInterconnected(byte[] edt)
boolean isValidRatedPowerGenerationOutputIndependent(byte[] edt)
abstract boolean setInstallationLocation(byte[] edt)
static final byte EPC_MEASURED_CUMULATIVE_AMOUNT_OF_ELECTRICITY_GENERATED
boolean isValidPowerGenerationOutputLimitSetting2(byte[] edt)
static final String MULTICAST_ADDRESS
boolean isValidMeasuredCumulativeAmountOfElectricitySold(byte[] edt)
boolean isValidLimitSettingForTheAmountOfElectricitySold(byte[] edt)
final boolean isSelfObject()
boolean isValidResettingCumulativeAmountOfElectricityGenerated(byte[] edt)
byte[] getSystemInterconnEctedType()