| | |
| | | /// </summary> |
| | | private void JudgeTestResult() |
| | | { |
| | | if (this._currentPump == null) |
| | | { |
| | | return; |
| | | } |
| | | TProduct.Common.PumpTestJudgeHelper helper = new TProduct.Common.PumpTestJudgeHelper(); |
| | | helper.SetRatedParas(this._currentPump, this._ratedParas); |
| | | helper.SetStandard(this._testStandard, this._testGrade, this._testJudgeItems); |
| | |
| | | MessageBox.Show("ç¹æ°éè¿å°,ææ¶æ æ³å¤æ"); |
| | | return; |
| | | } |
| | | |
| | | if (this._currentPump == null) |
| | | { |
| | | MessageBox.Show("æªæå®äº§å,æ æ³ååæ ¼æ§å¤å®"); |
| | | return; |
| | | } |
| | | ResultJudgeForm frm = new ResultJudgeForm(); |
| | | frm.SetRatedParas(this._currentPump, this._ratedParas); |
| | | frm.SetRecordPoints(this._allRecords); |
| | |
| | | public Action<Model.eTestJudgeResult, Model.eTestJudgeResult> OnChangeJudgeResult = null; |
| | | private void SaveJudgeResult(Model.eTestJudgeResult judgeResult) |
| | | { |
| | | if (this._currentPump == null) |
| | | { |
| | | return; |
| | | } |
| | | if (judgeResult != this._featTestItem.ItemJudgeResult) |
| | | { |
| | | this._featTestItem.ItemJudgeResult = judgeResult; |
| | |
| | | /// </summary> |
| | | private void ShowJudgeResult() |
| | | { |
| | | if (this._currentPump == null) |
| | | { |
| | | MessageBox.Show("æªæå®äº§å,æ æ³ååæ ¼æ§å¤å®"); |
| | | return; |
| | | } |
| | | if (this._featTestItem.ItemJudgeResult == eTestJudgeResult.åæ ¼) |
| | | { |
| | | barButtonItemå¤æç»æ.Caption = "åæ ¼"; |