@Test public void testAddSceneCommand() throws Exception { final AddSceneCommand command = new AddSceneCommand(); command.setGroupId(1); command.setSceneId(2); command.setSceneName("test"); command.setTransitionTime(3); final List<ExtensionFieldSet> list = new ArrayList<ExtensionFieldSet>(); final ExtensionFieldSet data = new ExtensionFieldSet(); data.setClusterId(4); data.setLength(1); data.setData(new byte[]{(byte) 6}); list.add(data); command.setExtensionFieldSets(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);  }