16 package com.sonycsl.echo.eoj.device.audiovisual;
38 super.setupPropertyMaps();
53 Echo.getEventListener().onNewDisplay(
this);
180 if(edt == null || !(edt.length == 1))
return false;
233 if(edt == null || !(edt.length == 1))
return false;
328 if(edt == null || !(edt.length == 2))
return false;
442 if(edt == null || !(edt.length <= 247))
return false;
493 if(edt == null || !(edt.length == 2))
return false;
499 boolean success = super.setProperty(property);
500 if(success)
return success;
502 switch(property.
epc) {
505 default :
return false;
511 byte[] edt = super.getProperty(epc);
512 if(edt != null)
return edt;
520 default :
return null;
526 boolean valid = super.isValidProperty(property);
527 if(valid)
return valid;
529 switch(property.
epc) {
535 default :
return false;
545 public Setter
set(
boolean responseRequired) {
547 ,
getNode().getAddressStr(), responseRequired);
551 public Getter
get() {
562 protected Informer
inform(
boolean multicast) {
567 address =
getNode().getAddressStr();
573 public static class Receiver
extends DeviceObject.Receiver {
576 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
578 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
581 switch(property.epc) {
583 onSetDisplayControlSetting(eoj, tid, esv, property, success);
586 onSetCharacterStringToPresentToTheUser(eoj, tid, esv, property, success);
594 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
596 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
599 switch(property.epc) {
601 onGetDisplayControlSetting(eoj, tid, esv, property, success);
604 onGetCharacterStringSettingAcceptanceStatus(eoj, tid, esv, property, success);
607 onGetSupportedCharacterCodes(eoj, tid, esv, property, success);
610 onGetCharacterStringToPresentToTheUser(eoj, tid, esv, property, success);
613 onGetLengthOfCharacterStringAccepted(eoj, tid, esv, property, success);
642 protected void onSetDisplayControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
665 protected void onGetDisplayControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
690 protected void onGetCharacterStringSettingAcceptanceStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
736 protected void onGetSupportedCharacterCodes(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
773 protected void onSetCharacterStringToPresentToTheUser(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
810 protected void onGetCharacterStringToPresentToTheUser(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
834 protected void onGetLengthOfCharacterStringAccepted(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
837 public static class Setter
extends DeviceObject.Setter {
838 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
839 , String dstEchoAddress,
boolean responseRequired) {
840 super(dstEchoClassCode, dstEchoInstanceCode
841 , dstEchoAddress, responseRequired);
845 public Setter reqSetProperty(byte epc, byte[] edt) {
846 return (Setter)super.reqSetProperty(epc, edt);
850 public Setter reqSetOperationStatus(byte[] edt) {
851 return (Setter)super.reqSetOperationStatus(edt);
854 public Setter reqSetInstallationLocation(byte[] edt) {
855 return (Setter)super.reqSetInstallationLocation(edt);
858 public Setter reqSetCurrentLimitSetting(byte[] edt) {
859 return (Setter)super.reqSetCurrentLimitSetting(edt);
862 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
863 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
866 public Setter reqSetRemoteControlSetting(byte[] edt) {
867 return (Setter)super.reqSetRemoteControlSetting(edt);
870 public Setter reqSetCurrentTimeSetting(byte[] edt) {
871 return (Setter)super.reqSetCurrentTimeSetting(edt);
874 public Setter reqSetCurrentDateSetting(byte[] edt) {
875 return (Setter)super.reqSetCurrentDateSetting(edt);
878 public Setter reqSetPowerLimitSetting(byte[] edt) {
879 return (Setter)super.reqSetPowerLimitSetting(edt);
904 public Setter reqSetDisplayControlSetting(byte[] edt) {
944 public Setter reqSetCharacterStringToPresentToTheUser(byte[] edt) {
950 public static class Getter
extends DeviceObject.Getter {
951 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
952 , String dstEchoAddress) {
953 super(dstEchoClassCode, dstEchoInstanceCode
958 public Getter reqGetProperty(byte epc) {
959 return (Getter)super.reqGetProperty(epc);
963 public Getter reqGetOperationStatus() {
964 return (Getter)super.reqGetOperationStatus();
967 public Getter reqGetInstallationLocation() {
968 return (Getter)super.reqGetInstallationLocation();
971 public Getter reqGetStandardVersionInformation() {
972 return (Getter)super.reqGetStandardVersionInformation();
975 public Getter reqGetIdentificationNumber() {
976 return (Getter)super.reqGetIdentificationNumber();
979 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
980 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
983 public Getter reqGetMeasuredCumulativePowerConsumption() {
984 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
987 public Getter reqGetManufacturersFaultCode() {
988 return (Getter)super.reqGetManufacturersFaultCode();
991 public Getter reqGetCurrentLimitSetting() {
992 return (Getter)super.reqGetCurrentLimitSetting();
995 public Getter reqGetFaultStatus() {
996 return (Getter)super.reqGetFaultStatus();
999 public Getter reqGetFaultDescription() {
1000 return (Getter)super.reqGetFaultDescription();
1003 public Getter reqGetManufacturerCode() {
1004 return (Getter)super.reqGetManufacturerCode();
1007 public Getter reqGetBusinessFacilityCode() {
1008 return (Getter)super.reqGetBusinessFacilityCode();
1011 public Getter reqGetProductCode() {
1012 return (Getter)super.reqGetProductCode();
1015 public Getter reqGetProductionNumber() {
1016 return (Getter)super.reqGetProductionNumber();
1019 public Getter reqGetProductionDate() {
1020 return (Getter)super.reqGetProductionDate();
1023 public Getter reqGetPowerSavingOperationSetting() {
1024 return (Getter)super.reqGetPowerSavingOperationSetting();
1027 public Getter reqGetRemoteControlSetting() {
1028 return (Getter)super.reqGetRemoteControlSetting();
1031 public Getter reqGetCurrentTimeSetting() {
1032 return (Getter)super.reqGetCurrentTimeSetting();
1035 public Getter reqGetCurrentDateSetting() {
1036 return (Getter)super.reqGetCurrentDateSetting();
1039 public Getter reqGetPowerLimitSetting() {
1040 return (Getter)super.reqGetPowerLimitSetting();
1043 public Getter reqGetCumulativeOperatingTime() {
1044 return (Getter)super.reqGetCumulativeOperatingTime();
1047 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
1048 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
1051 public Getter reqGetSetPropertyMap() {
1052 return (Getter)super.reqGetSetPropertyMap();
1055 public Getter reqGetGetPropertyMap() {
1056 return (Getter)super.reqGetGetPropertyMap();
1081 public Getter reqGetDisplayControlSetting() {
1109 public Getter reqGetCharacterStringSettingAcceptanceStatus() {
1158 public Getter reqGetSupportedCharacterCodes() {
1198 public Getter reqGetCharacterStringToPresentToTheUser() {
1225 public Getter reqGetLengthOfCharacterStringAccepted() {
1231 public static class Informer
extends DeviceObject.Informer {
1232 public Informer(
short echoClassCode, byte echoInstanceCode
1234 super(echoClassCode, echoInstanceCode
1235 , dstEchoAddress, isSelfObject);
1239 public Informer reqInformProperty(byte epc) {
1240 return (Informer)super.reqInformProperty(epc);
1243 public Informer reqInformOperationStatus() {
1244 return (Informer)super.reqInformOperationStatus();
1247 public Informer reqInformInstallationLocation() {
1248 return (Informer)super.reqInformInstallationLocation();
1251 public Informer reqInformStandardVersionInformation() {
1252 return (Informer)super.reqInformStandardVersionInformation();
1255 public Informer reqInformIdentificationNumber() {
1256 return (Informer)super.reqInformIdentificationNumber();
1259 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1260 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1263 public Informer reqInformMeasuredCumulativePowerConsumption() {
1264 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1267 public Informer reqInformManufacturersFaultCode() {
1268 return (Informer)super.reqInformManufacturersFaultCode();
1271 public Informer reqInformCurrentLimitSetting() {
1272 return (Informer)super.reqInformCurrentLimitSetting();
1275 public Informer reqInformFaultStatus() {
1276 return (Informer)super.reqInformFaultStatus();
1279 public Informer reqInformFaultDescription() {
1280 return (Informer)super.reqInformFaultDescription();
1283 public Informer reqInformManufacturerCode() {
1284 return (Informer)super.reqInformManufacturerCode();
1287 public Informer reqInformBusinessFacilityCode() {
1288 return (Informer)super.reqInformBusinessFacilityCode();
1291 public Informer reqInformProductCode() {
1292 return (Informer)super.reqInformProductCode();
1295 public Informer reqInformProductionNumber() {
1296 return (Informer)super.reqInformProductionNumber();
1299 public Informer reqInformProductionDate() {
1300 return (Informer)super.reqInformProductionDate();
1303 public Informer reqInformPowerSavingOperationSetting() {
1304 return (Informer)super.reqInformPowerSavingOperationSetting();
1307 public Informer reqInformRemoteControlSetting() {
1308 return (Informer)super.reqInformRemoteControlSetting();
1311 public Informer reqInformCurrentTimeSetting() {
1312 return (Informer)super.reqInformCurrentTimeSetting();
1315 public Informer reqInformCurrentDateSetting() {
1316 return (Informer)super.reqInformCurrentDateSetting();
1319 public Informer reqInformPowerLimitSetting() {
1320 return (Informer)super.reqInformPowerLimitSetting();
1323 public Informer reqInformCumulativeOperatingTime() {
1324 return (Informer)super.reqInformCumulativeOperatingTime();
1327 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1328 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1331 public Informer reqInformSetPropertyMap() {
1332 return (Informer)super.reqInformSetPropertyMap();
1335 public Informer reqInformGetPropertyMap() {
1336 return (Informer)super.reqInformGetPropertyMap();
1361 public Informer reqInformDisplayControlSetting() {
1389 public Informer reqInformCharacterStringSettingAcceptanceStatus() {
1438 public Informer reqInformSupportedCharacterCodes() {
1478 public Informer reqInformCharacterStringToPresentToTheUser() {
1505 public Informer reqInformLengthOfCharacterStringAccepted() {
1511 public static class Proxy
extends Display {
1512 public Proxy(byte instanceCode) {
1545 return setG((byte)0);
1548 public static Setter
setG(byte instanceCode) {
1549 return setG(instanceCode,
true);
1552 public static Setter
setG(
boolean responseRequired) {
1553 return setG((byte)0, responseRequired);
1556 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
1562 return getG((byte)0);
1565 public static Getter
getG(byte instanceCode) {
1574 public static Informer
informG(byte instanceCode) {
boolean isValidSupportedCharacterCodes(byte[] edt)
boolean isValidCharacterStringSettingAcceptanceStatus(byte[] edt)
abstract boolean setOperationStatus(byte[] edt)
boolean setDisplayControlSetting(byte[] edt)
static Getter getG(byte instanceCode)
static final byte EPC_LENGTH_OF_CHARACTER_STRING_ACCEPTED
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
static Setter setG(boolean responseRequired)
final void addGetProperty(byte epc)
synchronized byte[] getProperty(byte epc)
static Informer informG(byte instanceCode)
byte[] getDisplayControlSetting()
abstract byte[] getLengthOfCharacterStringAccepted()
Setter set(boolean responseRequired)
Informer inform(boolean multicast)
final void addSetProperty(byte epc)
static Setter setG(byte instanceCode, boolean responseRequired)
abstract byte[] getOperationStatus()
synchronized boolean isValidProperty(EchoProperty property)
static final byte EPC_DISPLAY_CONTROL_SETTING
abstract byte[] getSupportedCharacterCodes()
abstract byte[] getFaultStatus()
static final byte EPC_CHARACTER_STRING_TO_PRESENT_TO_THE_USER
static Setter setG(byte instanceCode)
static Informer informG()
abstract byte[] getManufacturerCode()
static final byte EPC_CHARACTER_STRING_SETTING_ACCEPTANCE_STATUS
static final short ECHO_CLASS_CODE
boolean isValidCharacterStringToPresentToTheUser(byte[] edt)
static final byte EPC_SUPPORTED_CHARACTER_CODES
byte[] getCharacterStringToPresentToTheUser()
static final byte EPC_OPERATION_STATUS
boolean isValidLengthOfCharacterStringAccepted(byte[] edt)
abstract boolean setCharacterStringToPresentToTheUser(byte[] edt)
byte[] getStandardVersionInformation()
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
boolean isValidDisplayControlSetting(byte[] edt)
abstract byte[] getCharacterStringSettingAcceptanceStatus()
final boolean isSelfObject()
synchronized boolean setProperty(EchoProperty property)