@Test public void testReadReportingConfigurationResponseCommand() throws Exception { final ReadReportingConfigurationResponseCommand command = new ReadReportingConfigurationResponseCommand(); final List<AttributeReportingConfigurationRecord> list = new ArrayList<AttributeReportingConfigurationRecord>(); final AttributeReportingConfigurationRecord data = new AttributeReportingConfigurationRecord(); data.setAttributeIdentifier(1); data.setMinimumReportingInterval(2); data.setMaximumReportingInterval(3); data.setAttributeDataType(ZigBeeType.UnsignedInteger8bit.getId()); data.setReportableChange(1); data.setTimeoutPeriod(0); list.add(data); command.setRecords(list); testSerialization(command); }
public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); } }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }  }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }  static ZclCommandMessage deserializePayload(final byte[] payload, final ZclCommandMessage commandMessage); static byte[] serializePayload(final ZclCommandMessage commandMessage); void add(final ZclCommandFormat messageFormat); ZclCommandFormat get(final ZclCommandType command); }
ZclCommandProtocol { public void add(final ZclCommandFormat messageFormat) { commandFormats.put(messageFormat.getCommand(), messageFormat); }  static ZclCommandMessage deserializePayload(final byte[] payload, final ZclCommandMessage commandMessage); static byte[] serializePayload(final ZclCommandMessage commandMessage); void add(final ZclCommandFormat messageFormat); ZclCommandFormat get(final ZclCommandType command);  }