From 8dfba1cab2ea59fca7b2c9cfad2da68e9f49b440 Mon Sep 17 00:00:00 2001 From: czw <selecti@yeah.net> Date: 星期三, 09 七月 2025 16:39:40 +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 5b99e32..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": "////Conn.榛樿Redis.SetValue(\"瑗块棬瀛�.Param3\",\"300\",\"瑗块棬瀛�Queue\");\r\n////return;\r\n//if(false){\r\n// List<string> locs = new List<string>() { \"vxr1l\", \"vx1r\", \"vxr1c1\", \"vxr1c2\", \"vxr2l\", \"vxr2r\", \"vxr2c1\", \"vxr2c2\" };\r\n// List<string> sites = new List<string>() { \"196365BB283162\", \"193841BB283149\", \"198756BB287300\", \"198767BB286133\", \"206987BB282931\", \"204460BB282975\", \"209405BB287057\", \"209377BB285899\" };\r\n\r\n// LocRepository locservice = new LocRepository();\r\n// for (int i = 0; i < locs.Count; i++)\r\n// {\r\n// string loccode = locs[i];\r\n// string sitesss = sites[i];\r\n// var loc = locservice.FindEntity(x => x.S_LOC_CODE == loccode);\r\n// if (loc == null)\r\n// {\r\n// locservice.Insert(new LocEntity\r\n// {\r\n// S_ID = Guid.NewGuid().ToString(),\r\n// S_STATE = \"缂栬緫\",\r\n// T_CREATE = DateTime.Now,\r\n// T_MODIFY = DateTime.Now,\r\n// S_DEEP = \"vxr\",\r\n\r\n// S_LOC_CODE = loccode,\r\n// S_AGV_SITE = sitesss,\r\n\r\n// S_LOCK_STATE = \"鏃燶",\r\n// N_ROW = 1,\r\n// N_COL = 1,\r\n// N_AGV_CODE = 0,\r\n// N_AGV_SITE_LAYER = 0,\r\n// N_CAPACITY = 1,\r\n// N_CURRENT_NUM = 0,\r\n// S_TYPE = \"\",\r\n\r\n// });\r\n// }\r\n// }\r\n// // TaskProcess.CreateTask(\"\", locs[6], locs[7], \"test\", 9, new List<string> { \"test\" }, 1, 1, 1);\r\n// }\r\n", - "ContentCopy": "////Conn.榛樿Redis.SetValue(\"瑗块棬瀛�.Param3\",\"300\",\"瑗块棬瀛�Queue\");\r\n////return;\r\n//if(false){\r\n// List<string> locs = new List<string>() { \"vxr1l\", \"vx1r\", \"vxr1c1\", \"vxr1c2\", \"vxr2l\", \"vxr2r\", \"vxr2c1\", \"vxr2c2\" };\r\n// List<string> sites = new List<string>() { \"196365BB283162\", \"193841BB283149\", \"198756BB287300\", \"198767BB286133\", \"206987BB282931\", \"204460BB282975\", \"209405BB287057\", \"209377BB285899\" };\r\n\r\n// LocRepository locservice = new LocRepository();\r\n// for (int i = 0; i < locs.Count; i++)\r\n// {\r\n// string loccode = locs[i];\r\n// string sitesss = sites[i];\r\n// var loc = locservice.FindEntity(x => x.S_LOC_CODE == loccode);\r\n// if (loc == null)\r\n// {\r\n// locservice.Insert(new LocEntity\r\n// {\r\n// S_ID = Guid.NewGuid().ToString(),\r\n// S_STATE = \"缂栬緫\",\r\n// T_CREATE = DateTime.Now,\r\n// T_MODIFY = DateTime.Now,\r\n// S_DEEP = \"vxr\",\r\n\r\n// S_LOC_CODE = loccode,\r\n// S_AGV_SITE = sitesss,\r\n\r\n// S_LOCK_STATE = \"鏃燶",\r\n// N_ROW = 1,\r\n// N_COL = 1,\r\n// N_AGV_CODE = 0,\r\n// N_AGV_SITE_LAYER = 0,\r\n// N_CAPACITY = 1,\r\n// N_CURRENT_NUM = 0,\r\n// S_TYPE = \"\",\r\n\r\n// });\r\n// }\r\n// }\r\n// // TaskProcess.CreateTask(\"\", locs[6], locs[7], \"test\", 9, new List<string> { \"test\" }, 1, 1, 1);\r\n// }\r\n", - "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-06-25 10:42:44", + "LastWriteTime": "2025-07-09 11:37:29", "HasSaved": true } \ No newline at end of file -- Gitblit v1.9.1