|
@@ -111,10 +111,10 @@ public class AciService {
|
|
|
taskBean.setAciAccept(0);
|
|
|
taskBean.setBusinessType(Constant.TASK_BUSINESS_TYPE.TASK_POWER.getValue());
|
|
|
taskBean = amsTaskService.selectAmsTaskByModel(taskBean);
|
|
|
- s = "87CD0008000C000100710008658100010001%04X";
|
|
|
+ s = "87CD0008000C00010071000865810001%04X%04X";
|
|
|
if (taskBean != null) {
|
|
|
|
|
|
- s = String.format(s, Integer.parseInt(taskBean.getDeviceName()));
|
|
|
+ s = String.format(s, taskBean.getIkey(), Integer.parseInt(taskBean.getDeviceName()));
|
|
|
buffer.put(ByteUtil.hexString2ByteArray(s));
|
|
|
buffer.flip();
|
|
|
socketChannel.write(buffer);
|