This commit is contained in:
alex
2023-07-25 10:16:51 +08:00
2 changed files with 5 additions and 0 deletions

View File

@@ -18,6 +18,10 @@
/// 任务完成 /// 任务完成
/// </summary> /// </summary>
Compled = 8, Compled = 8,
/// <summary>
/// 暂停
/// </summary>
Pause = 16,
} }
} }

View File

@@ -1008,6 +1008,7 @@ namespace Tnb.ProductionMgr
PrdTaskBehavior.Start => DictConst.InProgressEnCode, PrdTaskBehavior.Start => DictConst.InProgressEnCode,
PrdTaskBehavior.Closed => DictConst.ClosedEnCode, PrdTaskBehavior.Closed => DictConst.ClosedEnCode,
PrdTaskBehavior.Compled => DictConst.ComplatedEnCode, PrdTaskBehavior.Compled => DictConst.ComplatedEnCode,
PrdTaskBehavior.Pause => DictConst.MoStatusPauseCode,
_ => throw new NotImplementedException(), _ => throw new NotImplementedException(),
}; };
PrdTaskBehavior behavior = input.Behavior.ToEnum<PrdTaskBehavior>(); PrdTaskBehavior behavior = input.Behavior.ToEnum<PrdTaskBehavior>();