Loading…

方法名称: method_FlangeAnalysis

方法ID: 0x432B

方法标签: Flange Analysis

方法描述:


  • {
  • char cmd_status[3];
  • int iResult;
  • int LoopIndex;
  • int OperationInProgress;
  • int iResultToProdKnown;
  • DD_STRING OperationResultMessage;
  • float fFloatValue;
  • unsigned int uiIntegerValue;
  • int TimeToWait;
  • DD_STRING strPercentValue;
  • DD_STRING strFromDico;
  • DD_STRING strToDisplay;
  • int ProgressBarValue;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • iResult = SELECT_FROM_LIST(literal_string(1285),literal_string(1140));
  • if (iResult > 0)
  • {
  • iResult = SELECT_FROM_LIST(literal_string(1265),literal_string(1266));
  • if (iResult > 0)
  • {
  • PUT_MESSAGE(literal_string(1267));
  • _fassign(16711,1.0000);
  • if (InstallationType == 1)
  • {
  • _iassign(16909,1);
  • }
  • else
  • {
  • _iassign(16909,0);
  • }
  • _fassign(16910,epsilon_r_gas);
  • _fassign(16911,StillingWellDiameter);
  • send_trans(185,2,cmd_status);
  • if (cmd_status[0] != 0)
  • {
  • display_response_status(185,cmd_status[0]);
  • }
  • else
  • {
  • _iassign(16915,2);
  • send(186,cmd_status);
  • OperationInProgress = 1;
  • DELAY_TIME(2);
  • do {
  • send_trans(187,2,cmd_status);
  • if (Cmd187_FlangeAnalysisExecState >= 0)


请登录以获得完整内容