From 6cf06cfb2d8de5cbf9d913ed009291da80aba4ec Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期五, 18 七月 2025 15:59:51 +0800 Subject: [PATCH] 1 --- 2025年6月12日/AuxAllWCS/Scripts/Script.json | 127 +++++++++++++++++++++++++++-------------- 1 files changed, 83 insertions(+), 44 deletions(-) diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Scripts/Script.json" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Scripts/Script.json" index 2f6e7f3..6a5aeb3 100644 --- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Scripts/Script.json" +++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Scripts/Script.json" @@ -50,45 +50,6 @@ "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($\"<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>\");", - "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($\"<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>\");", - "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" - }, - { "ID": "20250325083047245", "Name": "绗笁鏍囨", "Desc": "", @@ -520,8 +481,8 @@ "ID": "20250531163716255", "Name": "ResolveMesTask", "Desc": "", - "Content": "//mes 浠诲姟鎷嗗垎銆備竴娈典换鍔″拰 澶氭浠诲姟銆俓r\nToWMSMES.ResMesTask();", - "ContentCopy": "//mes 浠诲姟鎷嗗垎銆備竴娈典换鍔″拰 澶氭浠诲姟銆俓r\nToWMSMES.ResMesTask();", + "Content": "//mes 浠诲姟鎷嗗垎銆備竴娈典换鍔″拰 澶氭浠诲姟銆俓r\nToWMSMES.ResMesTask(tag);", + "ContentCopy": "//mes 浠诲姟鎷嗗垎銆備竴娈典换鍔″拰 澶氭浠诲姟銆俓r\nToWMSMES.ResMesTask(tag);", "ParentID": "20250531163653189", "Children": [], "Type": "Program", @@ -587,8 +548,8 @@ "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}", + "Content": "AutoThread.InvokeMethod(AutoThread.Instance, \"TaskEverythingRun\");", + "ContentCopy": "AutoThread.InvokeMethod(AutoThread.Instance, \"TaskEverythingRun\");", "ParentID": "20250226153120175", "Children": [], "Type": "Program", @@ -1344,6 +1305,84 @@ "FullName": "涓氬姟閫昏緫.娴佺▼2鐑鐞嗙倝杩涘嚭", "ParentFullName": "涓氬姟閫昏緫", "Enabled": "Enabled" + }, + { + "ID": "20250323151832119", + "Name": "Ipping", + "Desc": "妫�祴IP鍦板潃閫氭柇", + "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": "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": "涓氬姟閫昏緫.Ipping", + "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-02 11:29:46", + "LastWriteTime": "2025-07-09 11:37:29", "HasSaved": true } \ No newline at end of file -- Gitblit v1.9.1