31beeb3d23e658e5aa2bbb9f251b006095eef15a..03746e288fc02c6d2780aeac4cab42299e6b27c4
2025-07-08 czw
1
03746e 对比 | 目录
2025-07-08 czw
1
0d6d67 对比 | 目录
2025-07-08 czw
1
222d8c 对比 | 目录
2025-07-08 czw
1
b24e03 对比 | 目录
2025-07-08 czw
1
9ca7e0 对比 | 目录
3个文件已添加
12个文件已修改
2316 ■■■■■ 已修改文件
2025年6月12日/AuxAllWCS/Build/Project/AuxAllWCS.csproj 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Build/Project/AuxAllWCS.sln 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Build/Project/Static/config.json 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Build/Project/packages.config 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Build/Project/代码/VS自定义类/AutoThread.cs 329 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Build/Project/代码/界面事件.cs 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Build/Project/代码/自定义类.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Devices/PlcConfig 385 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Devices/设备通信.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Net/Conn.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/RunTime/Code/变量数据库.cs 574 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/RunTime/Code/设备通信.cs 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Scripts/Custom.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Scripts/Script.json 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025年6月12日/AuxAllWCS/Variable/变量数据库.json 744 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/AuxAllWCS.csproj
@@ -238,6 +238,7 @@
  <ItemGroup>
    <None Include="App.config" />
    <None Include="packages.config" />
    <None Include="Static\config.json" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Static\assets\index-BH4e7Qb9.js">
@@ -261,7 +262,7 @@
    </PropertyGroup>
    <Error Condition="!Exists('packages\Microsoft.Web.WebView2.1.0.3351.48\build\Microsoft.Web.WebView2.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.Web.WebView2.1.0.3351.48\build\Microsoft.Web.WebView2.targets'))" />
  </Target>
    <PropertyGroup>
        <WebView2LoaderPreference>Static</WebView2LoaderPreference>
    </PropertyGroup>
  <PropertyGroup>
    <WebView2LoaderPreference>Static</WebView2LoaderPreference>
  </PropertyGroup>
</Project>
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/AuxAllWCS.sln
New file
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.13.35913.81 d17.13
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuxAllWCS", "AuxAllWCS.csproj", "{D55A8F58-C2AA-442E-93D3-7537992A4993}"
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|Any CPU = Debug|Any CPU
        Release|Any CPU = Release|Any CPU
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {D55A8F58-C2AA-442E-93D3-7537992A4993}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
        {D55A8F58-C2AA-442E-93D3-7537992A4993}.Debug|Any CPU.Build.0 = Debug|Any CPU
        {D55A8F58-C2AA-442E-93D3-7537992A4993}.Release|Any CPU.ActiveCfg = Release|Any CPU
        {D55A8F58-C2AA-442E-93D3-7537992A4993}.Release|Any CPU.Build.0 = Release|Any CPU
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
    GlobalSection(ExtensibilityGlobals) = postSolution
        SolutionGuid = {B1974573-F7AF-4DDA-B185-F5DE6AE43F7B}
    EndGlobalSection
EndGlobal
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/Static/config.json
New file
@@ -0,0 +1,98 @@
{
  "HostToAgvServerUrl": "vvvvvvvvvvvv",
  "HKbaseUrl": "http://10.221.55.249:8181/",
  "MESbaseUrl": "https://ktapiwh.mom.aux-home.com/",
  "WMSbaseUrl": "https://ktapiwh.mom.aux-home.com/",
  "RunProc": [ "1" ],
  "deviceInfo": [
    {
      "address": "0",
      "deviceName": "维希尔抓臂1",
      "FuLeLineNo": "",
      "deviceNo": [ "10.221.55.147", "10.221.55.146" ],
      "location": [ "VXR1-01", "VXR1-02" ],
      "deviceType": 1,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "维希尔抓臂2",
      "deviceNo": [ "10.221.55.149", "10.221.55.148" ],
      "location": [ "VXR2-01", "VXR2-02" ],
      "deviceType": 1,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "Js捷顺1",
      "deviceNo": [ "JSKS1-101", "JSKS1-201" ],
      "location": [ "JSKS1-01", "JSKS1-02" ],
      "deviceType": 2,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "Js捷顺2",
      "deviceNo": [ "JSKS2-101", "JSKS2-201" ],
      "location": [ "JSKS2-01", "JSKS2-02" ],
      "deviceType": 2,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "p发那科1下线",
      "deviceNo": [],
      "location": [ "1005", "1003" ],
      "deviceType": 3,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "p发那科2下线",
      "deviceNo": [],
      "location": [ "1013", "1011" ],
      "deviceType": 3,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "SSXaAGV äº¤äº’",
      "deviceNo": [ "" ],
      "location": [ "1019", "1022", "1025", "1030", "2001", "2030", "3001", "3005", "3006", "3010" ],
      "deviceType": 4,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "D定子1号机械手",
      "deviceNo": [],
      "location": [ "DDX-01", "DDX-02" ],
      "deviceType": 5,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "D定子2号机械手",
      "deviceNo": [],
      "location": [ "DDX-03", "DDX-04" ],
      "deviceType": 5,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "Z转子1号机械手",
      "deviceNo": [],
      "location": [ "", "" ],
      "deviceType": 6,
      "enable": 1
    },
    {
      "address": "0",
      "deviceName": "Z转子2号机械手",
      "deviceNo": [],
      "location": [ "1005", "1003" ],
      "deviceType": 6,
      "enable": 1
    }
  ]
}
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/packages.config
New file
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Microsoft.Web.WebView2" version="1.0.3351.48" targetFramework="net462" />
</packages>
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/´úÂë/VS×Ô¶¨ÒåÀà/AutoThread.cs
@@ -26,6 +26,7 @@
using System.Net;
using System.Threading;
using System.IO;
using GZ.Device.Agv;
namespace GZ.Projects.AuxAllWCS
{
@@ -125,6 +126,41 @@
            }
        }
        public void ThreaTotal(Tag tag)
        {
            List<Task> tasks = new List<Task>();
            tasks.Add(GetTask(ThreadMXC3, tag, 3000));
            tasks.Add(GetTask(ThreadMXC4, tag, 3000));
            tasks.Add(GetTask(ResetGats, tag, 3000));
            Task.WaitAll(tasks.ToArray());
        }
        private Task GetTask(Action<Tag> action, Tag tag, int i = 2500)
        {
            var task = Task.Run(() =>
            {
                while (true)
                {
                    try
                    {
                        action(tag);
                    }
                    catch (Exception ex)
                    {
                        LogHelper.Error(ex.Message, ex);
                    }
                    Thread.Sleep(i);
                }
            });
            return task;
        }
        public string WriteLine(string value = "")
        {
@@ -166,6 +202,7 @@
                {
                    //tag.Js1.D1212_LAST = 0; 
                    RedisHelper.Add($"Js捷顺1.D1202_LAST", "0", out string msg);
                    //Conn.默认Redis.SetValue(VERX.deviceName + ".D1224", "0", VERX.deviceName + "Queue");
                }
                if (tag.Js1.D1213_LAST == 0 && TcpServer.GetBitdata(tag.Js1.D1212, 3) == 1)
@@ -187,6 +224,7 @@
                {
                    //tag.Js1.D1213_LAST = 0;
                    RedisHelper.Add($"Js捷顺1.D1203_LAST", "0", out string msg);
                    //Conn.默认Redis.SetValue(VERX.deviceName + ".D1225", "0", VERX.deviceName + "Queue");
                }
            }
        }
@@ -647,11 +685,18 @@
                }
                if (tag.RGV.taskend == 125)
                {
                    LogHelper.Info($"RGV æœ‰125命令未执行。");
                    LogHelper.Info($"RGV æœ‰125命令未执行。 ");
                    LogHelper.Info($"RGV125命令未执行 ä»»åŠ¡æ•°æ® workmode:{tag.RGV.workMod}\n taskmod{tag.RGV.taskmod} \n t1No:{tag.RGV.taskno1}\n t1do:{tag.RGV.task1do} \n t2No:{tag.RGV.taskno2}\n t2do:{tag.RGV.task2do}\n taskend:{tag.RGV.taskend} ");
                    if (tag.RGV.workMod == 0 && tag.RGV.taskmod == 0 && tag.RGV.taskno1 == tag.RGV.ReadTask1No && tag.RGV.taskno2 == tag.RGV.ReadTask2No)
                    {
                        LogHelper.Info($"RGV125命令未执行 tag.RGV.workMod == 0 && tag.RGV.taskmod == 0 && tag.RGV.taskno1 == tag.RGV.ReadTask1No && tag.RGV.taskno2 == tag.RGV.ReadTask2No  è‡ªåŠ¨æ¸…é™¤125");
                        Conn.默认Redis.SetValue("RGV.taskend", "0", "RGVQueue", false);
                    }
                    System.Threading.Thread.Sleep(3000);
                    return;
                }
                LogHelper.Info($"任务下发 Rgv ä»»åŠ¡ è¿›å…¥ Rgv信息 W1状态{tag.RGV.w1status} ReadTask1No>{tag.RGV.ReadTask1No} bit1taskOver>{tag.RGV.bit1taskOver} W2状态{tag.RGV.w2status} ReadTask2No>{tag.RGV.ReadTask2No} bit2taskOver>{tag.RGV.bit2taskOver}");
                LogHelper.Info($"任务下发 Rgv ä»»åŠ¡ è¿›å…¥ Rgv信息 W1状态{tag.RGV.w1status} ReadTask1No>{tag.RGV.ReadTask1No} 1工位条码:{tag.RGV.bit1Code} bit1taskOver>{tag.RGV.bit1taskOver} W2状态{tag.RGV.w2status} ReadTask2No>{tag.RGV.ReadTask2No} 2工位条码:{tag.RGV.bit2Code} bit2taskOver>{tag.RGV.bit2taskOver}");
                TaskEntity task1 = null;
                TaskEntity task2 = null;
                var task1Isrun = false;
@@ -713,7 +758,7 @@
                                task1.S_B_STATE = "取货完成";
                            }
                            //tag.RGV.bit1taskOver = 0;
                            LogHelper.Info($"RGV 1工位任务{task1.S_TASK_NO} çŠ¶æ€åˆ‡æ¢ä¸º{task1.S_B_STATE}");
                            LogHelper.Info($"RGV 1工位任务{task1.S_TASK_NO} æ¡ç ï¼š{tag.RGV.bit1Code} çŠ¶æ€åˆ‡æ¢ä¸º{task1.S_B_STATE}");
                            //tag.RGV.bit1taskOver_LAST = 1;
                            RedisHelper.Add($"RGV.bit1taskOver_LAST", "1", out string msg);
                            LogHelper.Info($"RGV 1工位任务写处理");
@@ -755,7 +800,7 @@
                                task2.S_B_STATE = "取货完成";
                            }
                            //tag.RGV.bit2taskOver = 0;
                            LogHelper.Info($"RGV 2工位任务{task2.S_TASK_NO} çŠ¶æ€åˆ‡æ¢ä¸º{task2.S_B_STATE}");
                            LogHelper.Info($"RGV 2工位任务{task2.S_TASK_NO} æ¡ç ï¼š{tag.RGV.bit2Code} çŠ¶æ€åˆ‡æ¢ä¸º{task2.S_B_STATE}");
                            RedisHelper.Add($"RGV.bit2taskOver_LAST", "1", out string msg);
                            LogHelper.Info($"RGV 2工位任务写处理");
                            taskservice.Update(task2);
@@ -996,7 +1041,18 @@
            var taskCOdes = new List<string> { "Sarrive", "Srelease", "Earrive", "Erelease" };
            TaskActRepository taskActRepository = new TaskActRepository();
            TaskRepository taskRepository = new TaskRepository();
            var requires = taskActRepository.FindList(x => DateTime.Now.Subtract(x.T_CREATE).TotalHours < 1 && taskCOdes.Contains(x.S_ACTION_CODE) && x.N_CREATEMETHOD == 0).OrderBy(x => x.T_CREATE);
            var requires = taskActRepository.FindList(x => taskCOdes.Contains(x.S_ACTION_CODE) && x.N_CREATEMETHOD == 0).OrderBy(x => x.T_CREATE).ToList();
            var timeMorhours = requires.FindAll(x => DateTime.Now.Subtract(x.T_CREATE).TotalHours > 1);
            if (timeMorhours.Any())
            {
                foreach (var mor in timeMorhours)
                {
                    mor.N_CREATEMETHOD = 2;
                    mor.S_REVIEW_COMMENT = "超时不处理";
                    taskActRepository.Update(mor);
                }
                requires = requires.Except(timeMorhours).ToList();
            }
            foreach (var item in requires)
            {
                LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE}光栅处理 =================> ");
@@ -1004,6 +1060,7 @@
                if (tin == -1)
                {
                    item.N_CREATEMETHOD = -1;
                    item.S_REVIEW_COMMENT = $"信号未知{item.S_ACTION_CODE}不处理";
                    taskActRepository.Update(item);
                    continue;
                }
@@ -1011,6 +1068,7 @@
                if (task == null)
                {
                    item.N_CREATEMETHOD = -1;
                    item.S_REVIEW_COMMENT = $"任务丢失不处理";
                    taskActRepository.Update(item);
                    continue;
                }
@@ -1048,57 +1106,85 @@
                            Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D1220" : "D1221"), "0", dev.deviceName + "Queue");
                            Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D1222" : "D1223"), "1", dev.deviceName + "Queue");
                        }
                        else if (dev.deviceType == 5)
                        {
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å¼€å¯å…‰æ …处理 =================> ");
                            Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D2211" : "D2216"), "1", dev.deviceName + "Queue");
                            Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D2212" : "D2217"), "0", dev.deviceName + "Queue");
                        }
                        LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å¼€å¯å…‰æ …处理完成 =================> ");
                        item.N_CREATEMETHOD = 1;
                        item.S_REVIEW_COMMENT = $"光栅开启完成";
                        taskActRepository.Update(item);
                    }
                    //车要进入交互。
                    else
                    {
                        if (dev.deviceType == 1)
                        if (dev.deviceType == 4)
                        {
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…³é—­å…‰æ …处理 =================> ");
                            var tf = Conn.默认Redis.GetValue(dev.deviceName + "." + (V ? "R50" : "R52"));//读关闭状态
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…‰æ …关闭信号{tf}");
                            if (tf?.ToLower() == "true")
                            {
                                LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚ å·²ç»å…³é—­ï¼");
                                continuuuuu = true;
                            }
                            else
                            {
                                LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚" + string.Format("{0}{1}{2}", dev.deviceName + "." + (V ? "R01" : "R03"), "true", dev.deviceName + "Queue"));
                                Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "R01" : "R03"), "true", dev.deviceName + "Queue", false);
                            }
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…³é—­å…‰æ …处理完成 =================> ");
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} SSX AGV äº¤äº’。。。");
                            //tag.SA1019.Sagverr
                        }
                        else if (dev.deviceType == 2)
                        else
                        {
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…³é—­å…‰æ …处理 =================> ");
                            var tf = Conn.默认Redis.GetValue(dev.deviceName + ".D1202");
                            int numm = int.Parse(string.IsNullOrEmpty(tf) ? "0" : tf);
                            int close = TcpServer.GetBitdata(numm, (V ? 0 : 1));
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…‰æ …关闭信号{close}");
                            if (close == 1)
                            if (dev.deviceType == 1)
                            {
                                LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚ å·²ç»å…³é—­ï¼");
                                continuuuuu = true;
                                var tf = Conn.默认Redis.GetValue(dev.deviceName + "." + (V ? "R50" : "R52"));//读关闭状态
                                LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…‰æ …关闭信号{tf}");
                                if (tf?.ToLower() == "true")
                                {
                                    LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚ å·²ç»å…³é—­ï¼");
                                    continuuuuu = true;
                                }
                                else
                                {
                                    LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚" + string.Format("{0}{1}{2}", dev.deviceName + "." + (V ? "R01" : "R03"), "true", dev.deviceName + "Queue"));
                                    Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "R01" : "R03"), "true", dev.deviceName + "Queue", false);
                                }
                            }
                            else
                            else if (dev.deviceType == 2)
                            {
                                LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚" + string.Format("{0}{1}{2}", dev.deviceName + "." + (V ? "D1220" : "D1221"), "1", dev.deviceName + "Queue"));
                                Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D1222" : "D1223"), "0", dev.deviceName + "Queue");
                                Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D1220" : "D1221"), "1", dev.deviceName + "Queue");
                                var tf = Conn.默认Redis.GetValue(dev.deviceName + ".D1202");
                                int numm = int.Parse(string.IsNullOrEmpty(tf) ? "0" : tf);
                                int close = TcpServer.GetBitdata(numm, (V ? 0 : 1));
                                LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…‰æ …关闭信号{close}");
                                if (close == 1)
                                {
                                    LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚ å·²ç»å…³é—­ï¼");
                                    continuuuuu = true;
                                }
                                else
                                {
                                    LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚" + string.Format("{0}{1}{2}", dev.deviceName + "." + (V ? "D1220" : "D1221"), "1", dev.deviceName + "Queue"));
                                    Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D1222" : "D1223"), "0", dev.deviceName + "Queue");
                                    Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D1220" : "D1221"), "1", dev.deviceName + "Queue");
                                string d12201 = RedisHelper.Get<string>(dev.deviceName + "." + (V ? "D1220" : "D1221"), out string msg);
                                LogHelper.Info($"ThreadGrats å†™{(dev.deviceName + "." + (V ? "D1220" : "D1221"))}为 1 ï¼Œ åŽè¯»{d12201}");
                                    string d12201 = RedisHelper.Get<string>(dev.deviceName + "." + (V ? "D1220" : "D1221"), out string msg);
                                    LogHelper.Info($"ThreadGrats å†™{(dev.deviceName + "." + (V ? "D1220" : "D1221"))}为 1 ï¼Œ åŽè¯»{d12201}");
                                }
                            }
                            else if (dev.deviceType == 3)
                            {
                                var close = (System.UInt16)System.Convert.ChangeType(Conn.默认Redis.GetValue(dev.deviceName + "." + (V ? "D2220" : "D2225")), typeof(System.UInt16));
                                if (close == 1)
                                {
                                    LogHelper.Info($"{dev.deviceName}{(V ? "å·¦" : "右")} å…‰æ …{(goin ? "关闭" : "开启")} ç”³è¯·ã€‚ å·²ç»å…³é—­ï¼");
                                    continuuuuu = true;
                                }
                                else
                                {
                                    Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D2212" : "D2217"), "1", dev.deviceName + "Queue");
                                    Conn.默认Redis.SetValue(dev.deviceName + "." + (V ? "D2211" : "D2216"), "0", dev.deviceName + "Queue");
                                }
                            }
                            LogHelper.Info($"ThreadGrats {item.S_TASK_NO} >{item.S_ACTION_CODE} è®¾å¤‡æ˜¯{dev.deviceName} å…³é—­å…‰æ …处理完成 =================> ");
                        }
                    }
                }
                if (continuuuuu)
                {
                    LogHelper.Info($"{item.S_TASK_NO}{item.S_ACTION_CODE} è½¦è¾†å‘送继续任务!");
@@ -1108,10 +1194,14 @@
                        taskCode = item.S_TASK_NO
                    });
                    item.N_CREATEMETHOD = 1;
                    item.S_REVIEW_COMMENT = $"车子继续任务OK";
                    taskActRepository.Update(item);
                }
            }
            System.Threading.Thread.Sleep(3000);
        }
        public void ResetGats(Tag tag)
        {
            LogHelper.Info($"ThreadGrats deviceType2光栅写入位重置 =================> ");
            //重置信号
            foreach (var dev in Settings.deviceInfos.FindAll(x => x.deviceType == 2))
@@ -1141,6 +1231,20 @@
                }
            }
            LogHelper.Info($"ThreadGrats deviceType2光栅写入位重置完成。 =================> ");
            LogHelper.Info($"ThreadGrats deviceType5光栅写入位重置 =================> ");
            //重置信号
            //foreach (var dev in Settings.deviceInfos.FindAll(x => x.deviceType == 5))
            {
                if (tag.DZ1.D2211 == 1 && tag.DZ1.D2220 == 1)
                    tag.DZ1.D2211 = 0;
                if (tag.DZ1.D2216 == 1 && tag.DZ1.D2225 == 1)
                    tag.DZ1.D2216 = 0;
                if (tag.DZ2.D2211 == 1 && tag.DZ2.D2220 == 1)
                    tag.DZ2.D2211 = 0;
                if (tag.DZ2.D2216 == 1 && tag.DZ2.D2225 == 1)
                    tag.DZ2.D2216 = 0;
            }
            LogHelper.Info($"ThreadGrats deviceType5光栅写入位重置完成。 =================> ");
        }
        /// <summary>
        /// 1020  1023空框下线
@@ -1171,7 +1275,7 @@
                        var listtep = new List<string>();
                        if (Bssx == "1020")
                        {
                            if (tag.SF下料位.RArrive1003 == 1)
                            if (!string.IsNullOrEmpty(tag.SFT下料口托盘.R1003Barcode) && string.IsNullOrEmpty(tag.SFT下料口托盘.R1011Barcode))
                            {
                                listtep = new List<string> { "1012", "1004" };
                            }
@@ -1182,7 +1286,8 @@
                        }
                        else
                        {
                            if (tag.SF下料位.RArrive1005 == 1)
                            //if (tag.SF下料位.RArrive1005 == 1)
                            if (!string.IsNullOrEmpty(tag.SFT下料口托盘.R1005Barcode) && string.IsNullOrEmpty(tag.SFT下料口托盘.R1013Barcode))
                            {
                                listtep = new List<string> { "1014", "1006" };
                            }
@@ -1970,12 +2075,12 @@
                                {
                                    if (device2.deviceName.Contains("Js捷顺"))
                                    {
                                        Task.Run(() =>
                                        {
                                            var inde = device2.location.ToList().FindIndex(x => x == wcsTask.S_END_LOC) == 0;
                                            string V = inde ? "D1224" : "D1225";
                                            Conn.默认Redis.SetValue(device2.deviceName + "." + V, "1", device2.deviceName + "Queue");
                                        });
                                        //Task.Run(() =>
                                        //{
                                        var inde = device2.location.ToList().FindIndex(x => x == wcsTask.S_END_LOC) == 0;
                                        string V = inde ? "D1224" : "D1225";
                                        Conn.默认Redis.SetValue(device2.deviceName + "." + V, "1", device2.deviceName + "Queue");
                                        //});
                                        var str = Settings.apiHelper.Post(Settings.WMSbaseUrl + "mom-basic/dataTransmission/json/service/202", JsonConvert.SerializeObject(new
                                        {
@@ -2004,6 +2109,31 @@
                                        }));
                                        LogHelper.Info($"{ssloc}申请mes任务结果{str}");
                                    }
                                }
                                switch (device2.deviceType)
                                {
                                    case 4:
                                        {
                                            if (wcsTask.S_END_LOC == "2001")
                                            {
                                            }
                                        }
                                        break;
                                    case 5:
                                        {
                                            var inde = device2.location.ToList().FindIndex(x => x == wcsTask.S_END_LOC) == 0;
                                            string V = inde ? "D2210" : "D2215";
                                            Conn.默认Redis.SetValue(device2.deviceName + "." + V, "1", device2.deviceName + "Queue");
                                        }
                                        break;
                                    case 6:
                                        {
                                            //var inde = device2.location.ToList().FindIndex(x => x == wcsTask.S_END_LOC) == 0;
                                            //string V = inde ? "D2210" : "D2215";
                                            //Conn.默认Redis.SetValue(device2.deviceName + "." + V, "1", device2.deviceName + "Queue");
                                        }
                                        break;
                                }
                            }
@@ -2127,18 +2257,129 @@
            }
        }
        /// <summary>
        /// å®šå­1号线。
        /// 1.增加下线逻辑。   2. æœ‰å–筐信号就写,没信号嫑写
        /// </summary>
        /// <param name="tag"></param>
        public void ThreadMXC3(Tag tag)
        {
            var VERX = Settings.deviceInfos.Find(x => x.deviceType == 5 && x.deviceName.Contains("1号"));
            if (VERX == null)
            {
                LogHelper.Info("定子1号线 deviceType 5 æ²¡æœ‰é…ç½®ã€‚");
                return;
            }
            LogHelper.Info($" {VERX.deviceName} D2221>{tag.DZ1.D2221} D2221_LAST>{tag.DZ1.D2221_LAST}  D2226>{tag.DZ1.D2226}  D2226_LAST>{tag.DZ1.D2226_LAST}");
            if (tag.DZ1.D2221 == 1 && tag.DZ1.D2221_LAST == 0)
            {
                var str = Settings.apiHelper.Post(Settings.WMSbaseUrl + "mom-basic/dataTransmission/json/service/200", JsonConvert.SerializeObject(new
                {
                    requestType = 7,
                    startBit = VERX.location[0],
                    unLockStartBitOutbin = true
                }));
                LogHelper.Info($"{VERX.location[0]}申请mes任务结果{str}");
                var strr = JsonConvert.DeserializeObject<Messss>(str);
                if (strr != null && strr.success && strr.data?.state == 0)
                    RedisHelper.Add($"D定子1号机械手.D2221_LAST", "1", out string msg);
            }
            else if (tag.DZ1.D2221 == 0 && tag.DZ1.D2221_LAST == 1)
            {
                LogHelper.Info($"重置 D定子1号机械手.D2221_LAST > 0");
                RedisHelper.Add($"D定子1号机械手.D2221_LAST", "0", out string msg);
                string V = 0 == 0 ? "D2210" : "D2215";
                Conn.默认Redis.SetValue(VERX.deviceName + "." + V, "0", VERX.deviceName + "Queue");
            }
            if (tag.DZ1.D2226 == 1 && tag.DZ1.D2226_LAST == 0)
            {
                var str = Settings.apiHelper.Post(Settings.WMSbaseUrl + "mom-basic/dataTransmission/json/service/200", JsonConvert.SerializeObject(new
                {
                    requestType = 7,
                    startBit = VERX.location[1],
                    unLockStartBitOutbin = true
                }));
                LogHelper.Info($"{VERX.location[0]}申请mes任务结果{str}");
                var strr = JsonConvert.DeserializeObject<Messss>(str);
                if (strr != null && strr.success && strr.data?.state == 0)
                    RedisHelper.Add($"D定子1号机械手.D2226_LAST", "1", out string msg);
            }
            else if (tag.DZ1.D2226 == 0 && tag.DZ1.D2226_LAST == 1)
            {
                LogHelper.Info($"重置 D定子1号机械手.D2226_LAST > 0");
                RedisHelper.Add($"D定子1号机械手.D2226_LAST", "0", out string msg);
                string V = 1 == 0 ? "D2210" : "D2215";
                Conn.默认Redis.SetValue(VERX.deviceName + "." + V, "0", VERX.deviceName + "Queue");
            }
        }
        /// <summary>
        /// å®šå­2号线。
        /// </summary>
        /// <param name="tag"></param>
        public void ThreadMXC4(Tag tag)
        {
            var VERX = Settings.deviceInfos.Find(x => x.deviceType == 5 && x.deviceName.Contains("2号"));
            if (VERX == null)
            {
                LogHelper.Info("定子2号线 deviceType 5 æ²¡æœ‰é…ç½®ã€‚");
                return;
            }
            LogHelper.Info($" {VERX.deviceName} D2221>{tag.DZ1.D2221} D2221_LAST>{tag.DZ1.D2221_LAST}  D2226>{tag.DZ1.D2226}  D2226_LAST>{tag.DZ1.D2226_LAST}");
            if (tag.DZ2.D2221 == 1 && tag.DZ2.D2221_LAST == 0)
            {
                var str = Settings.apiHelper.Post(Settings.WMSbaseUrl + "mom-basic/dataTransmission/json/service/200", JsonConvert.SerializeObject(new
                {
                    requestType = 7,
                    startBit = VERX.location[0],
                    unLockStartBitOutbin = true
                }));
                LogHelper.Info($"{VERX.location[0]}申请mes任务结果{str}");
                var strr = JsonConvert.DeserializeObject<Messss>(str);
                if (strr != null && strr.success && strr.data?.state == 0)
                    RedisHelper.Add($"D定子2号机械手.D2221_LAST", "1", out string msg);
            }
            else if (tag.DZ2.D2221 == 0 && tag.DZ2.D2221_LAST == 1)
            {
                LogHelper.Info($"重置 D定子2号机械手.D2221_LAST > 0");
                RedisHelper.Add($"D定子2号机械手.D2221_LAST", "0", out string msg);
                string V = 0 == 0 ? "D2210" : "D2215";
                Conn.默认Redis.SetValue(VERX.deviceName + "." + V, "0", VERX.deviceName + "Queue");
            }
            if (tag.DZ2.D2226 == 1 && tag.DZ2.D2226_LAST == 0)
            {
                var str = Settings.apiHelper.Post(Settings.WMSbaseUrl + "mom-basic/dataTransmission/json/service/200", JsonConvert.SerializeObject(new
                {
                    requestType = 7,
                    startBit = VERX.location[1],
                    unLockStartBitOutbin = true
                }));
                LogHelper.Info($"{VERX.location[0]}申请mes任务结果{str}");
                var strr = JsonConvert.DeserializeObject<Messss>(str);
                if (strr != null && strr.success && strr.data?.state == 0)
                    RedisHelper.Add($"D定子2号机械手.D2226_LAST", "1", out string msg);
            }
            else if (tag.DZ2.D2226 == 0 && tag.DZ2.D2226_LAST == 1)
            {
                LogHelper.Info($"重置 D定子2号机械手.D2226_LAST > 0");
                RedisHelper.Add($"D定子2号机械手.D2226_LAST", "0", out string msg);
                string V = 1 == 0 ? "D2210" : "D2215";
                Conn.默认Redis.SetValue(VERX.deviceName + "." + V, "0", VERX.deviceName + "Queue");
            }
        }
    }
    public class HttpServer
    {
        System.Net.HttpListener HttpSvcHost = null;
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/´úÂë/½çÃæÊ¼þ.cs
@@ -55,6 +55,7 @@
                //HttpSvcHost.Prefixes.Add("http://10.221.55.117:8808/");
                //HttpSvcHost.Start();
                //HttpSvcHost.BeginGetContext(HttpSvcListenerCallback, null);
                LogHelper.Info("<<<<<<<<<<<Runnnnnnnnnnnnninggggg>>>>>>>>>>");
            }
            catch (Exception ex)
            {
@@ -763,7 +764,6 @@
                }
                ExitJudgeStack.TryPop(out int exitJudgeVal);
            });
            /// <summary>
            /// ç¨‹åºç‰‡æ®µ:Program1
            /// æè¿°:
@@ -823,6 +823,35 @@
                    System.Threading.Thread.Sleep(3000);
                }
            }
            /// <summary>
            /// ç¨‹åºç‰‡æ®µ:新线程总线
            /// æè¿°:1
            /// </summary>
            System.Threading.Tasks.Task.Factory.StartNew(() =>
            {
                System.Threading.Thread.CurrentThread.IsBackground = true;
                ExitJudgeStack.Push(0);
                //一直执行,直到满足结束条件
                while (true)
                {
                    if (IsExitApp) { break; }
                    try
                    {
                        #region    [脚本][20250708095248653][业务逻辑.新线程总线]
                        AutoThread.InvokeMethod(AutoThread.Instance, "ThreaTotal", new object[] { tag });
                        #endregion [脚本][20250708095248653][业务逻辑.新线程总线]
                    }
                    catch (Exception ex)
                    {
                        Conn.默认日志.Error(ex.ToString());
                    }
                    finally
                    {
                        System.Threading.Thread.Sleep(3000);
                    }
                }
                ExitJudgeStack.TryPop(out int exitJudgeVal);
            });
        }
        /// <summary>
@@ -927,6 +956,7 @@
                    Device.RGV?.Stop();
                    Device.p发那科2下线?.Stop();
                    Device.p发那科3上线?.Stop();
                    Device.p发那科4上线?.Stop();
                }
                catch (Exception ex)
                {
@@ -979,6 +1009,7 @@
                        || (Device.RGV == null ? false : Device.RGV.State != GZ.Device.PLC.PlcRunState.Stoped)
                        || (Device.p发那科2下线 == null ? false : Device.p发那科2下线.State != GZ.Device.PLC.PlcRunState.Stoped)
                        || (Device.p发那科3上线 == null ? false : Device.p发那科3上线.State != GZ.Device.PLC.PlcRunState.Stoped)
                        || (Device.p发那科4上线 == null ? false : Device.p发那科4上线.State != GZ.Device.PLC.PlcRunState.Stoped)
                    )
                    {
                        System.Threading.Thread.Sleep(1000);
@@ -1054,13 +1085,12 @@
        #endregion
        #region Http服务监听
        private async void HttpSvcListenerCallback(IAsyncResult ar)
        private void HttpSvcListenerCallback(IAsyncResult ar)
        {
            System.Net.HttpListenerContext context = null;
            try
            {
                HttpSvcHost.BeginGetContext(HttpSvcListenerCallback, null);
                context = HttpSvcHost.EndGetContext(ar);
                System.Net.HttpListenerContext context = HttpSvcHost.EndGetContext(ar);
                System.Net.HttpListenerRequest request = context.Request;
                System.Net.HttpListenerResponse response = context.Response;
                switch (request.LocalEndPoint.ToString())
@@ -1070,28 +1100,21 @@
                            using (var reader = new System.IO.StreamReader(request.InputStream, System.Text.Encoding.UTF8))
                            {
                                string requestJson = reader.ReadToEnd();
                                System.Net.HttpStatusCode statusCode = 0;
                                string respstr = await Task.Run(() =>
                                {
                                    return HttpSvcListenerCallback_he(request.HttpMethod, request.Url.AbsolutePath, requestJson, out statusCode);
                                });
                                string respstr = HttpSvcListenerCallback_he(request.HttpMethod, request.Url.AbsolutePath, requestJson, out System.Net.HttpStatusCode statusCode);
                                string logContent = "";
                                logContent += $"\r\n[{request.HttpMethod}]{request.Url.AbsolutePath}";
                                logContent += $"\r\n[request]{requestJson}";
                                logContent += $"\r\n[response]{respstr}";
                                _ = Task.Run(() =>
                                {
                                    Conn.默认日志?.Info(logContent);
                                });
                                Conn.默认日志?.Info(logContent);
                                byte[] bytstr = Encoding.UTF8.GetBytes(respstr);
                                response.StatusCode = (int)statusCode;
                                response.SendChunked = false;
                                response.ContentLength64 = bytstr.Length;
                                response.OutputStream.Write(bytstr, 0, bytstr.Length);
                                // å¼‚步写入响应
                                await response.OutputStream.WriteAsync(bytstr, 0, bytstr.Length);
                                response.Close();
                            }
                            break;
                        }
@@ -1100,10 +1123,6 @@
            catch (Exception ex)
            {
                Conn.默认日志.Error(ex.ToString());
            }
            finally
            {
                context?.Response.Close();
            }
        }
        private System.String HttpSvcListenerCallback_he(System.String method, System.String path, System.String requestJson, out System.Net.HttpStatusCode statusCode)
@@ -1172,7 +1191,7 @@
                        {
                            switch (path)
                            {
                                case var _ when System.Text.RegularExpressions.Regex.IsMatch(path, @"\.(html|ico|js|css)(\?.*)?$", System.Text.RegularExpressions.RegexOptions.IgnoreCase):
                                case "/inddddddddddddddddd":
                                    {
                                        statusCode = System.Net.HttpStatusCode.OK;
                                        // å¤åˆ¶åˆ°case ä¸Š
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Build/Project/´úÂë/×Ô¶¨ÒåÀà.cs
@@ -430,7 +430,10 @@
        /// <summary>
        ///  1 ç»´å¸Œå°”机械臂
        ///  2 æ·çž¬æœºæ¢°è‡‚臂
        ///  3 æ·çž¬è¾“送线
        ///  3 é«˜å†²æœºæ¢°æ‰‹
        ///  4 SSXaAGV  äº¤äº’的输送线 çº¤ä½“编号
        ///  5 å®šå­ä¸Šæ–™æœºæ¢°æ‰‹
        ///  6 è½¬å­ä¸Šæ–™æœºæ¢°æ‰‹
        /// </summary>
        public int deviceType { get; set; }
        public int enable { get; set; }
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Devices/PlcConfig
@@ -1775,7 +1775,7 @@
      "GroupList": [],
      "Id": "0000001",
      "Name": "p发那科1下线",
      "Desc": "",
      "Desc": "10.221.55.131 - 1号发那科",
      "Brand": "Melsec",
      "Model": "Q10UDEH",
      "Comm": "MXComponent",
@@ -6586,7 +6586,7 @@
      "GroupList": [],
      "Id": "1000031",
      "Name": "p发那科2下线",
      "Desc": "",
      "Desc": "10.221.55.141 - 2号发那科",
      "Brand": "Melsec",
      "Model": "Q10UDEH",
      "Comm": "MXComponent",
@@ -6603,15 +6603,15 @@
          "Id": "20250615152454900",
          "Order": 1,
          "Name": "D2210",
          "FullName": "p发那科3上线.D2210",
          "FullName": "D定子1号机械手.D2210",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2210",
          "AddrType": "",
          "Length": 1,
          "Desc": "左空到位",
          "Trigger": true,
          "Desc": "左满到位",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
@@ -6620,7 +6620,7 @@
          "Id": "20250615152454916",
          "Order": 2,
          "Name": "D2211",
          "FullName": "p发那科3上线.D2211",
          "FullName": "D定子1号机械手.D2211",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6637,7 +6637,7 @@
          "Id": "20250615152454932",
          "Order": 3,
          "Name": "D2212",
          "FullName": "p发那科3上线.D2212",
          "FullName": "D定子1号机械手.D2212",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6645,7 +6645,7 @@
          "AddrType": "",
          "Length": 1,
          "Desc": "左光栅关闭请求",
          "Trigger": true,
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
@@ -6654,15 +6654,15 @@
          "Id": "20250615152454979",
          "Order": 4,
          "Name": "D2215",
          "FullName": "p发那科3上线.D2215",
          "FullName": "D定子1号机械手.D2215",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2215",
          "AddrType": "",
          "Length": 1,
          "Desc": "右空到位",
          "Trigger": true,
          "Desc": "右满到位",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
@@ -6671,7 +6671,7 @@
          "Id": "20250615152454994",
          "Order": 5,
          "Name": "D2216",
          "FullName": "p发那科3上线.D2216",
          "FullName": "D定子1号机械手.D2216",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6688,7 +6688,7 @@
          "Id": "20250615152455010",
          "Order": 6,
          "Name": "D2217",
          "FullName": "p发那科3上线.D2217",
          "FullName": "D定子1号机械手.D2217",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6696,7 +6696,7 @@
          "AddrType": "",
          "Length": 1,
          "Desc": "右光栅请求关闭",
          "Trigger": true,
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
@@ -6705,7 +6705,7 @@
          "Id": "20250615152455025",
          "Order": 7,
          "Name": "D2218",
          "FullName": "p发那科3上线.D2218",
          "FullName": "D定子1号机械手.D2218",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6722,7 +6722,7 @@
          "Id": "20250615152455041",
          "Order": 8,
          "Name": "D2219",
          "FullName": "p发那科3上线.D2219",
          "FullName": "D定子1号机械手.D2219",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6739,14 +6739,14 @@
          "Id": "20250615152455057",
          "Order": 9,
          "Name": "D2220",
          "FullName": "p发那科3上线.D2220",
          "FullName": "D定子1号机械手.D2220",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2220",
          "AddrType": "",
          "Length": 1,
          "Desc": "左光栅状态",
          "Desc": "左光栅状态 1开启0关闭",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
@@ -6756,7 +6756,7 @@
          "Id": "20250615152455073",
          "Order": 10,
          "Name": "D2221",
          "FullName": "p发那科3上线.D2221",
          "FullName": "D定子1号机械手.D2221",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6773,7 +6773,7 @@
          "Id": "20250615152455088",
          "Order": 11,
          "Name": "D2222",
          "FullName": "p发那科3上线.D2222",
          "FullName": "D定子1号机械手.D2222",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6790,7 +6790,7 @@
          "Id": "20250615152455104",
          "Order": 12,
          "Name": "D2223",
          "FullName": "p发那科3上线.D2223",
          "FullName": "D定子1号机械手.D2223",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6807,7 +6807,7 @@
          "Id": "20250615152455119",
          "Order": 13,
          "Name": "D2224",
          "FullName": "p发那科3上线.D2224",
          "FullName": "D定子1号机械手.D2224",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6824,7 +6824,7 @@
          "Id": "20250615152455135",
          "Order": 14,
          "Name": "D2225",
          "FullName": "p发那科3上线.D2225",
          "FullName": "D定子1号机械手.D2225",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6841,7 +6841,7 @@
          "Id": "20250615152455150",
          "Order": 15,
          "Name": "D2226",
          "FullName": "p发那科3上线.D2226",
          "FullName": "D定子1号机械手.D2226",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6858,7 +6858,7 @@
          "Id": "20250615152455165",
          "Order": 16,
          "Name": "D2227",
          "FullName": "p发那科3上线.D2227",
          "FullName": "D定子1号机械手.D2227",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6875,7 +6875,7 @@
          "Id": "20250615152455181",
          "Order": 17,
          "Name": "D2228",
          "FullName": "p发那科3上线.D2228",
          "FullName": "D定子1号机械手.D2228",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6892,7 +6892,7 @@
          "Id": "20250615152455197",
          "Order": 18,
          "Name": "D2229",
          "FullName": "p发那科3上线.D2229",
          "FullName": "D定子1号机械手.D2229",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
@@ -6908,13 +6908,336 @@
      ],
      "GroupList": [],
      "Id": "1000032",
      "Name": "p发那科3上线",
      "Desc": "",
      "Name": "D定子1号机械手",
      "Desc": "一线地址:10.221.55.181     ç«¯å£ï¼š6000",
      "Brand": "Melsec",
      "Model": "Q10UDEH",
      "Comm": "MXComponent",
      "IP": "3",
      "RedisQueueName": "p发那科3上线Queue",
      "RedisQueueName": "D定子1号机械手Queue",
      "IsSimulate": true,
      "Reserve1": "",
      "Reserve2": "",
      "Reserve3": ""
    },
    {
      "ParamList": [
        {
          "Id": "20250708093329612",
          "Order": 1,
          "Name": "D2210",
          "FullName": "D定子2号机械手.D2210",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2210",
          "AddrType": "",
          "Length": 1,
          "Desc": "左满到位",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329627",
          "Order": 2,
          "Name": "D2211",
          "FullName": "D定子2号机械手.D2211",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2211",
          "AddrType": "",
          "Length": 1,
          "Desc": "左光栅开启请求",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329642",
          "Order": 3,
          "Name": "D2212",
          "FullName": "D定子2号机械手.D2212",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2212",
          "AddrType": "",
          "Length": 1,
          "Desc": "左光栅关闭请求",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329658",
          "Order": 4,
          "Name": "D2215",
          "FullName": "D定子2号机械手.D2215",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2215",
          "AddrType": "",
          "Length": 1,
          "Desc": "右满到位",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329674",
          "Order": 5,
          "Name": "D2216",
          "FullName": "D定子2号机械手.D2216",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2216",
          "AddrType": "",
          "Length": 1,
          "Desc": "右光栅请求开启",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329689",
          "Order": 6,
          "Name": "D2217",
          "FullName": "D定子2号机械手.D2217",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2217",
          "AddrType": "",
          "Length": 1,
          "Desc": "右光栅请求关闭",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329705",
          "Order": 7,
          "Name": "D2218",
          "FullName": "D定子2号机械手.D2218",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2218",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329720",
          "Order": 8,
          "Name": "D2219",
          "FullName": "D定子2号机械手.D2219",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2219",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329736",
          "Order": 9,
          "Name": "D2220",
          "FullName": "D定子2号机械手.D2220",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2220",
          "AddrType": "",
          "Length": 1,
          "Desc": "左光栅状态 1开启0关闭",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329751",
          "Order": 10,
          "Name": "D2221",
          "FullName": "D定子2号机械手.D2221",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2221",
          "AddrType": "",
          "Length": 1,
          "Desc": "左拆垛完成",
          "Trigger": true,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329767",
          "Order": 11,
          "Name": "D2222",
          "FullName": "D定子2号机械手.D2222",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2222",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329782",
          "Order": 12,
          "Name": "D2223",
          "FullName": "D定子2号机械手.D2223",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2223",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329797",
          "Order": 13,
          "Name": "D2224",
          "FullName": "D定子2号机械手.D2224",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2224",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329813",
          "Order": 14,
          "Name": "D2225",
          "FullName": "D定子2号机械手.D2225",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2225",
          "AddrType": "",
          "Length": 1,
          "Desc": "右光栅状态",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329829",
          "Order": 15,
          "Name": "D2226",
          "FullName": "D定子2号机械手.D2226",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2226",
          "AddrType": "",
          "Length": 1,
          "Desc": "右拆垛完成",
          "Trigger": true,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329844",
          "Order": 16,
          "Name": "D2227",
          "FullName": "D定子2号机械手.D2227",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2227",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329860",
          "Order": 17,
          "Name": "D2228",
          "FullName": "D定子2号机械手.D2228",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2228",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        },
        {
          "Id": "20250708093329876",
          "Order": 18,
          "Name": "D2229",
          "FullName": "D定子2号机械手.D2229",
          "DataType": "System.UInt16",
          "DataValue": "",
          "SetValue": "",
          "Address": "D2229",
          "AddrType": "",
          "Length": 1,
          "Desc": "",
          "Trigger": false,
          "Reserve1": "",
          "Reserve2": "",
          "Reserve3": ""
        }
      ],
      "GroupList": [],
      "Id": "1000033",
      "Name": "D定子2号机械手",
      "Desc": "二线地址:10.221.55.179     ç«¯å£ï¼š6000",
      "Brand": "Melsec",
      "Model": "Q10UDEH",
      "Comm": "MXComponent",
      "IP": "4",
      "RedisQueueName": "D定子2号机械手Queue",
      "IsSimulate": true,
      "Reserve1": "",
      "Reserve2": "",
@@ -6922,5 +7245,5 @@
    }
  ],
  "CreationTime": "2025-02-26 15:31:23",
  "LastWriteTime": "2025-06-28 14:27:11"
  "LastWriteTime": "2025-07-08 14:12:07"
}
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Devices/É豸ͨÐÅ.json
@@ -2,5 +2,5 @@
  "ProjectSn": "1",
  "DeviceList": [],
  "CreationTime": "2025-02-26 15:31:23",
  "LastWriteTime": "2025-06-28 14:27:11"
  "LastWriteTime": "2025-07-08 14:12:20"
}
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Net/Conn.json
@@ -340,5 +340,5 @@
    }
  ],
  "CreationTime": "2025-02-26 15:31:23",
  "LastWriteTime": "2025-07-03 14:02:22"
  "LastWriteTime": "2025-07-08 10:35:41"
}
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/RunTime/Code/±äÁ¿Êý¾Ý¿â.cs
@@ -97,6 +97,10 @@
        public TagRGV RGV { get { return _RGV; } set { _RGV=value; RaisePropertyChanged("RGV"); } }
        private TagSFT下料口托盘 _SFT下料口托盘 = new TagSFT下料口托盘();
        public TagSFT下料口托盘 SFT下料口托盘 { get { return _SFT下料口托盘; } set { _SFT下料口托盘=value; RaisePropertyChanged("SFT下料口托盘"); } }
        private TagDZ1 _DZ1 = new TagDZ1();
        public TagDZ1 DZ1 { get { return _DZ1; } set { _DZ1=value; RaisePropertyChanged("DZ1"); } }
        private TagDZ2 _DZ2 = new TagDZ2();
        public TagDZ2 DZ2 { get { return _DZ2; } set { _DZ2=value; RaisePropertyChanged("DZ2"); } }
        #endregion
        
        #region å†…部类
@@ -6103,6 +6107,576 @@
        #endregion
    }
    public class TagDZ1 : System.ComponentModel.INotifyPropertyChanged
    {
        #region å˜é‡
        private System.UInt16 _D2223;
        public System.UInt16 D2223
        {
            get
            {
    return _D2223;
            }
            set
            {
                _D2223 = value;
                RaisePropertyChanged("D2223");
            }
        }
        private System.UInt16 _D2210;
        public System.UInt16 D2210
        {
            get
            {
    return _D2210;
            }
            set
            {
                _D2210 = value;
                RaisePropertyChanged("D2210");
            }
        }
        private System.UInt16 _D2211;
        public System.UInt16 D2211
        {
            get
            {
    return _D2211;
            }
            set
            {
                _D2211 = value;
                RaisePropertyChanged("D2211");
            }
        }
        private System.UInt16 _D2212;
        public System.UInt16 D2212
        {
            get
            {
    return _D2212;
            }
            set
            {
                _D2212 = value;
                RaisePropertyChanged("D2212");
            }
        }
        private System.UInt16 _D2215;
        public System.UInt16 D2215
        {
            get
            {
    return _D2215;
            }
            set
            {
                _D2215 = value;
                RaisePropertyChanged("D2215");
            }
        }
        private System.UInt16 _D2216;
        public System.UInt16 D2216
        {
            get
            {
    return _D2216;
            }
            set
            {
                _D2216 = value;
                RaisePropertyChanged("D2216");
            }
        }
        private System.UInt16 _D2217;
        public System.UInt16 D2217
        {
            get
            {
    return _D2217;
            }
            set
            {
                _D2217 = value;
                RaisePropertyChanged("D2217");
            }
        }
        private System.UInt16 _D2218;
        public System.UInt16 D2218
        {
            get
            {
    return _D2218;
            }
            set
            {
                _D2218 = value;
                RaisePropertyChanged("D2218");
            }
        }
        private System.UInt16 _D2219;
        public System.UInt16 D2219
        {
            get
            {
    return _D2219;
            }
            set
            {
                _D2219 = value;
                RaisePropertyChanged("D2219");
            }
        }
        private System.UInt16 _D2220;
        public System.UInt16 D2220
        {
            get
            {
    return _D2220;
            }
            set
            {
                _D2220 = value;
                RaisePropertyChanged("D2220");
            }
        }
        private System.UInt16 _D2221;
        public System.UInt16 D2221
        {
            get
            {
    return _D2221;
            }
            set
            {
                _D2221 = value;
                RaisePropertyChanged("D2221");
            }
        }
        private System.UInt16 _D2221_LAST;
        public System.UInt16 D2221_LAST
        {
            get
            {
    return _D2221_LAST;
            }
            set
            {
                _D2221_LAST = value;
                RaisePropertyChanged("D2221_LAST");
            }
        }
        private System.UInt16 _D2222;
        public System.UInt16 D2222
        {
            get
            {
    return _D2222;
            }
            set
            {
                _D2222 = value;
                RaisePropertyChanged("D2222");
            }
        }
        private System.UInt16 _D2224;
        public System.UInt16 D2224
        {
            get
            {
    return _D2224;
            }
            set
            {
                _D2224 = value;
                RaisePropertyChanged("D2224");
            }
        }
        private System.UInt16 _D2225;
        public System.UInt16 D2225
        {
            get
            {
    return _D2225;
            }
            set
            {
                _D2225 = value;
                RaisePropertyChanged("D2225");
            }
        }
        private System.UInt16 _D2226;
        public System.UInt16 D2226
        {
            get
            {
    return _D2226;
            }
            set
            {
                _D2226 = value;
                RaisePropertyChanged("D2226");
            }
        }
        private System.UInt16 _D2226_LAST;
        public System.UInt16 D2226_LAST
        {
            get
            {
    return _D2226_LAST;
            }
            set
            {
                _D2226_LAST = value;
                RaisePropertyChanged("D2226_LAST");
            }
        }
        private System.UInt16 _D2227;
        public System.UInt16 D2227
        {
            get
            {
    return _D2227;
            }
            set
            {
                _D2227 = value;
                RaisePropertyChanged("D2227");
            }
        }
        private System.UInt16 _D2228;
        public System.UInt16 D2228
        {
            get
            {
    return _D2228;
            }
            set
            {
                _D2228 = value;
                RaisePropertyChanged("D2228");
            }
        }
        private System.UInt16 _D2229;
        public System.UInt16 D2229
        {
            get
            {
    return _D2229;
            }
            set
            {
                _D2229 = value;
                RaisePropertyChanged("D2229");
            }
        }
        #endregion
        #region å˜é‡ç»„
        #endregion
        #region å†…部类
        #endregion
        #region å±žæ€§å˜æ›´
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        public void RaisePropertyChanged(string propertyName)
        {
            System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
            if (handler != null)
            {
                handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion
    }
    public class TagDZ2 : System.ComponentModel.INotifyPropertyChanged
    {
        #region å˜é‡
        private System.UInt16 _D2223;
        public System.UInt16 D2223
        {
            get
            {
    return _D2223;
            }
            set
            {
                _D2223 = value;
                RaisePropertyChanged("D2223");
            }
        }
        private System.UInt16 _D2210;
        public System.UInt16 D2210
        {
            get
            {
    return _D2210;
            }
            set
            {
                _D2210 = value;
                RaisePropertyChanged("D2210");
            }
        }
        private System.UInt16 _D2211;
        public System.UInt16 D2211
        {
            get
            {
    return _D2211;
            }
            set
            {
                _D2211 = value;
                RaisePropertyChanged("D2211");
            }
        }
        private System.UInt16 _D2212;
        public System.UInt16 D2212
        {
            get
            {
    return _D2212;
            }
            set
            {
                _D2212 = value;
                RaisePropertyChanged("D2212");
            }
        }
        private System.UInt16 _D2215;
        public System.UInt16 D2215
        {
            get
            {
    return _D2215;
            }
            set
            {
                _D2215 = value;
                RaisePropertyChanged("D2215");
            }
        }
        private System.UInt16 _D2216;
        public System.UInt16 D2216
        {
            get
            {
    return _D2216;
            }
            set
            {
                _D2216 = value;
                RaisePropertyChanged("D2216");
            }
        }
        private System.UInt16 _D2217;
        public System.UInt16 D2217
        {
            get
            {
    return _D2217;
            }
            set
            {
                _D2217 = value;
                RaisePropertyChanged("D2217");
            }
        }
        private System.UInt16 _D2218;
        public System.UInt16 D2218
        {
            get
            {
    return _D2218;
            }
            set
            {
                _D2218 = value;
                RaisePropertyChanged("D2218");
            }
        }
        private System.UInt16 _D2219;
        public System.UInt16 D2219
        {
            get
            {
    return _D2219;
            }
            set
            {
                _D2219 = value;
                RaisePropertyChanged("D2219");
            }
        }
        private System.UInt16 _D2220;
        public System.UInt16 D2220
        {
            get
            {
    return _D2220;
            }
            set
            {
                _D2220 = value;
                RaisePropertyChanged("D2220");
            }
        }
        private System.UInt16 _D2221;
        public System.UInt16 D2221
        {
            get
            {
    return _D2221;
            }
            set
            {
                _D2221 = value;
                RaisePropertyChanged("D2221");
            }
        }
        private System.UInt16 _D2221_LAST;
        public System.UInt16 D2221_LAST
        {
            get
            {
    return _D2221_LAST;
            }
            set
            {
                _D2221_LAST = value;
                RaisePropertyChanged("D2221_LAST");
            }
        }
        private System.UInt16 _D2222;
        public System.UInt16 D2222
        {
            get
            {
    return _D2222;
            }
            set
            {
                _D2222 = value;
                RaisePropertyChanged("D2222");
            }
        }
        private System.UInt16 _D2224;
        public System.UInt16 D2224
        {
            get
            {
    return _D2224;
            }
            set
            {
                _D2224 = value;
                RaisePropertyChanged("D2224");
            }
        }
        private System.UInt16 _D2225;
        public System.UInt16 D2225
        {
            get
            {
    return _D2225;
            }
            set
            {
                _D2225 = value;
                RaisePropertyChanged("D2225");
            }
        }
        private System.UInt16 _D2226;
        public System.UInt16 D2226
        {
            get
            {
    return _D2226;
            }
            set
            {
                _D2226 = value;
                RaisePropertyChanged("D2226");
            }
        }
        private System.UInt16 _D2226_LAST;
        public System.UInt16 D2226_LAST
        {
            get
            {
    return _D2226_LAST;
            }
            set
            {
                _D2226_LAST = value;
                RaisePropertyChanged("D2226_LAST");
            }
        }
        private System.UInt16 _D2227;
        public System.UInt16 D2227
        {
            get
            {
    return _D2227;
            }
            set
            {
                _D2227 = value;
                RaisePropertyChanged("D2227");
            }
        }
        private System.UInt16 _D2228;
        public System.UInt16 D2228
        {
            get
            {
    return _D2228;
            }
            set
            {
                _D2228 = value;
                RaisePropertyChanged("D2228");
            }
        }
        private System.UInt16 _D2229;
        public System.UInt16 D2229
        {
            get
            {
    return _D2229;
            }
            set
            {
                _D2229 = value;
                RaisePropertyChanged("D2229");
            }
        }
        #endregion
        #region å˜é‡ç»„
        #endregion
        #region å†…部类
        #endregion
        #region å±žæ€§å˜æ›´
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        public void RaisePropertyChanged(string propertyName)
        {
            System.ComponentModel.PropertyChangedEventHandler handler = PropertyChanged;
            if (handler != null)
            {
                handler(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
        #endregion
    }
        #endregion
            
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/RunTime/Code/É豸ͨÐÅ.cs
@@ -70,7 +70,8 @@
        public GZ.Device.PLC.PlcBase A2030取货交互=null;
        public GZ.Device.PLC.PlcBase RGV=null;
        public GZ.Device.PLC.PlcBase p发那科2下线=null;
        public GZ.Device.PLC.PlcBase p发那科3上线=null;
        public GZ.Device.PLC.PlcBase D定子1号机械手=null;
        public GZ.Device.PLC.PlcBase D定子2号机械手=null;
        public Device()
        {
            ç»´å¸Œå°”抓臂1 = GZ.Device.PLC.PlcFactory.CreateInstanceByFile
@@ -243,9 +244,14 @@
                System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs", "p发那科2下线"),
                null
            );
            p发那科3上线 = GZ.Device.PLC.PlcFactory.CreateInstanceByFile
            D定子1号机械手 = GZ.Device.PLC.PlcFactory.CreateInstanceByFile
            (
                System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs", "p发那科3上线"),
                System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs", "D定子1号机械手"),
                null
            );
            D定子2号机械手 = GZ.Device.PLC.PlcFactory.CreateInstanceByFile
            (
                System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configs", "D定子2号机械手"),
                null
            );
            if(System.Configuration.ConfigurationManager.AppSettings["AutoRunPLC"]=="1")
@@ -284,7 +290,8 @@
                if(A2030取货交互!=null){A2030取货交互.Run();}
                if(RGV!=null){RGV.Run();}
                if(p发那科2下线!=null){p发那科2下线.Run();}
                if(p发那科3上线!=null){p发那科3上线.Run();}
                if(D定子1号机械手!=null){D定子1号机械手.Run();}
                if(D定子2号机械手!=null){D定子2号机械手.Run();}
            }
        }
    }
@@ -340,7 +347,7 @@
        #region p发那科1下线
        public _p发那科1下线 p发那科1下线 = new _p发那科1下线();
        /// <summary>
        ///
        /// 10.221.55.131 - 1号发那科
        /// </summary>        
        public class _p发那科1下线
        {
@@ -630,19 +637,29 @@
        #region p发那科2下线
        public _p发那科2下线 p发那科2下线 = new _p发那科2下线();
        /// <summary>
        ///
        /// 10.221.55.141 - 2号发那科
        /// </summary>        
        public class _p发那科2下线
        {
        }
        #endregion
        
        #region p发那科3上线
        public _p发那科3上线 p发那科3上线 = new _p发那科3上线();
        #region D定子1号机械手
        public _D定子1号机械手 D定子1号机械手 = new _D定子1号机械手();
        /// <summary>
        ///
        /// ä¸€çº¿åœ°å€ï¼š10.221.55.181     ç«¯å£ï¼š6000
        /// </summary>        
        public class _p发那科3上线
        public class _D定子1号机械手
        {
        }
        #endregion
        #region D定子2号机械手
        public _D定子2号机械手 D定子2号机械手 = new _D定子2号机械手();
        /// <summary>
        /// äºŒçº¿åœ°å€ï¼š10.221.55.179     ç«¯å£ï¼š6000
        /// </summary>
        public class _D定子2号机械手
        {
        }
        #endregion
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Scripts/Custom.json
@@ -713,6 +713,6 @@
    }
  ],
  "CreationTime": "2025-02-26 15:31:23",
  "LastWriteTime": "2025-07-06 14:48:52",
  "LastWriteTime": "2025-07-08 09:54:00",
  "HasSaved": true
}
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Scripts/Script.json
@@ -1344,6 +1344,45 @@
          "FullName": "业务逻辑.Program4",
          "ParentFullName": "业务逻辑",
          "Enabled": "Enabled"
        },
        {
          "ID": "20250708095248653",
          "Name": "新线程总线",
          "Desc": "1",
          "Content": " AutoThread.InvokeMethod(AutoThread.Instance, \"ThreaTotal\", new object[] { tag });",
          "ContentCopy": " AutoThread.InvokeMethod(AutoThread.Instance, \"ThreaTotal\", new object[] { tag });",
          "ParentID": "20250226153120175",
          "Children": [],
          "Type": "Program",
          "Property": {
            "SyncExec": "False",
            "RepeatExec": "Until",
            "ExceCount": 1,
            "ExceInternal": 3000,
            "StartCondition": {
              "Type": "View",
              "Event": "",
              "Expression": "",
              "Judge": "",
              "Command": {},
              "HmiEvent": {
                "20250306140515428": [
                  "Open"
                ]
              }
            },
            "EndCondition": {
              "Type": "None",
              "Event": "",
              "Expression": "",
              "Judge": "",
              "Command": {},
              "HmiEvent": {}
            }
          },
          "FullName": "业务逻辑.新线程总线",
          "ParentFullName": "业务逻辑",
          "Enabled": "Enabled"
        }
      ],
      "Type": "Group",
@@ -1410,6 +1449,6 @@
    }
  ],
  "CreationTime": "2025-02-26 15:31:20",
  "LastWriteTime": "2025-07-06 14:48:52",
  "LastWriteTime": "2025-07-08 09:53:59",
  "HasSaved": true
}
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Variable/±äÁ¿Êý¾Ý¿â.json
@@ -7635,11 +7635,753 @@
          }
        ],
        "Children": []
      },
      {
        "ID": "20250708094856987",
        "Name": "DZ1",
        "Desc": "",
        "ParentID": "20250226153123812",
        "ParentFullName": "Tag",
        "FullName": "Tag.DZ1",
        "Vars": [
          {
            "ID": "20250708094925833",
            "Name": "D2223",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2223",
            "Map": "D定子1号机械手.D2223",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2223"
          },
          {
            "ID": "20250708094925818",
            "Name": "D2210",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2210",
            "Map": "D定子1号机械手.D2210",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2210"
          },
          {
            "ID": "20250708094925803",
            "Name": "D2211",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2211",
            "Map": "D定子1号机械手.D2211",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2211"
          },
          {
            "ID": "20250708094925787",
            "Name": "D2212",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2212",
            "Map": "D定子1号机械手.D2212",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2212"
          },
          {
            "ID": "20250708094925771",
            "Name": "D2215",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2215",
            "Map": "D定子1号机械手.D2215",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2215"
          },
          {
            "ID": "20250708094925756",
            "Name": "D2216",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2216",
            "Map": "D定子1号机械手.D2216",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2216"
          },
          {
            "ID": "20250708094925741",
            "Name": "D2217",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2217",
            "Map": "D定子1号机械手.D2217",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2217"
          },
          {
            "ID": "20250708094925725",
            "Name": "D2218",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2218",
            "Map": "D定子1号机械手.D2218",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2218"
          },
          {
            "ID": "20250708094925709",
            "Name": "D2219",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2219",
            "Map": "D定子1号机械手.D2219",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2219"
          },
          {
            "ID": "20250708094925694",
            "Name": "D2220",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2220",
            "Map": "D定子1号机械手.D2220",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2220"
          },
          {
            "ID": "20250708094925678",
            "Name": "D2221",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2221",
            "Map": "D定子1号机械手.D2221",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2221"
          },
          {
            "ID": "20250708094925663",
            "Name": "D2221_LAST",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2221_LAST",
            "Map": "D定子1号机械手.D2221_LAST",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2221_LAST"
          },
          {
            "ID": "20250708094925648",
            "Name": "D2222",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2222",
            "Map": "D定子1号机械手.D2222",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2222"
          },
          {
            "ID": "20250708094925632",
            "Name": "D2224",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2224",
            "Map": "D定子1号机械手.D2224",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2224"
          },
          {
            "ID": "20250708094925616",
            "Name": "D2225",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2225",
            "Map": "D定子1号机械手.D2225",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2225"
          },
          {
            "ID": "20250708094925600",
            "Name": "D2226",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2226",
            "Map": "D定子1号机械手.D2226",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2226"
          },
          {
            "ID": "20250708094925584",
            "Name": "D2226_LAST",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2226_LAST",
            "Map": "D定子1号机械手.D2226_LAST",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2226_LAST"
          },
          {
            "ID": "20250708094925569",
            "Name": "D2227",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2227",
            "Map": "D定子1号机械手.D2227",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2227"
          },
          {
            "ID": "20250708094925554",
            "Name": "D2228",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2228",
            "Map": "D定子1号机械手.D2228",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2228"
          },
          {
            "ID": "20250708094925538",
            "Name": "D2229",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子1号机械手",
            "MapParam": "D2229",
            "Map": "D定子1号机械手.D2229",
            "Queue": "D定子1号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094856987",
            "GroupFullName": "Tag.DZ1",
            "FullName": "Tag.DZ1.D2229"
          }
        ],
        "Children": []
      },
      {
        "ID": "20250708094929744",
        "Name": "DZ2",
        "Desc": "",
        "ParentID": "20250226153123812",
        "ParentFullName": "Tag",
        "FullName": "Tag.DZ2",
        "Vars": [
          {
            "ID": "20250708094939022",
            "Name": "D2223",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2223",
            "Map": "D定子2号机械手.D2223",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2223"
          },
          {
            "ID": "20250708094939007",
            "Name": "D2210",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2210",
            "Map": "D定子2号机械手.D2210",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2210"
          },
          {
            "ID": "20250708094938992",
            "Name": "D2211",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2211",
            "Map": "D定子2号机械手.D2211",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2211"
          },
          {
            "ID": "20250708094938976",
            "Name": "D2212",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2212",
            "Map": "D定子2号机械手.D2212",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2212"
          },
          {
            "ID": "20250708094938961",
            "Name": "D2215",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2215",
            "Map": "D定子2号机械手.D2215",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2215"
          },
          {
            "ID": "20250708094938945",
            "Name": "D2216",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2216",
            "Map": "D定子2号机械手.D2216",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2216"
          },
          {
            "ID": "20250708094938930",
            "Name": "D2217",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2217",
            "Map": "D定子2号机械手.D2217",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2217"
          },
          {
            "ID": "20250708094938915",
            "Name": "D2218",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2218",
            "Map": "D定子2号机械手.D2218",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2218"
          },
          {
            "ID": "20250708094938900",
            "Name": "D2219",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2219",
            "Map": "D定子2号机械手.D2219",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2219"
          },
          {
            "ID": "20250708094938884",
            "Name": "D2220",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2220",
            "Map": "D定子2号机械手.D2220",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2220"
          },
          {
            "ID": "20250708094938868",
            "Name": "D2221",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2221",
            "Map": "D定子2号机械手.D2221",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2221"
          },
          {
            "ID": "20250708094938853",
            "Name": "D2221_LAST",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2221_LAST",
            "Map": "D定子2号机械手.D2221_LAST",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2221_LAST"
          },
          {
            "ID": "20250708094938838",
            "Name": "D2222",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2222",
            "Map": "D定子2号机械手.D2222",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2222"
          },
          {
            "ID": "20250708094938822",
            "Name": "D2224",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2224",
            "Map": "D定子2号机械手.D2224",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2224"
          },
          {
            "ID": "20250708094938806",
            "Name": "D2225",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2225",
            "Map": "D定子2号机械手.D2225",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2225"
          },
          {
            "ID": "20250708094938791",
            "Name": "D2226",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2226",
            "Map": "D定子2号机械手.D2226",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2226"
          },
          {
            "ID": "20250708094938776",
            "Name": "D2226_LAST",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2226_LAST",
            "Map": "D定子2号机械手.D2226_LAST",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2226_LAST"
          },
          {
            "ID": "20250708094938760",
            "Name": "D2227",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2227",
            "Map": "D定子2号机械手.D2227",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2227"
          },
          {
            "ID": "20250708094938744",
            "Name": "D2228",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2228",
            "Map": "D定子2号机械手.D2228",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2228"
          },
          {
            "ID": "20250708094938728",
            "Name": "D2229",
            "Desc": "",
            "Type": "System.UInt16",
            "ShortType": "",
            "MinVal": "",
            "MaxVal": "",
            "DefaultVal": "",
            "MapDevice": "D定子2号机械手",
            "MapParam": "D2229",
            "Map": "D定子2号机械手.D2229",
            "Queue": "D定子2号机械手Queue",
            "Converter": "",
            "GroupID": "20250708094929744",
            "GroupFullName": "Tag.DZ2",
            "FullName": "Tag.DZ2.D2229"
          }
        ],
        "Children": []
      }
    ]
  },
  "CreationTime": "2025-02-26 15:31:23",
  "LastWriteTime": "2025-06-30 08:14:50",
  "LastWriteTime": "2025-07-08 14:11:39",
  "Sample": {
    "ID": "",
    "Name": "Tag",