| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置工步状态和消息 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public void SetStatusMessage(StepStatus status, Locale msg) |
| | | { |
| | | Message = msg; |
| | | Status = status; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取当前工步的信息 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | |
| | | { |
| | | return new WorkStepInfo() { |
| | | ID = ID, |
| | | Name = Name, |
| | | Sequence = Sequence, |
| | | NodeID = NodeID, |
| | | NodeType = NodeType.ToString(), |
| | |
| | | NodeAct = NodeAct, |
| | | ActSetting = ActSetting, |
| | | Status = Status.ToString(), |
| | | Message = Biz.T(Message, locale), |
| | | Message = Message.IsNullOrEmpty() ? "" : Biz.T(Message, locale), |
| | | }; |
| | | } |
| | | #endregion |