| | |
| | | "Enabled": "Enabled" |
| | | }, |
| | | { |
| | | "ID": "20250323151832119", |
| | | "Name": "Program4", |
| | | "Desc": "", |
| | | "Content": "////Conn.é»è®¤Redis.SetValue(\"西é¨å2.Param3\",\"300\",\"西é¨å2Queue\");\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(\"西é¨å2.Param3\",\"300\",\"西é¨å2Queue\");\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": "", |
| | |
| | | "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", |
| | |
| | | "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", |
| | |
| | | "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", |
| | |
| | | } |
| | | ], |
| | | "CreationTime": "2025-02-26 15:31:20", |
| | | "LastWriteTime": "2025-06-25 10:42:44", |
| | | "LastWriteTime": "2025-07-09 11:37:29", |
| | | "HasSaved": true |
| | | } |