Loading…

方法名称: SetDefaultsMethod

方法ID: 0x4282

方法标签: Set Defaults

方法描述: Resets controller configuration settings to default values.


  • {
  • char acStatus[3];
  • char disp_string1[65];
  • int wChoice;
  • int slen1;
  • slen1 = 60;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • ACKNOWLEDGE("|en|WARN-Loops and Relays should be removed from automatic control." );
  • _add_abort_method(17017);
  • iOneHighUnsignedIntegerIndexSC200 = 66;
  • wChoice = SELECT_FROM_LIST("|en|Do you want to set default values?","|en|NO;YES" );
  • if( wChoice == 0 )
  • {
  • DELAY( 2,"|en|Default values not set, aborting." );
  • process_abort();


请登录以获得完整内容