| | |
| | | |
| | | //如果根据输入可以开始执行当前行为则标记为成功,否则失败 |
| | | action.IsSuccessed = false; |
| | | action.Data.ShortMsg = new("打印开始", ShortMessage.Types.Success); |
| | | return action; |
| | | } |
| | | /// <summary> |
| | |
| | | //提交数据执行失败 |
| | | else |
| | | { |
| | | action.Data.ShortMsg = new("测试失败", ShortMessage.Types.Failed); |
| | | action.IsSuccessed = false; |
| | | //action.LocaleMsg = new($"执行失败"); |
| | | action.LocaleMsg = new("MES.WorkAction.IPQC.Fail"); |
| | |
| | | }; |
| | | |
| | | IsFinished = true; |
| | | action.LocaleMsg = new($"行为结束"); |
| | | action.Data.ShortMsg = new("测试完成", ShortMessage.Types.Success); |
| | | action.LocaleMsg = new($"测试结束"); |
| | | //action.LocaleMsg = new("MES.WorkAction.IPQC.Finish"); |
| | | return action; |
| | | } |