16 package com.sonycsl.echo.eoj.device.managementoperation;
33 super.setupPropertyMaps();
43 Echo.getEventListener().onNewController(
this);
106 boolean success = super.setProperty(property);
107 if(success)
return success;
109 switch(property.
epc) {
110 default :
return false;
116 byte[] edt = super.getProperty(epc);
117 if(edt != null)
return edt;
120 default :
return null;
126 boolean valid = super.isValidProperty(property);
127 if(valid)
return valid;
129 switch(property.
epc) {
130 default :
return false;
140 public Setter
set(
boolean responseRequired) {
142 ,
getNode().getAddressStr(), responseRequired);
146 public Getter
get() {
157 protected Informer
inform(
boolean multicast) {
162 address =
getNode().getAddressStr();
168 public static class Receiver
extends DeviceObject.Receiver {
171 protected boolean onSetProperty(
EchoObject eoj,
short tid, byte esv,
173 boolean ret = super.onSetProperty(eoj, tid, esv, property, success);
176 switch(property.epc) {
183 protected boolean onGetProperty(
EchoObject eoj,
short tid, byte esv,
185 boolean ret = super.onGetProperty(eoj, tid, esv, property, success);
188 switch(property.epc) {
196 public static class Setter
extends DeviceObject.Setter {
197 public Setter(
short dstEchoClassCode, byte dstEchoInstanceCode
198 , String dstEchoAddress,
boolean responseRequired) {
199 super(dstEchoClassCode, dstEchoInstanceCode
200 , dstEchoAddress, responseRequired);
204 public Setter reqSetProperty(byte epc, byte[] edt) {
205 return (Setter)super.reqSetProperty(epc, edt);
209 public Setter reqSetOperationStatus(byte[] edt) {
210 return (Setter)super.reqSetOperationStatus(edt);
213 public Setter reqSetInstallationLocation(byte[] edt) {
214 return (Setter)super.reqSetInstallationLocation(edt);
217 public Setter reqSetCurrentLimitSetting(byte[] edt) {
218 return (Setter)super.reqSetCurrentLimitSetting(edt);
221 public Setter reqSetPowerSavingOperationSetting(byte[] edt) {
222 return (Setter)super.reqSetPowerSavingOperationSetting(edt);
225 public Setter reqSetRemoteControlSetting(byte[] edt) {
226 return (Setter)super.reqSetRemoteControlSetting(edt);
229 public Setter reqSetCurrentTimeSetting(byte[] edt) {
230 return (Setter)super.reqSetCurrentTimeSetting(edt);
233 public Setter reqSetCurrentDateSetting(byte[] edt) {
234 return (Setter)super.reqSetCurrentDateSetting(edt);
237 public Setter reqSetPowerLimitSetting(byte[] edt) {
238 return (Setter)super.reqSetPowerLimitSetting(edt);
243 public static class Getter
extends DeviceObject.Getter {
244 public Getter(
short dstEchoClassCode, byte dstEchoInstanceCode
245 , String dstEchoAddress) {
246 super(dstEchoClassCode, dstEchoInstanceCode
251 public Getter reqGetProperty(byte epc) {
252 return (Getter)super.reqGetProperty(epc);
256 public Getter reqGetOperationStatus() {
257 return (Getter)super.reqGetOperationStatus();
260 public Getter reqGetInstallationLocation() {
261 return (Getter)super.reqGetInstallationLocation();
264 public Getter reqGetStandardVersionInformation() {
265 return (Getter)super.reqGetStandardVersionInformation();
268 public Getter reqGetIdentificationNumber() {
269 return (Getter)super.reqGetIdentificationNumber();
272 public Getter reqGetMeasuredInstantaneousPowerConsumption() {
273 return (Getter)super.reqGetMeasuredInstantaneousPowerConsumption();
276 public Getter reqGetMeasuredCumulativePowerConsumption() {
277 return (Getter)super.reqGetMeasuredCumulativePowerConsumption();
280 public Getter reqGetManufacturersFaultCode() {
281 return (Getter)super.reqGetManufacturersFaultCode();
284 public Getter reqGetCurrentLimitSetting() {
285 return (Getter)super.reqGetCurrentLimitSetting();
288 public Getter reqGetFaultStatus() {
289 return (Getter)super.reqGetFaultStatus();
292 public Getter reqGetFaultDescription() {
293 return (Getter)super.reqGetFaultDescription();
296 public Getter reqGetManufacturerCode() {
297 return (Getter)super.reqGetManufacturerCode();
300 public Getter reqGetBusinessFacilityCode() {
301 return (Getter)super.reqGetBusinessFacilityCode();
304 public Getter reqGetProductCode() {
305 return (Getter)super.reqGetProductCode();
308 public Getter reqGetProductionNumber() {
309 return (Getter)super.reqGetProductionNumber();
312 public Getter reqGetProductionDate() {
313 return (Getter)super.reqGetProductionDate();
316 public Getter reqGetPowerSavingOperationSetting() {
317 return (Getter)super.reqGetPowerSavingOperationSetting();
320 public Getter reqGetRemoteControlSetting() {
321 return (Getter)super.reqGetRemoteControlSetting();
324 public Getter reqGetCurrentTimeSetting() {
325 return (Getter)super.reqGetCurrentTimeSetting();
328 public Getter reqGetCurrentDateSetting() {
329 return (Getter)super.reqGetCurrentDateSetting();
332 public Getter reqGetPowerLimitSetting() {
333 return (Getter)super.reqGetPowerLimitSetting();
336 public Getter reqGetCumulativeOperatingTime() {
337 return (Getter)super.reqGetCumulativeOperatingTime();
340 public Getter reqGetStatusChangeAnnouncementPropertyMap() {
341 return (Getter)super.reqGetStatusChangeAnnouncementPropertyMap();
344 public Getter reqGetSetPropertyMap() {
345 return (Getter)super.reqGetSetPropertyMap();
348 public Getter reqGetGetPropertyMap() {
349 return (Getter)super.reqGetGetPropertyMap();
354 public static class Informer
extends DeviceObject.Informer {
355 public Informer(
short echoClassCode, byte echoInstanceCode
357 super(echoClassCode, echoInstanceCode
358 , dstEchoAddress, isSelfObject);
362 public Informer reqInformProperty(byte epc) {
363 return (Informer)super.reqInformProperty(epc);
366 public Informer reqInformOperationStatus() {
367 return (Informer)super.reqInformOperationStatus();
370 public Informer reqInformInstallationLocation() {
371 return (Informer)super.reqInformInstallationLocation();
374 public Informer reqInformStandardVersionInformation() {
375 return (Informer)super.reqInformStandardVersionInformation();
378 public Informer reqInformIdentificationNumber() {
379 return (Informer)super.reqInformIdentificationNumber();
382 public Informer reqInformMeasuredInstantaneousPowerConsumption() {
383 return (Informer)super.reqInformMeasuredInstantaneousPowerConsumption();
386 public Informer reqInformMeasuredCumulativePowerConsumption() {
387 return (Informer)super.reqInformMeasuredCumulativePowerConsumption();
390 public Informer reqInformManufacturersFaultCode() {
391 return (Informer)super.reqInformManufacturersFaultCode();
394 public Informer reqInformCurrentLimitSetting() {
395 return (Informer)super.reqInformCurrentLimitSetting();
398 public Informer reqInformFaultStatus() {
399 return (Informer)super.reqInformFaultStatus();
402 public Informer reqInformFaultDescription() {
403 return (Informer)super.reqInformFaultDescription();
406 public Informer reqInformManufacturerCode() {
407 return (Informer)super.reqInformManufacturerCode();
410 public Informer reqInformBusinessFacilityCode() {
411 return (Informer)super.reqInformBusinessFacilityCode();
414 public Informer reqInformProductCode() {
415 return (Informer)super.reqInformProductCode();
418 public Informer reqInformProductionNumber() {
419 return (Informer)super.reqInformProductionNumber();
422 public Informer reqInformProductionDate() {
423 return (Informer)super.reqInformProductionDate();
426 public Informer reqInformPowerSavingOperationSetting() {
427 return (Informer)super.reqInformPowerSavingOperationSetting();
430 public Informer reqInformRemoteControlSetting() {
431 return (Informer)super.reqInformRemoteControlSetting();
434 public Informer reqInformCurrentTimeSetting() {
435 return (Informer)super.reqInformCurrentTimeSetting();
438 public Informer reqInformCurrentDateSetting() {
439 return (Informer)super.reqInformCurrentDateSetting();
442 public Informer reqInformPowerLimitSetting() {
443 return (Informer)super.reqInformPowerLimitSetting();
446 public Informer reqInformCumulativeOperatingTime() {
447 return (Informer)super.reqInformCumulativeOperatingTime();
450 public Informer reqInformStatusChangeAnnouncementPropertyMap() {
451 return (Informer)super.reqInformStatusChangeAnnouncementPropertyMap();
454 public Informer reqInformSetPropertyMap() {
455 return (Informer)super.reqInformSetPropertyMap();
458 public Informer reqInformGetPropertyMap() {
459 return (Informer)super.reqInformGetPropertyMap();
464 public static class Proxy
extends Controller {
465 public Proxy(byte instanceCode) {
490 return setG((byte)0);
493 public static Setter
setG(byte instanceCode) {
494 return setG(instanceCode,
true);
497 public static Setter
setG(
boolean responseRequired) {
498 return setG((byte)0, responseRequired);
501 public static Setter
setG(byte instanceCode,
boolean responseRequired) {
507 return getG((byte)0);
510 public static Getter
getG(byte instanceCode) {
519 public static Informer
informG(byte instanceCode) {
static Setter setG(byte instanceCode, boolean responseRequired)
final void addStatusChangeAnnouncementProperty(byte epc)
abstract byte[] getInstallationLocation()
final void addGetProperty(byte epc)
static Informer informG(byte instanceCode)
static Setter setG(byte instanceCode)
final void addSetProperty(byte epc)
synchronized boolean setProperty(EchoProperty property)
abstract byte[] getFaultStatus()
static Informer informG()
abstract boolean setOperationStatus(byte[] edt)
abstract byte[] getManufacturerCode()
synchronized byte[] getProperty(byte epc)
abstract byte[] getOperationStatus()
static final byte EPC_OPERATION_STATUS
byte[] getStandardVersionInformation()
Setter set(boolean responseRequired)
static Getter getG(byte instanceCode)
static Setter setG(boolean responseRequired)
abstract boolean setInstallationLocation(byte[] edt)
static final String MULTICAST_ADDRESS
synchronized boolean isValidProperty(EchoProperty property)
static final short ECHO_CLASS_CODE
final boolean isSelfObject()
Informer inform(boolean multicast)