{ "ProjectSn": "", "Directory": "", "Snippets": [ { "ID": "20250226153120175", "Name": "业务逻辑", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "", "Children": [ { "ID": "20250323111613779", "Name": "初始化配置", "Desc": "", "Content": "\r\n Action myDelegate = () => SettingInit();\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadSettingInit\", new object[] { tag, myDelegate });", "ContentCopy": "\r\n Action myDelegate = () => SettingInit();\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadSettingInit\", new object[] { tag, myDelegate });", "ParentID": "20250226153120175", "Children": [], "Type": "Program", "Property": { "SyncExec": "False", "RepeatExec": "Until", "ExceCount": 1, "ExceInternal": 10000, "StartCondition": { "Type": "View", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": { "20250306140515428": [ "Open" ] } }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.初始化配置", "ParentFullName": "业务逻辑", "Enabled": "Enabled" }, { "ID": "20250325083047245", "Name": "第三标段", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250226153120175", "Children": [ { "ID": "20250325083325390", "Name": "捷瞬抓臂1", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadJS1\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadJS1\", new object[] { tag });", "ParentID": "20250325083047245", "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": "业务逻辑.第三标段.捷瞬抓臂1", "ParentFullName": "业务逻辑.第三标段", "Enabled": "Enabled" }, { "ID": "20250325083326611", "Name": "捷瞬抓臂2", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadJS2\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadJS2\", new object[] { tag });", "ParentID": "20250325083047245", "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": "业务逻辑.第三标段.捷瞬抓臂2", "ParentFullName": "业务逻辑.第三标段", "Enabled": "Enabled" }, { "ID": "20250325085810885", "Name": "自流转流程", "Desc": "", "Content": "//foreach(var di in Settings.deviceInfos)\r\n//\tif (di.deviceType == 2 || di.deviceType == 1)\r\n//\tRunafterMac(di,true);\r\n\t/// TODO mes 下发。 改成机械臂监控 - 监控空的还是满的 - 联动mes 任务。\r\n\t\r\n LogHelper.Info($\"设备状态:维希尔1:维希尔抓臂1.State:{Device.维希尔抓臂1.State} \");\r\n Device.维希尔抓臂1.ReadPLC(\"维希尔抓臂1.R50\", out object value);\r\n LogHelper.Info($\"设备状态:维希尔1:维希尔抓臂1.R50:{value?.ToString()} \");\r\n\r\n LogHelper.Info($\"设备状态:维希尔2:维希尔抓臂2.State:{Device.维希尔抓臂2.State} \");\r\n Device.维希尔抓臂2.ReadPLC(\"维希尔抓臂2.R50\", out value);\r\n LogHelper.Info($\"设备状态:维希尔2:维希尔抓臂2.R50:{value?.ToString()} \");\r\n\r\n LogHelper.Info($\"设备状态:捷瞬1:Js捷顺1.State:{Device.Js捷顺1.State} \");\r\n Device.Js捷顺1.ReadPLC(\"Js捷顺1.D1202\", out value);\r\n LogHelper.Info($\"设备状态:捷瞬1 Js捷顺1.D1202:{value?.ToString()} \");\r\n\r\n LogHelper.Info($\"设备状态:捷瞬2:Js捷顺2.State:{Device.Js捷顺2.State} \");\r\n Device.Js捷顺2.ReadPLC(\"Js捷顺2.D1202\", out value);\r\n LogHelper.Info($\"设备状态:捷瞬2 Js捷顺2.D1202:{value?.ToString()} \");\r\n\r\n", "ContentCopy": "//foreach(var di in Settings.deviceInfos)\r\n//\tif (di.deviceType == 2 || di.deviceType == 1)\r\n//\tRunafterMac(di,true);\r\n\t/// TODO mes 下发。 改成机械臂监控 - 监控空的还是满的 - 联动mes 任务。\r\n\t\r\n LogHelper.Info($\"设备状态:维希尔1:维希尔抓臂1.State:{Device.维希尔抓臂1.State} \");\r\n Device.维希尔抓臂1.ReadPLC(\"维希尔抓臂1.R50\", out object value);\r\n LogHelper.Info($\"设备状态:维希尔1:维希尔抓臂1.R50:{value?.ToString()} \");\r\n\r\n LogHelper.Info($\"设备状态:维希尔2:维希尔抓臂2.State:{Device.维希尔抓臂2.State} \");\r\n Device.维希尔抓臂2.ReadPLC(\"维希尔抓臂2.R50\", out value);\r\n LogHelper.Info($\"设备状态:维希尔2:维希尔抓臂2.R50:{value?.ToString()} \");\r\n\r\n LogHelper.Info($\"设备状态:捷瞬1:Js捷顺1.State:{Device.Js捷顺1.State} \");\r\n Device.Js捷顺1.ReadPLC(\"Js捷顺1.D1202\", out value);\r\n LogHelper.Info($\"设备状态:捷瞬1 Js捷顺1.D1202:{value?.ToString()} \");\r\n\r\n LogHelper.Info($\"设备状态:捷瞬2:Js捷顺2.State:{Device.Js捷顺2.State} \");\r\n Device.Js捷顺2.ReadPLC(\"Js捷顺2.D1202\", out value);\r\n LogHelper.Info($\"设备状态:捷瞬2 Js捷顺2.D1202:{value?.ToString()} \");\r\n\r\n", "ParentID": "20250325083047245", "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" }, { "ID": "20250610002001052", "Name": "维系尔1号", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250325083047245", "Children": [ { "ID": "20250325083149366", "Name": "维希尔抓臂1L", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr1L\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr1L\", new object[] { tag });", "ParentID": "20250610002001052", "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": "业务逻辑.第三标段.维系尔1号.维希尔抓臂1L", "ParentFullName": "业务逻辑.第三标段.维系尔1号", "Enabled": "Enabled" }, { "ID": "20250610002047005", "Name": "维希尔抓臂1R", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr1R\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr1R\", new object[] { tag });", "ParentID": "20250610002001052", "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": "业务逻辑.第三标段.维系尔1号.维希尔抓臂1R", "ParentFullName": "业务逻辑.第三标段.维系尔1号", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.第三标段.维系尔1号", "ParentFullName": "业务逻辑.第三标段", "Enabled": "Enabled" }, { "ID": "20250610002414741", "Name": "维系尔2号", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250325083047245", "Children": [ { "ID": "20250325083315503", "Name": "维希尔抓臂2L", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr2L\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr2L\", new object[] { tag });", "ParentID": "20250610002414741", "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": "业务逻辑.第三标段.维系尔2号.维希尔抓臂2L", "ParentFullName": "业务逻辑.第三标段.维系尔2号", "Enabled": "Enabled" }, { "ID": "20250610002647095", "Name": "维希尔抓臂2R", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr2R\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Threadwxr2R\", new object[] { tag });", "ParentID": "20250610002414741", "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": "业务逻辑.第三标段.维系尔2号.维希尔抓臂2R", "ParentFullName": "业务逻辑.第三标段.维系尔2号", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.第三标段.维系尔2号", "ParentFullName": "业务逻辑.第三标段", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.第三标段", "ParentFullName": "业务逻辑", "Enabled": "Enabled" }, { "ID": "20250325085542733", "Name": "任务下发", "Desc": "", "Content": "\r\n Func myDelegate = (t) => RunTask(t);\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadTaskRun\", new object[] { tag, myDelegate });", "ContentCopy": "\r\n Func myDelegate = (t) => RunTask(t);\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadTaskRun\", new object[] { tag, myDelegate });", "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" }, { "ID": "20250531163653189", "Name": "处理MES任务线程", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250226153120175", "Children": [ { "ID": "20250531163716255", "Name": "ResolveMesTask", "Desc": "", "Content": "//mes 任务拆分。一段任务和 多段任务。\r\nToWMSMES.ResMesTask();", "ContentCopy": "//mes 任务拆分。一段任务和 多段任务。\r\nToWMSMES.ResMesTask();", "ParentID": "20250531163653189", "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": "业务逻辑.处理MES任务线程.ResolveMesTask", "ParentFullName": "业务逻辑.处理MES任务线程", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.处理MES任务线程", "ParentFullName": "业务逻辑", "Enabled": "Enabled" }, { "ID": "20250605212104026", "Name": "SocketServer", "Desc": "", "Content": "var host = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName());\r\nforeach (var ip in host.AddressList)\r\n{\r\n if (ip.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)\r\n {\r\n Console.WriteLine($\"ip= {ip.ToString()}\");\r\n new TcpServer(ip.ToString());\r\n }\r\n}", "ContentCopy": "var host = System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName());\r\nforeach (var ip in host.AddressList)\r\n{\r\n if (ip.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)\r\n {\r\n Console.WriteLine($\"ip= {ip.ToString()}\");\r\n new TcpServer(ip.ToString());\r\n }\r\n}", "ParentID": "20250226153120175", "Children": [], "Type": "Program", "Property": { "SyncExec": "True", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "View", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": { "20250306140515428": [ "Open" ] } }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.SocketServer", "ParentFullName": "业务逻辑", "Enabled": "Enabled" }, { "ID": "20250611223832523", "Name": "光栅处理", "Desc": "", "Content": "// - 光栅交互处理。。\r\n Action myDelegate = (t) => continueTask(t);\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadGrats\", new object[] { tag, myDelegate });\r\n \r\n // 发那科下料光栅。", "ContentCopy": "// - 光栅交互处理。。\r\n Action myDelegate = (t) => continueTask(t);\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadGrats\", new object[] { tag, myDelegate });\r\n \r\n // 发那科下料光栅。", "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" }, { "ID": "20250614173821058", "Name": "流程2热处理炉进出", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250226153120175", "Children": [ { "ID": "20250616094224396", "Name": "1020空框下线", "Desc": "", "Content": "\r\n //1020 1023 空框下线\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadEdown\", new object[] { tag });", "ContentCopy": "\r\n //1020 1023 空框下线\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadEdown\", new object[] { tag });", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.1020空框下线", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250616094226654", "Name": "1023空框下线", "Desc": "", "Content": "//1023 空框下线", "ContentCopy": "//1023 空框下线", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.1023空框下线", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250616094632985", "Name": "定子满下线", "Desc": "", "Content": "\r\n //定子满下线 1008 1016 -> 1026\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadDdown\", new object[] { tag });", "ContentCopy": "\r\n //定子满下线 1008 1016 -> 1026\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadDdown\", new object[] { tag });", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.定子满下线", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250616094511322", "Name": "转子满下线", "Desc": "", "Content": "\r\n //转子满下线 1002 1010 - RGV2工位不可到 1017 不可下发2工位任务。\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread0210Down\", new object[] { tag });", "ContentCopy": "\r\n //转子满下线 1002 1010 - RGV2工位不可到 1017 不可下发2工位任务。\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread0210Down\", new object[] { tag });", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.转子满下线", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250616095605911", "Name": "下料位检测", "Desc": "", "Content": "\r\n //下料位检测。 1003 到位时 写 标识信号 并 给机械手信号。 \r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread下料位检测\", new object[] { tag });", "ContentCopy": "\r\n //下料位检测。 1003 到位时 写 标识信号 并 给机械手信号。 \r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread下料位检测\", new object[] { tag });", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.下料位检测", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250616095709155", "Name": "1号FNK机械手完成", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadFNK1Over\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadFNK1Over\", new object[] { tag });", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.1号FNK机械手完成", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250616095733680", "Name": "2号FNK机械手完成", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadFNK2Over\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"ThreadFNK2Over\", new object[] { tag });", "ParentID": "20250614173821058", "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": "业务逻辑.流程2热处理炉进出.2号FNK机械手完成", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250617081923670", "Name": "1019转满出输送线", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250614173821058", "Children": [ { "ID": "20250617085708084", "Name": "Program1", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1019Down\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1019Down\", new object[] { tag });", "ParentID": "20250617081923670", "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": "业务逻辑.流程2热处理炉进出.1019转满出输送线.Program1", "ParentFullName": "业务逻辑.流程2热处理炉进出.1019转满出输送线", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.流程2热处理炉进出.1019转满出输送线", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250617081926036", "Name": "1025agv上空", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250614173821058", "Children": [ { "ID": "20250617085712101", "Name": "Program1", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1025Up\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1025Up\", new object[] { tag });", "ParentID": "20250617081926036", "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": "业务逻辑.流程2热处理炉进出.1025agv上空.Program1", "ParentFullName": "业务逻辑.流程2热处理炉进出.1025agv上空", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.流程2热处理炉进出.1025agv上空", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250617081930010", "Name": "1022agv上空", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250614173821058", "Children": [ { "ID": "20250617085750712", "Name": "Program1", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1022Up\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1022Up\", new object[] { tag });", "ParentID": "20250617081930010", "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": "业务逻辑.流程2热处理炉进出.1022agv上空.Program1", "ParentFullName": "业务逻辑.流程2热处理炉进出.1022agv上空", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.流程2热处理炉进出.1022agv上空", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250617081932131", "Name": "1030下母托", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250614173821058", "Children": [ { "ID": "20250617085800942", "Name": "Program1", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1030Down\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread1030Down\", new object[] { tag });", "ParentID": "20250617081932131", "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": "业务逻辑.流程2热处理炉进出.1030下母托.Program1", "ParentFullName": "业务逻辑.流程2热处理炉进出.1030下母托", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.流程2热处理炉进出.1030下母托", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" }, { "ID": "20250617081938161", "Name": "2030输送线下定子", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "20250614173821058", "Children": [ { "ID": "20250617085809982", "Name": "Program1", "Desc": "", "Content": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread2030Down\", new object[] { tag });", "ContentCopy": "\r\n AutoThread.InvokeMethod(AutoThread.Instance, \"Thread2030Down\", new object[] { tag });", "ParentID": "20250617081938161", "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": "业务逻辑.流程2热处理炉进出.2030输送线下定子.Program1", "ParentFullName": "业务逻辑.流程2热处理炉进出.2030输送线下定子", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.流程2热处理炉进出.2030输送线下定子", "ParentFullName": "业务逻辑.流程2热处理炉进出", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.流程2热处理炉进出", "ParentFullName": "业务逻辑", "Enabled": "Enabled" }, { "ID": "20250323151832119", "Name": "Program4", "Desc": "", "Content": "\r\n //LogHelper.Info($\"<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>\");\r\n //LogHelper.Info($\"<<<<<<<<<<<<<<<<<程序·启动>>>>>>>>>>>>>>\");\r\n\r\n //// 使用拦截器\r\n //var interceptor = new ConsoleInterceptor();\r\n //Console.SetOut(interceptor);\r\n\r\n //LogHelper.Info($\"<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>\");\r\n //AnsiConsole.Markup(\"[underline red]Hello[/] World!\");\r\n // AnsiConsole.Markup(\"[underline red]Hello[/] World!\");", "ContentCopy": "\r\n //LogHelper.Info($\"<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>\");\r\n //LogHelper.Info($\"<<<<<<<<<<<<<<<<<程序·启动>>>>>>>>>>>>>>\");\r\n\r\n //// 使用拦截器\r\n //var interceptor = new ConsoleInterceptor();\r\n //Console.SetOut(interceptor);\r\n\r\n //LogHelper.Info($\"<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>\");\r\n //AnsiConsole.Markup(\"[underline red]Hello[/] World!\");\r\n // AnsiConsole.Markup(\"[underline red]Hello[/] World!\");", "ParentID": "20250226153120175", "Children": [], "Type": "Program", "Property": { "SyncExec": "True", "RepeatExec": "Count", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "View", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": { "20250306140515428": [ "Open" ] } }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑.Program4", "ParentFullName": "业务逻辑", "Enabled": "Enabled" } ], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "业务逻辑", "ParentFullName": "", "Enabled": "Enabled" }, { "ID": "20250226153120181", "Name": "界面处理", "Desc": "", "Content": "", "ContentCopy": "", "ParentID": "", "Children": [], "Type": "Group", "Property": { "SyncExec": "False", "RepeatExec": "None", "ExceCount": 1, "ExceInternal": 3000, "StartCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} }, "EndCondition": { "Type": "None", "Event": "", "Expression": "", "Judge": "", "Command": {}, "HmiEvent": {} } }, "FullName": "界面处理", "ParentFullName": "", "Enabled": "Enabled" } ], "CreationTime": "2025-02-26 15:31:20", "LastWriteTime": "2025-07-02 13:19:34", "HasSaved": true }