1
czw
2025-07-02 f156f02ad009105233eadfedb28938747c60cdc9
2025Äê6ÔÂ12ÈÕ/AuxAllWCS/Scripts/Script.json
@@ -53,8 +53,8 @@
          "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",
          "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",
@@ -1410,6 +1410,6 @@
    }
  ],
  "CreationTime": "2025-02-26 15:31:20",
  "LastWriteTime": "2025-06-25 10:42:44",
  "LastWriteTime": "2025-07-02 11:29:46",
  "HasSaved": true
}