| | |
| | | public static readonly string path = ConfigHelper.GetConfigString("OP80QualityData");//OP80的地址 |
| | | public static readonly string query_WorkingProcedureCurrent = "OP80"; |
| | | public static readonly string _DataCapturePointCode = "OP8002"; |
| | | public static readonly string _DataCapturePointName = "OP80质量数据采集"; |
| | | public static readonly string _EquipmentId = "EOP80"; |
| | | public static readonly LogType logType = LogType.PLCOP80_QC; |
| | | |
| | |
| | | WorkingProcedureCurrent = query_WorkingProcedureCurrent, |
| | | EquipmentID = _EquipmentId, |
| | | CreatedTime = DateTime.Now, |
| | | CreatedUserName = _DataCapturePointCode |
| | | CreatedUserName = _DataCapturePointCode, |
| | | DataCapturePointCname= _DataCapturePointName |
| | | }; |
| | | } |
| | | |
| | |
| | | process.StartTime = DateTimeHelper.GetDateTime(); |
| | | process.EndTime = file.LastWriteTime; |
| | | process.CreatedUserName = _DataCapturePointCode; |
| | | process.DataCapturePointCname = DataCapturePointCname; |
| | | process.CreatedTime = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Local); |
| | | process.UpdatedUserName = _DataCapturePointCode; |
| | | process.UpdateDataCapturePointCname = DataCapturePointCname; |
| | | process.UpdatedTime = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Local); |
| | | process.OperationType = OperationType.生产.ToString(); |
| | | process.Remarks = ""; |