Loading…

方法名称: mthSimActivate

方法ID: 0x4780

方法标签: Activate simulation

方法描述:


  • {
  • char status[3];
  • send_trans(134,52, status);;
  • if(!((varParameterizationState_State == 1) || (varParameterizationState_State == 4) || (varParameterizationState_State == 3)))
  • {
  • varSimActive = 1;
  • switch(varSimCmdAddr) {
  • case 0x008e: send_trans(132,6,status);; varSimValue = varMainCurrentOutput_Simulation_Value; GetUnitCode_mA(); varSimValueUnit = tmpUnitCode; break;
  • case 0x0143: send_trans(132,7,status);; varSimValue = varSecondCurrentOutput_Simulation_Value; GetUnitCode_mA(); varSimValueUnit = tmpUnitCode; break;
  • case 0x00ad: send_trans(132,8,status);; varSimValue = varLevel_SimulationPercent_Value; GetUnitCode_Percent(); varSimValueUnit = tmpUnitCode; break;


请登录以获得完整内容