Loading…

方法名称: method_MaintMechanicSetup

方法ID: 0x4319

方法标签: Maintenance Mechanic Setup

方法描述:


  • {
  • char cmd_status[3];
  • int iResult;
  • int OldProcessType;
  • int OldProbeTypeExtended;
  • DD_STRING strPercentValue;
  • DD_STRING strFromDico;
  • DD_STRING strToDisplay;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • OldProcessType = ProcessType;
  • OldProbeTypeExtended = ProbeTypeExtended;
  • _get_dev_var_value(literal_string(479),0,16784);
  • _get_dev_var_value(literal_string(492),0,16785);
  • iResult = SELECT_FROM_LIST(literal_string(1185),literal_string(1140));
  • if (iResult > 0)
  • {
  • if (OldProbeTypeExtended != ProbeTypeExtended || OldProcessType != ProcessType)
  • {
  • _iassign(16975,ProcessType);
  • _iassign(16976,ProbeTypeExtended);
  • send_trans(222,2,cmd_status);
  • if (cmd_status[0] != 0)


请登录以获得完整内容