已添加2个文件
已修改9个文件
已删除1个文件
已重命名1个文件
| | |
| | | {"MM":"1","LogTime":"2025-06-03"} |
| | | {"MM":"1","LogTime":"2025-06-10"} |
| | |
| | | SpeStackerCrane speStackerCrane = (SpeStackerCrane)context.JobDetail.JobDataMap.Get("JobParams"); |
| | | if (speStackerCrane != null) |
| | | { |
| | | var DeviceStatu = speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.DeviceStatus); |
| | | var StackerCraneStatu = speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.StackerCraneStatus); |
| | | speStackerCrane.SetValue(StackerCraneDBName.StartRow, 1); |
| | | speStackerCrane.SetValue(StackerCraneDBName.StartColumn, 2); |
| | | speStackerCrane.SetValue(StackerCraneDBName.StartLayer, 3); |
| | | speStackerCrane.SetValue(StackerCraneDBName.EndRow, 4); |
| | | speStackerCrane.SetValue(StackerCraneDBName.EndColumn, 5); |
| | | speStackerCrane.SetValue(StackerCraneDBName.EndLayer, 2); |
| | | |
| | | GetStackerObject getStackerObject = new GetStackerObject(speStackerCrane); |
| | | if (!getStackerObject.IsEventSubscribed) |
| | | { |
| | |
| | | { |
| | | getStackerObject.CheckStackerCraneTaskCompleted();//æ£æµå åæºä»»å¡å®æäºä»¶ |
| | | |
| | | if(getStackerObject.StackerCraneWorkStatusValue == StackerCraneWorkStatus.Standby) |
| | | if (getStackerObject.StackerCraneWorkStatusValue == StackerCraneWorkStatus.Standby) |
| | | { |
| | | Dt_Task? task = GetTask(speStackerCrane); |
| | | if (task != null) |
| | |
| | | bool sendFlag = getStackerObject.SendCommand(stackerCraneTaskCommand); |
| | | if (sendFlag) |
| | | { |
| | | speStackerCrane.SetValue(StackerCraneDBName.CommandSend, 1);//å¯å¨å½ä»¤ |
| | | speStackerCrane.LastTaskType = task.TaskType; |
| | | _taskService.UpdateTaskStatusToNext(task.TaskNum); |
| | | } |
| | |
| | | else |
| | | { |
| | | task = _taskService.QueryStackerCraneOutTask(speStackerCrane.DeviceCode); |
| | | if(task == null) |
| | | if (task == null) |
| | | { |
| | | task = _taskService.QueryStackerCraneInTask(speStackerCrane.DeviceCode); |
| | | } |
| | |
| | | /// </summary> |
| | | /// <param name="speStackerCrane"></param> |
| | | /// <returns></returns> |
| | | public int WorkCommandValue() => _speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkCommand); |
| | | //public int WorkCommandValue() => _speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkCommand); |
| | | |
| | | /// <summary> |
| | | /// è·åå åæºè®¾å¤ç¶æ |
| | |
| | | _speStackerCrane.SetValue(StackerCraneDBName.EndRow, command.EndRow); |
| | | _speStackerCrane.SetValue(StackerCraneDBName.EndColumn, command.EndColumn); |
| | | _speStackerCrane.SetValue(StackerCraneDBName.EndLayer, command.EndLayer); |
| | | _speStackerCrane.SetValue(StackerCraneDBName.Barcode, command.Barcode); |
| | | //_speStackerCrane.SetValue(StackerCraneDBName.Barcode, command.Barcode); |
| | | _speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.WorkType); |
| | | _speStackerCrane.SetValue(StackerCraneDBName.TrayType, command.TrayType); |
| | | //_speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.TrayType); |
| | | return true; |
| | | } |
| | | return false; |
| | |
| | | { |
| | | public enum StackerCraneDBName |
| | | { |
| | | #region WCS==ãå åæº |
| | | /// <summary> |
| | | /// ä»»å¡å· |
| | | /// </summary> |
| | | TaskNum, |
| | | |
| | | /// <summary> |
| | | /// ä½ä¸ç±»å |
| | | /// ä½ä¸ç±»å<br/> |
| | | /// 1å
¥2åº3ç§»åº |
| | | /// </summary> |
| | | WorkType, |
| | | |
| | |
| | | EndLayer, |
| | | |
| | | /// <summary> |
| | | /// æçå· |
| | | /// å¯å¨å½ä»¤<br/> |
| | | /// 1为å¯å¨,æ¶å°MW1512=1å®æä¿¡å·åå¼å¯ä¿¡å·ç»2åé¦ç»PLC,PLCæ¸
å®æä¿¡å·1--0 |
| | | /// </summary> |
| | | Barcode, |
| | | CommandSend, |
| | | #endregion |
| | | |
| | | #region å åæº==ãWCS |
| | | |
| | | /// <summary> |
| | | /// æçç±»å |
| | | /// å åæºå· |
| | | /// </summary> |
| | | TrayType, |
| | | DeviceName, |
| | | |
| | | /// <summary> |
| | | /// 设å¤ç¶æ |
| | | /// 设å¤ç¶æ<br/> |
| | | /// 5ï¼èæºèªå¨4ï¼æ¬æºèªå¨/åèªå¨3ï¼æå¨2ï¼è°è¯1ï¼èªå¦ä¹ |
| | | /// </summary> |
| | | StackerCraneStatus, |
| | | DeviceStatus, |
| | | |
| | | /// <summary> |
| | | /// 工使¨¡å¼ |
| | | /// è¿è¡ç¶æ<br/> |
| | | /// 1空é²ï¼2æ¥æ¶æä»¤ï¼3空载移å¨,4åè´§ï¼5åè´§å®æ<br/> |
| | | /// 6满载移å¨ï¼7å¸è´§ï¼8å
¥åºå®æï¼9åºåºå®æï¼10æå¨å é¤ä»»å¡ |
| | | /// </summary> |
| | | StackerCraneAutoStatus, |
| | | RunStatus, |
| | | |
| | | /// <summary> |
| | | /// å·¥ä½ç¶æ |
| | | /// ä»»å¡å· |
| | | /// </summary> |
| | | StackerCraneWorkStatus, |
| | | CurrentTaskNum, |
| | | |
| | | /// <summary> |
| | | /// ä»»å¡å®æ |
| | | /// ä»»å¡å®æ<br/> |
| | | /// 1宿,2åæ¶ã |
| | | /// </summary> |
| | | StackerCraneTaskCompleted, |
| | | |
| | | /// <summary> |
| | | /// ä½ä¸å½ä»¤ |
| | | /// å½åæ |
| | | /// </summary> |
| | | WorkCommand |
| | | AccuRow, |
| | | /// <summary> |
| | | /// å½åå |
| | | /// </summary> |
| | | AccuColumn, |
| | | /// <summary> |
| | | /// å½åå± |
| | | /// </summary> |
| | | AccuLayer, |
| | | |
| | | /// <summary> |
| | | /// 设å¤ç¶æ<br/> |
| | | /// 1åå¤å°±ç»ª0æªå°±ç»ªï¼åå¤å°±ç»ªå¯ä¸åå åæºä»»å¡ |
| | | /// </summary> |
| | | StackerCraneStatus, |
| | | |
| | | /// <summary> |
| | | /// æ
é代ç |
| | | /// </summary> |
| | | Err_Status, |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | /// ç»´ä¿®/ç»´æ¤/ä¿å
» |
| | | /// </summary> |
| | | [Description("ç»´ä¿®")] |
| | | Maintenance=2, |
| | | Maintenance = 2, |
| | | |
| | | /// <summary> |
| | | /// æå¨ |
| | | /// </summary> |
| | | [Description("æå¨")] |
| | | Manual=3, |
| | | Manual = 3, |
| | | |
| | | /// <summary> |
| | | /// æ¬æºèªå¨ |
| | | /// </summary> |
| | | [Description("æ¬æºèªå¨")] |
| | | SemiAutomatic=4, |
| | | SemiAutomatic = 4, |
| | | |
| | | /// <summary> |
| | | /// èæº |
| | | /// </summary> |
| | | [Description("èæº")] |
| | | Automatic=5, |
| | | Automatic = 5, |
| | | |
| | | /// <summary> |
| | | /// æªç¥ |
| | | /// </summary> |
| | | [Description("æªç¥")] |
| | | Unkonw=6 |
| | | Unkonw = 6 |
| | | } |
| | | |
| | | public enum StackerCraneWorkStatus |
| | |
| | | /// å¾
æº |
| | | /// </summary> |
| | | [Description("å¾
æº")] |
| | | Standby=1, |
| | | Standby = 1, |
| | | |
| | | /// <summary> |
| | | /// æ¶å°ä»»å¡ |
| | |
| | | /// åè´§åç§»å¨ |
| | | /// </summary> |
| | | [Description("åè´§åç§»å¨")] |
| | | PickAfterMove=6, |
| | | PickAfterMove = 6, |
| | | |
| | | /// <summary> |
| | | /// æ¾è´§ä¸ |
| | |
| | | /// ä»»å¡å®æ |
| | | /// </summary> |
| | | [Description("ä»»å¡å®æ")] |
| | | WorkCompleted=1, |
| | | WorkCompleted = 1, |
| | | |
| | | /// <summary> |
| | | /// æªç¥ |
| | |
| | | private Dt_LocationInfo EmptyAssignLocation(string roadway) |
| | | { |
| | | List<LocationGroupDTO> locationGroups = BaseDal.GetLocationGroups(roadway, LocationStatusEnum.Free, LocationStatusEnum.Pallet); |
| | | ///æ ¹æ®å··éè¿è¡æåº |
| | | if (locationGroups != null && locationGroups.Count > 0) |
| | | { |
| | | LocationGroupDTO? locationGroup = locationGroups.FirstOrDefault(x => x.EnableStatusA == EnableStatusEnum.Normal.ObjToInt()|| x.EnableStatusA == EnableStatusEnum.OnlyIn.ObjToInt()); |
| | |
| | | private Dt_LocationInfo StoredAssignLocation(string roadway) |
| | | { |
| | | List<LocationGroupDTO> locationGroups = BaseDal.GetLocationGroups(roadway, LocationStatusEnum.Free, LocationStatusEnum.InStock); |
| | | ///æ ¹æ®å··éè¿è¡æåº |
| | | if (locationGroups != null && locationGroups.Count > 0) |
| | | { |
| | | LocationGroupDTO? locationGroup = locationGroups.FirstOrDefault(x => x.EnableStatusA == EnableStatusEnum.OnlyIn.ObjToInt() || x.EnableStatusA == EnableStatusEnum.Normal.ObjToInt()); |
| | |
| | | _repository = repository; |
| | | } |
| | | |
| | | [HttpPost, Route("InitializationLocation"), AllowAnonymous] |
| | | [HttpPost, Route("InitializationLocation")] |
| | | public WebResponseContent InitializationLocation([FromBody] InitializationLocationDTO initializationLocationDTO) |
| | | { |
| | | return Service.InitializationLocation(initializationLocationDTO); |
| | |
| | | Target Server Version : 13001601 |
| | | File Encoding : 65001 |
| | | |
| | | Date: 06/06/2025 12:18:51 |
| | | Date: 10/06/2025 21:23:20 |
| | | */ |
| | | |
| | | |
| | |
| | | SET IDENTITY_INSERT [dbo].[Dt_DeviceInfo] ON |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceInfo] ([Id], [DeviceCode], [DeviceName], [DeviceType], [DeviceStatus], [DeviceIp], [DevicePort], [DevicePlcType], [DeviceRemark], [Creater], [CreateDate], [Modifier], [ModifyDate], [DispatchId]) VALUES (N'1', N'R01', N'1å·å åæº', N'SpeStackerCrane', N'1', N'127.0.0.1', N'502', N'ModbusTcp', NULL, N'System', N'2024-10-21 10:18:08.477', N'admin', N'2024-11-08 10:25:10.393', N'4') |
| | | INSERT INTO [dbo].[Dt_DeviceInfo] ([Id], [DeviceCode], [DeviceName], [DeviceType], [DeviceStatus], [DeviceIp], [DevicePort], [DevicePlcType], [DeviceRemark], [Creater], [CreateDate], [Modifier], [ModifyDate], [DispatchId]) VALUES (N'1', N'FL_SC01', N'1å·å åæº', N'SpeStackerCrane', N'1', N'192.168.1.5', N'502', N'InovanceTcp', NULL, N'System', N'2024-10-21 10:18:08.477', N'admin', N'2024-11-08 10:25:10.393', N'4') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceInfo] ([Id], [DeviceCode], [DeviceName], [DeviceType], [DeviceStatus], [DeviceIp], [DevicePort], [DevicePlcType], [DeviceRemark], [Creater], [CreateDate], [Modifier], [ModifyDate], [DispatchId]) VALUES (N'1004', N'R02', N'2å·å åæº', N'SpeStackerCrane', N'0', N'127.0.0.1', N'501', N'ModbusTcp', NULL, N'System', N'2024-11-11 08:57:48.343', NULL, NULL, N'4') |
| | | INSERT INTO [dbo].[Dt_DeviceInfo] ([Id], [DeviceCode], [DeviceName], [DeviceType], [DeviceStatus], [DeviceIp], [DevicePort], [DevicePlcType], [DeviceRemark], [Creater], [CreateDate], [Modifier], [ModifyDate], [DispatchId]) VALUES (N'1004', N'CP_SC01', N'2å·å åæº', N'SpeStackerCrane', N'0', N'127.0.0.1', N'501', N'ModbusTcp', NULL, N'System', N'2024-11-11 08:57:48.343', NULL, NULL, N'4') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceInfo] ([Id], [DeviceCode], [DeviceName], [DeviceType], [DeviceStatus], [DeviceIp], [DevicePort], [DevicePlcType], [DeviceRemark], [Creater], [CreateDate], [Modifier], [ModifyDate], [DispatchId]) VALUES (N'1005', N'Line01', N'è¾é线', N'CommonConveyorLine', N'1', N'192.168.0.86', N'103', N'SiemensS7', NULL, N'System', N'2025-05-29 15:52:45.000', NULL, NULL, N'1007') |
| | | INSERT INTO [dbo].[Dt_DeviceInfo] ([Id], [DeviceCode], [DeviceName], [DeviceType], [DeviceStatus], [DeviceIp], [DevicePort], [DevicePlcType], [DeviceRemark], [Creater], [CreateDate], [Modifier], [ModifyDate], [DispatchId]) VALUES (N'1005', N'Line01', N'è¾é线', N'CommonConveyorLine', N'0', N'192.168.0.86', N'103', N'SiemensS7', NULL, N'System', N'2025-05-29 15:52:45.000', NULL, NULL, N'1007') |
| | | GO |
| | | |
| | | SET IDENTITY_INSERT [dbo].[Dt_DeviceInfo] OFF |
| | |
| | | SET IDENTITY_INSERT [dbo].[Dt_DeviceProtocol] ON |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'1', N'1', N'R01', N'DBW', N'28.0', N'int', N'1', N'StackerCraneTaskCompleted', N'StackerCraneTaskCompleted', N'ä»»å¡å®æä¿¡å·', NULL, N'admin', N'2024-10-21 10:18:12.610', N'admin', N'2024-11-08 10:25:10.397') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'1', N'1', N'FL_SC01', N'MD1001', N'.0', N'Dint', N'1', N'TaskNum', N'DeviceCommand', N'ä»»å¡å·', NULL, N'admin', N'2024-10-21 10:18:12.610', N'admin', N'2024-11-08 10:25:10.397') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'2', N'1', N'R01', N'DBW', N'2.0', N'int', N'1', N'StackerCraneAutoStatus', N'StackerCraneAutoStatus', N'工使¨¡å¼', NULL, N'admin', N'2024-10-21 10:18:12.610', N'admin', N'2024-11-08 10:25:10.397') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'2', N'1', N'FL_SC01', N'MW2004', N'.0', N'int', N'1', N'WorkType', N'DeviceCommand', N'ä½ä¸ç±»å', N'1å
¥2åº3ç§»åº', N'admin', N'2024-10-21 10:18:12.610', N'admin', N'2024-11-08 10:25:10.397') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'4', N'1', N'R01', N'DBW', N'4.0', N'int', N'1', N'StackerCraneWorkStatus', N'StackerCraneWorkStatus', N'ä½ä¸ç±»å', NULL, N'admin', N'2024-10-21 10:18:12.610', N'admin', N'2024-11-08 10:25:10.400') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'3', N'1', N'FL_SC01', N'MW2009', N'.0', N'int', N'1', N'StartRow', N'DeviceCommand', N'èµ·å§è¡', NULL, N'admin', N'2024-10-21 10:18:12.610', N'admin', N'2024-11-08 10:25:10.400') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'176', N'1', N'R01', N'DBW', N'96.0', N'int', N'1', N'StackerCraneStatus', N'StackerCraneStatus', N'åå¤å°±ç»ª', NULL, N'admin', N'2024-10-30 16:56:35.617', N'admin', N'2024-11-08 10:25:10.400') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'4', N'1', N'FL_SC01', N'MW2010', N'.0', N'int', N'1', N'StartColumn', N'DeviceCommand', N'èµ·å§å', NULL, N'admin', N'2024-10-30 16:56:35.617', N'admin', N'2024-11-08 10:25:10.400') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'177', N'1', N'R01', N'DBD', N'194.0', N'Dint', N'1', N'CurrentTaskNum', N'DeviceCommand', N'ä»»å¡å·', NULL, N'admin', N'2024-10-30 16:58:36.710', N'admin', N'2024-11-08 10:25:10.400') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'5', N'1', N'FL_SC01', N'MW2011', N'.0', N'int', N'1', N'StartLayer', N'DeviceCommand', N'èµ·å§å±', NULL, N'admin', N'2024-10-30 16:58:36.710', N'admin', N'2024-11-08 10:25:10.400') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'178', N'1', N'R01', N'DBW', N'198.0', N'int', N'1', N'WorkType', N'DeviceCommand', N'ä½ä¸ç±»å', NULL, N'admin', N'2024-10-30 17:00:43.723', N'admin', N'2024-11-08 10:25:10.403') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'6', N'1', N'FL_SC01', N'MW2012', N'.0', N'int', N'1', N'EndRow', N'DeviceCommand', N'ç»ç¹è¡', NULL, N'admin', N'2024-10-30 17:00:43.723', N'admin', N'2024-11-08 10:25:10.403') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'179', N'1', N'R01', N'DBW', N'208.0', N'int', N'1', N'StartRow', N'DeviceCommand', N'èµ·å§è¡', NULL, N'admin', N'2024-10-30 17:14:13.137', N'admin', N'2024-11-08 10:25:10.403') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'7', N'1', N'FL_SC01', N'MW2013', N'.0', N'int', N'1', N'EndColumn', N'DeviceCommand', N'ç»ç¹å', NULL, N'admin', N'2024-10-30 17:14:13.137', N'admin', N'2024-11-08 10:25:10.403') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'180', N'1', N'R01', N'DBW', N'210.0', N'int', N'1', N'StartColumn', N'DeviceCommand', N'èµ·å§å', NULL, N'admin', N'2024-10-30 17:14:13.137', N'admin', N'2024-11-08 10:25:10.407') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'8', N'1', N'FL_SC01', N'MW2014', N'.0', N'int', N'1', N'EndLayer', N'DeviceCommand', N'ç»ç¹å±', NULL, N'admin', N'2024-10-30 17:14:13.137', N'admin', N'2024-11-08 10:25:10.407') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'181', N'1', N'R01', N'DBW', N'212.0', N'int', N'1', N'StartLayer', N'DeviceCommand', N'èµ·å§å±', NULL, N'admin', N'2024-10-30 17:14:13.137', N'admin', N'2024-11-08 10:25:10.407') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'9', N'1', N'FL_SC01', N'MW2000', N'.0', N'int', N'1', N'CommandSend', N'DeviceCommand', N'å¯å¨å½ä»¤', N'1为å¯å¨,æ¶å°MW1512=1å®æä¿¡å·åå¼å¯ä¿¡å·ç»2åé¦ç»PLC,PLCæ¸
å®æä¿¡å·1--0', N'admin', N'2024-10-30 17:14:13.137', N'admin', N'2024-11-08 10:25:10.407') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'182', N'1', N'R01', N'DBW', N'214.0', N'int', N'1', N'EndRow', N'DeviceCommand', N'ç»ç¹è¡', NULL, N'admin', N'2024-10-30 17:14:13.140', N'admin', N'2024-11-08 10:25:10.407') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'10', N'1', N'FL_SC01', N'MW1500', N'.0', N'int', N'1', N'DeviceName', N'ReadDeviceCommand', N'åé¦å åæºå·', NULL, N'admin', N'2024-10-30 17:14:13.140', N'admin', N'2024-11-08 10:25:10.407') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'183', N'1', N'R01', N'DBW', N'216.0', N'int', N'1', N'EndColumn', N'DeviceCommand', N'ç»ç¹å', NULL, N'admin', N'2024-10-30 17:14:13.140', N'admin', N'2024-11-08 10:25:10.410') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'11', N'1', N'FL_SC01', N'MW1501', N'.0', N'int', N'1', N'DeviceStatus', N'ReadDeviceCommand', N'å馿§å¶æ¹å¼', N'5ï¼èæºèªå¨4ï¼æ¬æºèªå¨/åèªå¨3ï¼æå¨2ï¼è°è¯1ï¼èªå¦ä¹ ', N'admin', N'2024-10-30 17:14:13.140', N'admin', N'2024-11-08 10:25:10.410') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'184', N'1', N'R01', N'DBW', N'218.0', N'int', N'1', N'EndLayer', N'DeviceCommand', N'ç»ç¹å±', NULL, N'admin', N'2024-10-30 17:14:51.447', N'admin', N'2024-11-08 10:25:10.410') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'12', N'1', N'FL_SC01', N'MW1502', N'.0', N'int', N'1', N'RunStatus', N'ReadDeviceCommand', N'åé¦è®¾å¤ç¶æ', N'1ï¼ç©ºé²ï¼2æ¥æ¶æä»¤ï¼3空载移å¨,4åè´§ï¼5åè´§å®æï¼6满载移å¨ï¼7å¸è´§ï¼8å
¥åºå®æï¼9åºåºå®æï¼10æå¨å é¤ä»»å¡', N'admin', N'2024-10-30 17:14:51.447', N'admin', N'2024-11-08 10:25:10.410') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'185', N'1', N'R01', N'DBW', N'192.0', N'int', N'1', N'WorkCommand', N'DeviceCommand', N'ä½ä¸å½ä»¤', NULL, N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'13', N'1', N'FL_SC01', N'MD755', N'.0', N'Dint', N'1', N'CurrentTaskNum', N'ReadDeviceCommand', N'å馿令任å¡å·', N'ä½ä¸å®æå䏿¥å®æçä»»å¡å·', N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'14', N'1', N'FL_SC01', N'MW1512', N'.0', N'int', N'1', N'StackerCraneTaskCompleted', N'StackerCraneTaskCompleted', N'åé¦æä»¤ç¶æ:1宿,2åæ¶ã', N'ä»»å¡å®æä¿¡å·', N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'15', N'1', N'FL_SC01', N'MW1520', N'.0', N'int', N'1', N'AccuRow', N'ReadDeviceCommand', N'åé¦å½åæ', NULL, N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'16', N'1', N'FL_SC01', N'MW1521', N'.0', N'int', N'1', N'AccuColumn', N'ReadDeviceCommand', N'åé¦å½åå', NULL, N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'17', N'1', N'FL_SC01', N'MW1522', N'.0', N'int', N'1', N'AccuLayer', N'ReadDeviceCommand', N'åé¦å½åå±', NULL, N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'18', N'1', N'FL_SC01', N'MW1548', N'.0', N'int', N'1', N'StackerCraneStatus', N'StackerCraneStatus', N'å
许信å·ï¼wcså
许ä¸åå¨ä½æä»¤', N'1åå¤å°±ç»ª0æªå°±ç»ªï¼åå¤å°±ç»ªå¯ä¸åå åæºä»»å¡', N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_DeviceProtocol] ([Id], [DeviceId], [DeviceChildCode], [DeviceProDataBlock], [DeviceProOffset], [DeviceProDataType], [DeviceProDataLength], [DeviceProParamName], [DeviceProParamType], [DeviceProParamDes], [DeviceProRemark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'19', N'1', N'FL_SC01', N'MW1600', N'.0', N'int', N'1', N'Err_Status', N'ReadDeviceCommand', N'æ
é代ç ', NULL, N'admin', N'2024-10-30 17:17:56.353', N'admin', N'2024-11-08 10:25:10.413') |
| | | GO |
| | | |
| | | SET IDENTITY_INSERT [dbo].[Dt_DeviceProtocol] OFF |
| | |
| | | -- ---------------------------- |
| | | -- Auto increment value for Dt_DeviceProtocol |
| | | -- ---------------------------- |
| | | DBCC CHECKIDENT ('[dbo].[Dt_DeviceProtocol]', RESEED, 185) |
| | | DBCC CHECKIDENT ('[dbo].[Dt_DeviceProtocol]', RESEED, 19) |
| | | GO |
| | | |
| | | |
| | |
| | | Target Server Version : 13001601 |
| | | File Encoding : 65001 |
| | | |
| | | Date: 09/06/2025 17:14:52 |
| | | Date: 10/06/2025 21:22:46 |
| | | */ |
| | | |
| | | |
| | |
| | | SET IDENTITY_INSERT [dbo].[Dt_RoadwayInfo] ON |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'4', N'SC01_FL', N'11', N'0', N'SC01', N'A05', N'FL-002-061-001-01', N'A06', N'FL-003-061-001-01', NULL, N'System', N'2025-05-27 14:27:16.000', N'admin', N'2025-06-09 17:09:12.240') |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'4', N'SC01_FL', N'11', N'0', N'FL_SC01', N'A05', N'FL-002-061-001-01', N'A06', N'FL-003-061-001-01', NULL, N'System', N'2025-05-27 14:27:16.000', N'admin', N'2025-06-09 17:09:12.240') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'5', N'SC02_FL', N'11', N'0', N'SC01', N'A05', N'FL-002-062-001-01', N'A06', N'FL-003-062-001-01', NULL, N'System', N'2025-05-27 14:27:16.000', N'admin', N'2025-06-09 17:09:33.383') |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'5', N'SC02_FL', N'11', N'0', N'FL_SC01', N'A05', N'FL-002-062-001-01', N'A06', N'FL-003-062-001-01', NULL, N'System', N'2025-05-27 14:27:16.000', N'admin', N'2025-06-09 17:09:33.383') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'6', N'SC01_CP', N'10', N'0', N'SC01', N'A01', N'CP-002-061-001-01', N'A02', N'CP-003-061-001-01', NULL, N'System', N'2024-10-21 10:51:38.000', N'admin', N'2025-06-09 17:10:19.583') |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'6', N'SC01_CP', N'10', N'0', N'CP_SC01', N'A01', N'CP-002-061-001-01', N'A02', N'CP-003-061-001-01', NULL, N'System', N'2024-10-21 10:51:38.000', N'admin', N'2025-06-09 17:10:19.583') |
| | | GO |
| | | |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'7', N'SC02_CP', N'10', N'0', N'SC01', N'A01', N'CP-002-062-001-01', N'A02', N'CP-003-062-001-01', NULL, N'System', N'2024-10-21 10:51:38.000', N'admin', N'2025-06-09 17:10:44.650') |
| | | INSERT INTO [dbo].[Dt_RoadwayInfo] ([Id], [RoadwayNo], [AreaId], [EnableStatus], [DeviceNo], [InStationCode], [InSCStationCode], [OutStationCode], [OutSCStationCode], [Remark], [Creater], [CreateDate], [Modifier], [ModifyDate]) VALUES (N'7', N'SC02_CP', N'10', N'0', N'CP_SC01', N'A01', N'CP-002-062-001-01', N'A02', N'CP-003-062-001-01', NULL, N'System', N'2024-10-21 10:51:38.000', N'admin', N'2025-06-09 17:10:44.650') |
| | | GO |
| | | |
| | | SET IDENTITY_INSERT [dbo].[Dt_RoadwayInfo] OFF |