| | |
| | | /// </summary> |
| | | public class SystemBussinessHelper |
| | | { |
| | | /// <summary> |
| | | /// 设置WorkPieceLog 的创建人 |
| | | /// </summary> |
| | | /// <param name="workPieceLog"></param> |
| | | /// <param name="_DataCapturePointCode"></param> |
| | | /// <param name="_DataCapturePointName"></param> |
| | | public static void SetWorkPieceLogMiddleForCreatedUserName(ref WorkPieceLogMiddle workPieceLog, string _DataCapturePointCode, string _DataCapturePointName) |
| | | { |
| | | workPieceLog.CreatedUserName = _DataCapturePointCode; |
| | | workPieceLog.DataCapturePointCname = _DataCapturePointName; |
| | | } |
| | | /// <summary> |
| | | /// 设置WorkPieceLog 的创建人 |
| | | /// </summary> |
| | | /// <param name="workPieceLog"></param> |
| | | /// <param name="_DataCapturePointCode"></param> |
| | | /// <param name="_DataCapturePointName"></param> |
| | | public static void SetWorkPieceLogMiddleForCreatedUserName(ref WorkPieceLog workPieceLog, string _DataCapturePointCode, string _DataCapturePointName) |
| | | { |
| | | workPieceLog.CreatedUserName = _DataCapturePointCode; |
| | | workPieceLog.DataCapturePointCname = _DataCapturePointName; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置WorkPieceLog 的更新人 |
| | | /// </summary> |
| | | /// <param name="workPieceLog"></param> |
| | | /// <param name="_DataCapturePointCode"></param> |
| | | /// <param name="_DataCapturePointName"></param> |
| | | public static void SetWorkPieceLogMiddleForUpdatedUserName(ref WorkPieceLogMiddle workPieceLog, string _DataCapturePointCode, string _DataCapturePointName) |
| | | { |
| | | workPieceLog.UpdatedUserName = _DataCapturePointCode; |
| | | workPieceLog.UpdateDataCapturePointCname = _DataCapturePointName; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否允许修改WorkPieceState 为WIP |