Loading…

方法名称: method_write_actuator_command

方法ID: 0x4072

方法标签: Send Actuator Command

方法描述: Send Actuator Command - Allows the user to send Open/Close/Stop commands to the actuator.


  • {
  • long var_id[2];
  • long review_id[20];
  • long review_id_1[10];
  • char status[3];
  • char disp_string1[200];
  • char disp_string2[200];
  • int slen1;
  • slen1 = 200;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • disp_string1 ="|en|Changing actuator command required placing the device in Out of Service Mode, Continue? (YES/NO)";
  • disp_string2 ="|en|Yes;No";
  • switch (SELECT_FROM_LIST(disp_string1, disp_string2))
  • {
  • case 0:
  • disp_string1 ="|en|Placing Device in Out Of Service Mode, please wait! ";


请登录以获得完整内容