16 package com.sonycsl.echo.eoj.device.audiovisual;
38 super.setupPropertyMaps();
53 Echo.getEventListener().onNewTelevision(
this);
190 if(edt == null || !(edt.length == 1))
return false;
247 if(edt == null || !(edt.length == 1))
return false;
302 if(edt == null || !(edt.length == 2))
return false;
377 if(edt == null || !(edt.length <= 247))
return false;
432 if(edt == null || !(edt.length == 2))
return false;
438 boolean success = super.setProperty(property);
439 if(success)
return success;
441 switch(property.
epc) {
444 default :
return false;
450 byte[] edt = super.getProperty(epc);
451 if(edt != null)
return edt;
459 default :
return null;
465 boolean valid = super.isValidProperty(property);
466 if(valid)
return valid;
468 switch(property.
epc) {
474 default :
return false;
484 public Setter
set(
boolean responseRequired) {
486 ,
getNode().getAddressStr(), responseRequired);
490 public Getter
get() {
501 protected Informer
inform(
boolean multicast) {
506 address =
getNode().getAddressStr();
512 public static class Receiver
extends DeviceObject.Receiver {
515 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
517 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
520 switch(property.epc) {
522 onSetDisplayControlSetting(eoj, tid, esv, property, success);
525 onSetCharacterStringToPresentToTheUser(eoj, tid, esv, property, success);
533 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
535 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
538 switch(property.epc) {
540 onGetDisplayControlSetting(eoj, tid, esv, property, success);
543 onGetCharacterStringSettingAcceptanceStatus(eoj, tid, esv, property, success);
546 onGetSupportedCharacterCodes(eoj, tid, esv, property, success);
549 onGetCharacterStringToPresentToTheUser(eoj, tid, esv, property, success);
552 onGetLengthOfCharacterStringAccepted(eoj, tid, esv, property, success);
583 protected void onSetDisplayControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
608 protected void onGetDisplayControlSetting(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
635 protected void onGetCharacterStringSettingAcceptanceStatus(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
661 protected void onGetSupportedCharacterCodes(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
685 protected void onSetCharacterStringToPresentToTheUser(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
709 protected void onGetCharacterStringToPresentToTheUser(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
735 protected void onGetLengthOfCharacterStringAccepted(
EchoObject eoj,
short tid, byte esv, EchoProperty property,
boolean success) {}
738 public static class Setter
extends DeviceObject.Setter {
739 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
740 , String dstEchoAddress,
boolean responseRequired) {
741 super(dstEchoClassCode, dstEchoInstanceCode
742 , dstEchoAddress, responseRequired);
746 public Setter reqSetProperty(byte epc, byte[] edt) {
747 return (Setter)super.reqSetProperty(epc, edt);
751 public Setter reqSetOperationStatus(byte[] edt) {
752 return (Setter)super.reqSetOperationStatus(edt);
755 public Setter reqSetInstallationLocation(byte[] edt) {
756 return (Setter)super.reqSetInstallationLocation(edt);
759 public Setter reqSetCurrentLimitSetting(byte[] edt) {
760 return (Setter)super.reqSetCurrentLimitSetting(edt);
763 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
764 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
767 public Setter reqSetRemoteControlSetting(byte[] edt) {
768 return (Setter)super.reqSetRemoteControlSetting(edt);
771 public Setter reqSetCurrentTimeSetting(byte[] edt) {
772 return (Setter)super.reqSetCurrentTimeSetting(edt);
775 public Setter reqSetCurrentDateSetting(byte[] edt) {
776 return (Setter)super.reqSetCurrentDateSetting(edt);
779 public Setter reqSetPowerLimitSetting(byte[] edt) {
780 return (Setter)super.reqSetPowerLimitSetting(edt);
807 public Setter reqSetDisplayControlSetting(byte[] edt) {
834 public Setter reqSetCharacterStringToPresentToTheUser(byte[] edt) {
840 public static class Getter
extends DeviceObject.Getter {
841 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
842 , String dstEchoAddress) {
843 super(dstEchoClassCode, dstEchoInstanceCode
848 public Getter reqGetProperty(byte epc) {
849 return (Getter)super.reqGetProperty(epc);
853 public Getter reqGetOperationStatus() {
854 return (Getter)super.reqGetOperationStatus();
857 public Getter reqGetInstallationLocation() {
858 return (Getter)super.reqGetInstallationLocation();
861 public Getter reqGetStandardVersionInformation() {
862 return (Getter)super.reqGetStandardVersionInformation();
865 public Getter reqGetIdentificationNumber() {
866 return (Getter)super.reqGetIdentificationNumber();
869 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
870 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
873 public Getter reqGetMeasuredCumulativePowerConsumption() {
874 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
877 public Getter reqGetManufacturersFaultCode() {
878 return (Getter)super.reqGetManufacturersFaultCode();
881 public Getter reqGetCurrentLimitSetting() {
882 return (Getter)super.reqGetCurrentLimitSetting();
885 public Getter reqGetFaultStatus() {
886 return (Getter)super.reqGetFaultStatus();
889 public Getter reqGetFaultDescription() {
890 return (Getter)super.reqGetFaultDescription();
893 public Getter reqGetManufacturerCode() {
894 return (Getter)super.reqGetManufacturerCode();
897 public Getter reqGetBusinessFacilityCode() {
898 return (Getter)super.reqGetBusinessFacilityCode();
901 public Getter reqGetProductCode() {
902 return (Getter)super.reqGetProductCode();
905 public Getter reqGetProductionNumber() {
906 return (Getter)super.reqGetProductionNumber();
909 public Getter reqGetProductionDate() {
910 return (Getter)super.reqGetProductionDate();
913 public Getter reqGetPowerSavingOperationSetting() {
914 return (Getter)super.reqGetPowerSavingOperationSetting();
917 public Getter reqGetRemoteControlSetting() {
918 return (Getter)super.reqGetRemoteControlSetting();
921 public Getter reqGetCurrentTimeSetting() {
922 return (Getter)super.reqGetCurrentTimeSetting();
925 public Getter reqGetCurrentDateSetting() {
926 return (Getter)super.reqGetCurrentDateSetting();
929 public Getter reqGetPowerLimitSetting() {
930 return (Getter)super.reqGetPowerLimitSetting();
933 public Getter reqGetCumulativeOperatingTime() {
934 return (Getter)super.reqGetCumulativeOperatingTime();
937 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
938 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
941 public Getter reqGetSetPropertyMap() {
942 return (Getter)super.reqGetSetPropertyMap();
945 public Getter reqGetGetPropertyMap() {
946 return (Getter)super.reqGetGetPropertyMap();
973 public Getter reqGetDisplayControlSetting() {
1003 public Getter reqGetCharacterStringSettingAcceptanceStatus() {
1032 public Getter reqGetSupportedCharacterCodes() {
1059 public Getter reqGetCharacterStringToPresentToTheUser() {
1088 public Getter reqGetLengthOfCharacterStringAccepted() {
1094 public static class Informer
extends DeviceObject.Informer {
1095 public Informer(
short echoClassCode, byte echoInstanceCode
1097 super(echoClassCode, echoInstanceCode
1098 , dstEchoAddress, isSelfObject);
1102 public Informer reqInformProperty(byte epc) {
1103 return (Informer)super.reqInformProperty(epc);
1106 public Informer reqInformOperationStatus() {
1107 return (Informer)super.reqInformOperationStatus();
1110 public Informer reqInformInstallationLocation() {
1111 return (Informer)super.reqInformInstallationLocation();
1114 public Informer reqInformStandardVersionInformation() {
1115 return (Informer)super.reqInformStandardVersionInformation();
1118 public Informer reqInformIdentificationNumber() {
1119 return (Informer)super.reqInformIdentificationNumber();
1122 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
1123 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
1126 public Informer reqInformMeasuredCumulativePowerConsumption() {
1127 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
1130 public Informer reqInformManufacturersFaultCode() {
1131 return (Informer)super.reqInformManufacturersFaultCode();
1134 public Informer reqInformCurrentLimitSetting() {
1135 return (Informer)super.reqInformCurrentLimitSetting();
1138 public Informer reqInformFaultStatus() {
1139 return (Informer)super.reqInformFaultStatus();
1142 public Informer reqInformFaultDescription() {
1143 return (Informer)super.reqInformFaultDescription();
1146 public Informer reqInformManufacturerCode() {
1147 return (Informer)super.reqInformManufacturerCode();
1150 public Informer reqInformBusinessFacilityCode() {
1151 return (Informer)super.reqInformBusinessFacilityCode();
1154 public Informer reqInformProductCode() {
1155 return (Informer)super.reqInformProductCode();
1158 public Informer reqInformProductionNumber() {
1159 return (Informer)super.reqInformProductionNumber();
1162 public Informer reqInformProductionDate() {
1163 return (Informer)super.reqInformProductionDate();
1166 public Informer reqInformPowerSavingOperationSetting() {
1167 return (Informer)super.reqInformPowerSavingOperationSetting();
1170 public Informer reqInformRemoteControlSetting() {
1171 return (Informer)super.reqInformRemoteControlSetting();
1174 public Informer reqInformCurrentTimeSetting() {
1175 return (Informer)super.reqInformCurrentTimeSetting();
1178 public Informer reqInformCurrentDateSetting() {
1179 return (Informer)super.reqInformCurrentDateSetting();
1182 public Informer reqInformPowerLimitSetting() {
1183 return (Informer)super.reqInformPowerLimitSetting();
1186 public Informer reqInformCumulativeOperatingTime() {
1187 return (Informer)super.reqInformCumulativeOperatingTime();
1190 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
1191 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
1194 public Informer reqInformSetPropertyMap() {
1195 return (Informer)super.reqInformSetPropertyMap();
1198 public Informer reqInformGetPropertyMap() {
1199 return (Informer)super.reqInformGetPropertyMap();
1226 public Informer reqInformDisplayControlSetting() {
1256 public Informer reqInformCharacterStringSettingAcceptanceStatus() {
1285 public Informer reqInformSupportedCharacterCodes() {
1312 public Informer reqInformCharacterStringToPresentToTheUser() {
1341 public Informer reqInformLengthOfCharacterStringAccepted() {
1347 public static class Proxy
extends Television {
1348 public Proxy(byte instanceCode) {
1381 return setG((byte)0);
1384 public static Setter
setG(byte instanceCode) {
1385 return setG(instanceCode,
true);
1388 public static Setter
setG(
boolean responseRequired) {
1389 return setG((byte)0, responseRequired);
1392 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
1398 return getG((byte)0);
1401 public static Getter
getG(byte instanceCode) {
1410 public static Informer
informG(byte instanceCode) {
synchronized boolean isValidProperty(EchoProperty property)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
final void addGetProperty(byte epc)
synchronized boolean setProperty(EchoProperty property)
abstract byte[] getSupportedCharacterCodes()
boolean isValidSupportedCharacterCodes(byte[] edt)
static final byte EPC_SUPPORTED_CHARACTER_CODES
static Setter setG(byte instanceCode, boolean responseRequired)
boolean isValidLengthOfCharacterStringAccepted(byte[] edt)
static Informer informG()
static final byte EPC_LENGTH_OF_CHARACTER_STRING_ACCEPTED
abstract byte[] getLengthOfCharacterStringAccepted()
final void addSetProperty(byte epc)
abstract byte[] getFaultStatus()
synchronized byte[] getProperty(byte epc)
abstract boolean setCharacterStringToPresentToTheUser(byte[] edt)
boolean isValidCharacterStringSettingAcceptanceStatus(byte[] edt)
static final byte EPC_CHARACTER_STRING_SETTING_ACCEPTANCE_STATUS
boolean isValidCharacterStringToPresentToTheUser(byte[] edt)
byte[] getCharacterStringToPresentToTheUser()
static Setter setG(boolean responseRequired)
boolean isValidDisplayControlSetting(byte[] edt)
static Informer informG(byte instanceCode)
abstract byte[] getCharacterStringSettingAcceptanceStatus()
abstract byte[] getManufacturerCode()
static Setter setG(byte instanceCode)
static final byte EPC_DISPLAY_CONTROL_SETTING
static Getter getG(byte instanceCode)
static final byte EPC_CHARACTER_STRING_TO_PRESENT_TO_THE_USER
Informer inform(boolean multicast)
static final byte EPC_OPERATION_STATUS
byte[] getStandardVersionInformation()
Setter set(boolean responseRequired)
abstract byte[] getOperationStatus()
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
byte[] getDisplayControlSetting()
static final short ECHO_CLASS_CODE
boolean setDisplayControlSetting(byte[] edt)
final boolean isSelfObject()
abstract boolean setOperationStatus(byte[] edt)