diff --git a/Modules/Mainframe/PMs/PMModule.cs b/Modules/Mainframe/PMs/PMModule.cs index 27d693e..f39c529 100644 --- a/Modules/Mainframe/PMs/PMModule.cs +++ b/Modules/Mainframe/PMs/PMModule.cs @@ -658,6 +658,7 @@ namespace SicModules.PMs //VacIdle Transition(STATE.Idle, MSG.VacIdle, FsmVacIdle, STATE.ToVacIdle); + Transition(STATE.VacIdle, MSG.VacIdle, FsmVacIdle, STATE.ToVacIdle); Transition(STATE.ToVacIdle, FSM_MSG.TIMER, FsmMonitorTask, STATE.VacIdle); Transition(STATE.ToVacIdle, MSG.Abort, FsmAbortTask, STATE.Idle); diff --git a/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs b/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs index 26dfe8b..bb90838 100644 --- a/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs +++ b/Modules/Mainframe/PMs/Routines/PMMfcRorRoutine.cs @@ -46,6 +46,7 @@ namespace SicModules.PMs.Routines SetEPV2_1, SetEPV2_2, + SetEPV2_3, SetTVEnable_1, SetTVEnable_2, SetTVPressMode_1, @@ -319,7 +320,7 @@ namespace SicModules.PMs.Routines if (_flag2) { //打开EPV2 - SetIoValueByGroup((int)RoutineStep.SetEPV2_2, IoGroupName.EPV2, true, _IoValueTimeout); + SetIoValueByGroup((int)RoutineStep.SetEPV2_3, IoGroupName.EPV2, true, _IoValueTimeout); //设置蝶阀Enable SetThrottleEnableAndWait((int)RoutineStep.SetTVEnable_2, _IoThrottle, 5); @@ -664,7 +665,7 @@ namespace SicModules.PMs.Routines { if (_mfcData.MeanDifferencePressure - _mfcData.MaintainPressureDifference > 0) { - _mfcData.Volume = 100000 * (_mfcData.SetFlow * 0.001 / Vm * R * _mfcData.Temperature) / + _mfcData.Volume = 1000000 * (_mfcData.SetFlow * 0.001 / Vm * R * _mfcData.Temperature) / ((_mfcData.MeanDifferencePressure - _mfcData.MaintainPressureDifference) / (_mfcData.Interval / 60.0) / 0.01); //保留2位小数 @@ -713,7 +714,7 @@ namespace SicModules.PMs.Routines { if (_mfcData.SetFlow != 0) { - _mfcData.ActualFlow = ((_mfcData.MeanDifferencePressure - _mfcData.MaintainPressureDifference) / (0.01 * (_mfcData.Interval / 60.0))) * (_mfcData.Volume / 100000.0 / (R * _mfcData.Temperature)) * Vm; + _mfcData.ActualFlow = ((_mfcData.MeanDifferencePressure - _mfcData.MaintainPressureDifference) / (0.01 * (_mfcData.Interval / 60.0))) * (_mfcData.Volume / 1000000.0 / (R * _mfcData.Temperature)) * Vm * 1000; _mfcData.Deviation = (_mfcData.ActualFlow / _mfcData.SetFlow - 1) * 100; //保留2位小数 @@ -721,7 +722,7 @@ namespace SicModules.PMs.Routines _mfcData.Volume = Math.Round(_mfcData.Volume, 2); //大于3%的MFC为超标 - _mfcData.IsOverStandard = Math.Abs(_mfcData.Deviation - 3) > 0; + _mfcData.IsOverStandard = Math.Abs(_mfcData.Deviation) - 3 > 0; _endTime = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss"); diff --git a/SicUI/Models/PMs/PMMfcRorView.xaml b/SicUI/Models/PMs/PMMfcRorView.xaml index 9230dfa..9aad6e8 100644 --- a/SicUI/Models/PMs/PMMfcRorView.xaml +++ b/SicUI/Models/PMs/PMMfcRorView.xaml @@ -57,7 +57,7 @@ - + @@ -111,6 +111,9 @@ + + + @@ -177,6 +180,13 @@ Text="{Binding StandardMfcRorData.SetFlow, StringFormat=0.00}" TextAlignment="Center" /> + + + @@ -378,7 +388,7 @@ - - @@ -67,77 +67,77 @@ #00ae9d @@ -1232,7 +1232,7 @@ @@ -1240,9 +1240,7 @@ - + - + - + @@ -1434,9 +1430,8 @@ Grid.Row="3" Grid.Column="3" DataContext="{Binding ChamberMid1FlowTemp}" - Style="{StaticResource WaterTempBackground}" > - + Style="{StaticResource WaterTempBackground}"> + @@ -1474,9 +1469,8 @@ Grid.Row="4" Grid.Column="3" DataContext="{Binding ChamberMid2FlowTemp}" - Style="{StaticResource WaterTempBackground}" > - + Style="{StaticResource WaterTempBackground}"> + @@ -1514,9 +1508,8 @@ Grid.Row="5" Grid.Column="3" DataContext="{Binding ChamberBottomFlowTemp}" - Style="{StaticResource WaterTempBackground}" > - + Style="{StaticResource WaterTempBackground}"> + - + Style="{StaticResource WaterTempBackground}"> + - + Style="{StaticResource WaterTempBackground}"> + @@ -1704,8 +1695,7 @@ Grid.Column="2" DataContext="{Binding PowerRod2FlowTemp}" Style="{StaticResource WaterTempBackground}"> - + - + Style="{StaticResource WaterTempBackground}"> + @@ -1779,9 +1768,8 @@ Grid.Row="3" Grid.Column="2" DataContext="{Binding ElectrodeWFlowTemp}" - Style="{StaticResource WaterTempBackground}" > - + Style="{StaticResource WaterTempBackground}"> + @@ -1817,9 +1805,8 @@ Grid.Row="4" Grid.Column="2" DataContext="{Binding TMPumpFlowTemp}" - Style="{StaticResource WaterTempBackground}" > - + Style="{StaticResource WaterTempBackground}"> + @@ -1856,9 +1843,8 @@ Grid.Row="5" Grid.Column="2" DataContext="{Binding TMTopLidFlowTemp}" - Style="{StaticResource WaterTempBackground}" > - + Style="{StaticResource WaterTempBackground}"> + - + Style="{StaticResource WaterTempBackground}"> + - + - + Style="{StaticResource WaterTempBackground}"> +