1
dengjunjie
2025-06-10 2d9de97cab8500780c61d3158504dcfbf5384980
1
已添加2个文件
已修改9个文件
已删除1个文件
已重命名1个文件
164 ■■■■■ 文件已修改
代码管理/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/2009afbf-e648-4be8-a428-153db2ee17f1.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/82db70ab-3e0c-467b-8fab-dd8ff6fa03b0.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Modified_Date.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneDBName.cs 58 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerStatusEnum.cs 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/21edf12a-b813-4b5a-aa52-b48404c6b5b7.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/项目文件/WCS.sql 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/项目文件/WMS.sql 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
项目资料/项目文件/中和WCS----PLC交互地址.xlsx 补丁 | 查看 | 原始文档 | blame | 历史
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/2009afbf-e648-4be8-a428-153db2ee17f1.vsidx
Binary files differ
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/82db70ab-3e0c-467b-8fab-dd8ff6fa03b0.vsidx
Binary files differ
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Modified_Date.json
@@ -1 +1 @@
{"MM":"1","LogTime":"2025-06-03"}
{"MM":"1","LogTime":"2025-06-10"}
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs
@@ -37,6 +37,15 @@
                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)
                    {
@@ -46,7 +55,7 @@
                    {
                        getStackerObject.CheckStackerCraneTaskCompleted();//检测堆垛机任务完成事件
                        if(getStackerObject.StackerCraneWorkStatusValue == StackerCraneWorkStatus.Standby)
                        if (getStackerObject.StackerCraneWorkStatusValue == StackerCraneWorkStatus.Standby)
                        {
                            Dt_Task? task = GetTask(speStackerCrane);
                            if (task != null)
@@ -57,6 +66,7 @@
                                    bool sendFlag = getStackerObject.SendCommand(stackerCraneTaskCommand);
                                    if (sendFlag)
                                    {
                                        speStackerCrane.SetValue(StackerCraneDBName.CommandSend, 1);//启动命令
                                        speStackerCrane.LastTaskType = task.TaskType;
                                        _taskService.UpdateTaskStatusToNext(task.TaskNum);
                                    }
@@ -117,7 +127,7 @@
                else
                {
                    task = _taskService.QueryStackerCraneOutTask(speStackerCrane.DeviceCode);
                    if(task == null)
                    if (task == null)
                    {
                        task = _taskService.QueryStackerCraneInTask(speStackerCrane.DeviceCode);
                    }
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs
@@ -49,7 +49,7 @@
        /// </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>
        /// èŽ·å–å †åž›æœºè®¾å¤‡çŠ¶æ€
@@ -214,9 +214,9 @@
                    _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;
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneDBName.cs
@@ -26,13 +26,15 @@
{
    public enum StackerCraneDBName
    {
        #region WCS==》堆垛机
        /// <summary>
        /// ä»»åŠ¡å·
        /// </summary>
        TaskNum,
        /// <summary>
        /// ä½œä¸šç±»åž‹
        /// ä½œä¸šç±»åž‹<br/>
        /// 1入2出3移库
        /// </summary>
        WorkType,
@@ -67,38 +69,66 @@
        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
    }
}
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerStatusEnum.cs
@@ -29,31 +29,31 @@
        /// ç»´ä¿®/维护/保养
        /// </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
@@ -62,7 +62,7 @@
        /// å¾…机
        /// </summary>
        [Description("待机")]
        Standby=1,
        Standby = 1,
        /// <summary>
        /// æ”¶åˆ°ä»»åŠ¡
@@ -86,7 +86,7 @@
        /// å–货后移动
        /// </summary>
        [Description("取货后移动")]
        PickAfterMove=6,
        PickAfterMove = 6,
        /// <summary>
        /// æ”¾è´§ä¸­
@@ -119,7 +119,7 @@
        /// ä»»åŠ¡å®Œæˆ
        /// </summary>
        [Description("任务完成")]
        WorkCompleted=1,
        WorkCompleted = 1,
        /// <summary>
        /// æœªçŸ¥
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/21edf12a-b813-4b5a-aa52-b48404c6b5b7.vsidx
Binary files differ
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/LocationInfoService.cs
@@ -76,6 +76,7 @@
        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());
@@ -96,6 +97,7 @@
        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());
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs
@@ -22,7 +22,7 @@
            _repository = repository;
        }
        [HttpPost, Route("InitializationLocation"), AllowAnonymous]
        [HttpPost, Route("InitializationLocation")]
        public WebResponseContent InitializationLocation([FromBody] InitializationLocationDTO initializationLocationDTO)
        {
            return Service.InitializationLocation(initializationLocationDTO);
ÏîÄ¿×ÊÁÏ/ÏîÄ¿Îļþ/WCS.sql
@@ -11,7 +11,7 @@
 Target Server Version : 13001601
 File Encoding         : 65001
 Date: 06/06/2025 12:18:51
 Date: 10/06/2025 21:23:20
*/
@@ -154,13 +154,13 @@
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
@@ -314,43 +314,61 @@
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
@@ -19682,7 +19700,7 @@
-- ----------------------------
-- Auto increment value for Dt_DeviceProtocol
-- ----------------------------
DBCC CHECKIDENT ('[dbo].[Dt_DeviceProtocol]', RESEED, 185)
DBCC CHECKIDENT ('[dbo].[Dt_DeviceProtocol]', RESEED, 19)
GO
ÏîÄ¿×ÊÁÏ/ÏîÄ¿Îļþ/WMS.sql
@@ -11,7 +11,7 @@
 Target Server Version : 13001601
 File Encoding         : 65001
 Date: 09/06/2025 17:14:52
 Date: 10/06/2025 21:22:46
*/
@@ -15657,16 +15657,16 @@
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
ÏîÄ¿×ÊÁÏ/ÏîÄ¿Îļþ/ÖкÍWCS----PLC½»»¥µØÖ·.xlsx
Binary files differ