Loading…

Method Name: method_restore_to_factory

Method ID: 0x407D

Method Label: Restore to Custom

Method Help: Restore to Custom - Allows the user to restore the actuator to custom state.


  • {
  • char status[3];
  • char disp_string1[60];
  • char disp_string2[60];
  • int slen;
  • int index;
  • slen = 60;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _get_dictionary_string(19726337,disp_string1,slen);
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • disp_string1 = literal_string(315);
  • _get_dictionary_string(19726346,disp_string2,slen);
  • index = SELECT_FROM_LIST(disp_string1,disp_string2);
  • switch (index)
  • {
  • case 0:
  • _iassign(16506,0x18);


Please login for more