From 9ae0e3d68b255dd6df31ea55d9b6eda1a61708dd Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 15 一月 2025 10:13:17 +0800
Subject: [PATCH] 1、测试类报错删除 2、修改opc配置

---
 hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-prod.yml                |   12 +
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-yw.yml              |   22 ++-
 hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application.yml                     |   14 --
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application.yml                 |   18 --
 hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-prod.yml                    |   12 +
 hangzhoumesParent/moduleService/GlassStorageModule/src/test/java/mes/GlassStorageModuleApplicationTest.java |   80 -------------
 hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application.yml                          |    7 
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application.yml                       |   12 -
 hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application.yml                       |   15 --
 hangzhoumesParent/moduleService/CacheGlassModule/src/test/java/com/mes/CacheGlassModuleApplicationTest.java |   32 -----
 hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-prod.yml                     |   12 +
 hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-yw.yml                    |   15 +
 hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-yw.yml                       |   12 +
 hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-prod.yml                  |   10 +
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-prod.yml                  |   12 +
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-yw.yml                    |   12 +
 hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml                         |   16 --
 hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-yw.yml                  |   12 +
 hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-prod.yml            |   12 +
 hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-yw.yml                      |   12 +
 20 files changed, 146 insertions(+), 203 deletions(-)

diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-prod.yml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-prod.yml
index fe37e51..7c012c1 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-prod.yml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-prod.yml
@@ -29,4 +29,14 @@
     database: 0
     host: 10.153.19.150
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://10.153.19.150:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-yw.yml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-yw.yml
index 6f455aa..76c3372 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-yw.yml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application-yw.yml
@@ -29,4 +29,14 @@
     database: 0
     host: 192.168.2.100
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://192.168.2.100:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
index 8861765..c5fda3f 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
@@ -3,7 +3,7 @@
 
 spring:
   profiles:
-    active: dev
+    active: prod
   application:
     name: cacheGlass
   liquibase:
@@ -15,8 +15,8 @@
       thread-name-prefix: task-cache
 mybatis-plus:
   mapper-locations: classpath*:mapper/*.xml
-#  configuration:
-#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 mes:
   threshold: 3
   ratio: 10
@@ -37,14 +37,4 @@
   cellLength: 2500
   sequence:
     order: false
-kangaroohy:
-  milo:
-    enabled: false
-    primary: default
-    config:
-      default:
-        endpoint: opc.tcp://192.168.2.100:49320
-        security-policy: basic256sha256
-        username: admin
-        password: 1qaz2wsx3edc4rfv
 
diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/test/java/com/mes/CacheGlassModuleApplicationTest.java b/hangzhoumesParent/moduleService/CacheGlassModule/src/test/java/com/mes/CacheGlassModuleApplicationTest.java
index 69ea8ba..4578a6f 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/test/java/com/mes/CacheGlassModuleApplicationTest.java
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/test/java/com/mes/CacheGlassModuleApplicationTest.java
@@ -3,11 +3,9 @@
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.github.yulichang.toolkit.JoinWrappers;
 import com.mes.common.config.Const;
-import com.mes.edgstoragecage.entity.EdgStorageCage;
 import com.mes.edgstoragecage.entity.EdgStorageCageDetails;
 import com.mes.edgstoragecage.service.EdgStorageCageDetailsService;
 import com.mes.edgstoragecage.service.EdgStorageCageService;
-import com.mes.glassinfo.entity.GlassInfo;
 import com.mes.glassinfo.service.GlassInfoService;
 import com.mes.job.CacheGlassTask;
 import com.mes.pp.entity.OptimizeDetail;
@@ -72,35 +70,22 @@
 
     @Test
     public void testChangeCellSize() {
-//        String url=getClass().getResource("").getPath();
-//        log.info("瀹屾暣璺緞锛歿}", Arrays.asList(url));
         cacheGlassTask.queryChangeGlassInfo(Const.A09_OUT_TARGET_POSITION, "");
     }
 
     @Test
     public void testCellSize() {
-//        String url=getClass().getResource("").getPath();
-//        log.info("瀹屾暣璺緞锛歿}", Arrays.asList(url));
         cacheGlassTask.outTo(0, 0, "", "NG24051802A001|1|1|1|1", 0);
     }
 
     @Test
     public void testinTo() {
-//        String url=getClass().getResource("").getPath();
-//        log.info("瀹屾暣璺緞锛歿}", Arrays.asList(url));
-//        NG24051802A001|1|4|1|4
-//        cacheGlassTask.inTo("NG24051802A001|1|1|1|1", "1", "1");
-//        cacheGlassTask.inTo("NG24051802A001|1|4|1|4", "1", "1");
         cacheGlassTask.inTo("NG24051802A001|1|1|2|1", "1", "1");
     }
 
     @Test
     public void testChangeGlassInfo() {
-//        String url=getClass().getResource("").getPath();
-//        log.info("瀹屾暣璺緞锛歿}", Arrays.asList(url));
-//        NG24051802A001|1|4|1|4
         cacheGlassTask.queryAndChangeGlass("NG24051802A001|1|1|1|1");
-//        cacheGlassTask.queryAndChangeGlass("NG24051802A001|1|4|1|4");
     }
 
     @Test
@@ -118,23 +103,6 @@
     }
 
 
-    @Test
-    public void testSelectCacheEmpty() {
-//        List<EdgStorageCage> map = edgStorageCageService.selectCacheEmpty();
-//        log.info("绗煎唴绌烘牸锛歿}", Arrays.asList(map));
-    }
-
-    @Test
-    public void testScan() {
-        List<Map<String, Object>> map = edgStorageCageDetailsService.selectCutTerritory();
-        log.info("鍒囧壊褰撳墠鐗堝浘淇℃伅锛歿}", Arrays.asList(map));
-    }
-
-    @Test
-    public void testEngineerCutTerritory() {
-        List<List<Map<String, Object>>> map = edgStorageCageDetailsService.selectCurrentCutTerritory("P24051806");
-        log.info("鍒囧壊宸ョ▼鐗堝浘淇℃伅锛歿}", Arrays.asList(map));
-    }
 
     @Test
     public void testEngineerTerritory() {
diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-prod.yml b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-prod.yml
index 95262e6..614ced4 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-prod.yml
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-prod.yml
@@ -27,4 +27,14 @@
     database: 0
     host: 10.153.19.150
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://10.153.19.150:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-yw.yml b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-yw.yml
index 5b3cf4d..85a7b84 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-yw.yml
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application-yw.yml
@@ -5,26 +5,36 @@
       strict: false #璁剧疆涓ユ牸妯″紡,榛樿false涓嶅惎鍔�. 鍚姩鍚庡湪鏈尮閰嶅埌鎸囧畾鏁版嵁婧愭椂鍊欏洖鎶涘嚭寮傚父,涓嶅惎鍔ㄤ細浣跨敤榛樿鏁版嵁婧�.
       datasource:
         hangzhoumes:
-          url: jdbc:mysql://127.0.0.1:3306/hangzhoumes?serverTimezone=GMT%2b8
+          url: jdbc:mysql://192.168.2.100:3306/hangzhoumes?serverTimezone=GMT%2b8
           username: root
           password: beibo.123/
           driver-class-name: com.mysql.cj.jdbc.Driver
         pp:
-          url: jdbc:mysql://127.0.0.1:3306/pp?serverTimezone=GMT%2b8
+          url: jdbc:mysql://192.168.2.100:3306/pp?serverTimezone=GMT%2b8
           username: root
           password: beibo.123/
           driver-class-name: com.mysql.cj.jdbc.Driver
         salve_hangzhoumes:
-          url: jdbc:sqlserver://127.0.0.1:1433;databasename=mes
+          url: jdbc:sqlserver://192.168.2.100:1433;databasename=mes
           username: sa
           password: beibo.123/
           driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
   cloud:
     nacos:
       discovery:
-        server-addr: 127.0.0.1:8848
+        server-addr: 192.168.2.100:8848
   redis:
     database: 0
-    host: 127.0.0.1
+    host: 192.168.2.100
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://192.168.2.100:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application.yml
index c60e249..e5dacb9 100644
--- a/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/resources/application.yml
@@ -3,7 +3,7 @@
 
 spring:
   profiles:
-    active: yw
+    active: prod
   application:
     name: cacheVerticalGlass
   liquibase:
@@ -30,18 +30,4 @@
   slotMaxHeight: 2500
   slotMaxthickness: 12
   temperingOutTargetPosition: 930
-  artificialOutTargetPosition: 931
-
-  scan:
-    ip: 192.168.30.199
-    port: 5000
-kangaroohy:
-  milo:
-    enabled: false
-    primary: default
-    config:
-      default:
-        endpoint: opc.tcp://192.168.2.100:49320
-        security-policy: basic256sha256
-        username: admin
-        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
+  artificialOutTargetPosition: 931
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-prod.yml b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-prod.yml
index ed9d83e..14200fc 100644
--- a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-prod.yml
+++ b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-prod.yml
@@ -28,3 +28,13 @@
     host: 10.153.19.150
     port: 6379
     password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://10.153.19.150:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
diff --git a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-yw.yml b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-yw.yml
index 28ab7a4..3fee519 100644
--- a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-yw.yml
+++ b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application-yw.yml
@@ -9,11 +9,6 @@
           username: root
           password: beibo.123/
           driver-class-name: com.mysql.cj.jdbc.Driver
-        salve_hangzhoumes:
-          url: jdbc:sqlserver://192.168.2.100:1433;databasename=hangzhoumes
-          username: sa
-          password: beibo.123/
-          driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
       druid:
         wall:
           multi-statement-allow: true
@@ -26,3 +21,13 @@
     host: 192.168.2.100
     port: 6379
     password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://192.168.2.100:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
diff --git a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application.yml
index 47384ed..19dedb8 100644
--- a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/resources/application.yml
@@ -3,25 +3,12 @@
 
 spring:
   profiles:
-    active: dev
+    active: prod
   application:
     name: glassStorage
   liquibase:
     enabled: false
 
-
 mybatis-plus:
   mapper-locations: classpath*:mapper/*.xml
-  configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-kangaroohy:
-  milo:
-    enabled: false
-    primary: default
-    config:
-      default:
-        endpoint: opc.tcp://192.168.10.241:49320
-        security-policy: basic256sha256
-        username: liu
-        password: 1qaz2wsx3edc4rfv
 
diff --git a/hangzhoumesParent/moduleService/GlassStorageModule/src/test/java/mes/GlassStorageModuleApplicationTest.java b/hangzhoumesParent/moduleService/GlassStorageModule/src/test/java/mes/GlassStorageModuleApplicationTest.java
index 5905cdc..9e5db51 100644
--- a/hangzhoumesParent/moduleService/GlassStorageModule/src/test/java/mes/GlassStorageModuleApplicationTest.java
+++ b/hangzhoumesParent/moduleService/GlassStorageModule/src/test/java/mes/GlassStorageModuleApplicationTest.java
@@ -3,13 +3,7 @@
 import com.mes.GlassStorageApplication;
 import com.mes.rawglassdetails.entity.RawGlassStorageDetails;
 import com.mes.rawglassdetails.service.RawGlassStorageDetailsService;
-import com.mes.rawglasstask.entity.RawGlassStorageTask;
-import com.mes.rawglasstask.entity.request.RawGlassTaskRequest;
 import com.mes.rawglasstask.service.RawGlassStorageTaskService;
-import com.mes.rawusage.entity.RawUsage;
-import com.mes.rawusage.service.RawUsageService;
-import com.mes.shelfrack.service.ShelfRackService;
-import com.mes.storagetask.service.StorageTaskService;
 import lombok.extern.slf4j.Slf4j;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -17,12 +11,7 @@
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.test.context.junit4.SpringRunner;
 
-import java.text.DateFormat;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.Date;
 import java.util.List;
 
 /**
@@ -33,17 +22,9 @@
 @Slf4j
 @RunWith(SpringRunner.class)
 @SpringBootTest(classes = GlassStorageApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
-
 public class GlassStorageModuleApplicationTest {
 
 
-
-    @Autowired
-    private StorageTaskService storageTaskService;
-    @Autowired
-    private ShelfRackService shelfRackService;
-    @Autowired
-    private RawUsageService rawUsageService;
     @Autowired
     private RawGlassStorageDetailsService rawGlassStorageDetailsService;
     @Autowired
@@ -54,67 +35,6 @@
         log.info("瀹屾暣璺緞锛歿}", Arrays.asList("123"));
     }
 
-    @Test
-    public void testCacheGlass() {
-     // storageTaskService.getBaseMapper().selectById(1);
-        //StorageTask storageTask=new StorageTask();
-//        storageTask.setId(Long.valueOf("1"));
-//        storageTask.setTaskState("1");
-//      storageTaskService.updateById(storageTask);
-//        storageTaskService.getBaseMapper().deleteById(1);
-       // storageTaskService.findList(storageTask);
-        ///storageTaskService.findLatestTasks();
-        storageTaskService.Tasks();
-    }
-    @Test
-    public void selectshelf_rack() {
-
-        shelfRackService.selectshelf_rack();
-    }
-
-    /**
-     * 娴嬭瘯
-     */
-//    @Test
-//    public void testWebSocket() {
-//        List<RawGlassStorageTask> list=rawGlassStorageTaskService.findAll();
-//        log.info("杩斿洖鍐呭锛歿}",list);
-//    }
-
-    /**
-     * 娴嬭瘯淇敼WebSocket  鍙傛暟
-     */
-//    @Test
-//    public void testWebSocketArgument() {
-//        RawGlassTaskRequest request=new RawGlassTaskRequest();
-//        //璁剧疆鍙傛暟锛�
-//        DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
-//        Date startDate=null;
-//        Date endDate=null;
-//        try {
-//            startDate= df.parse("2022-01-01");
-//            endDate= df.parse("2025-01-01");
-//        }catch (ParseException e){
-//            e.printStackTrace();
-//
-//        request.setCreateTime(startDate);//
-//        request.setPatternQuantity(endDate);
-//        request.setEnableState(new ArrayList<Integer>());
-//        request.setEnableType(new ArrayList<Integer>());
-//        String list=rawGlassStorageTaskService.setRawGlassTaskRequest(request);
-//        log.info("杩斿洖鍐呭锛歿}",list);
-//    }
-//    }
-
-
-
-    @Test
-    public void updateRawPackageAndStorageRack() {
-        RawUsage raw=new RawUsage();
-
-        raw.setId(null);
-        rawUsageService.updateRawPackageAndStorageRack(raw);
-    }
     @Test
     public void txt() {
         RawGlassStorageDetails rs=new RawGlassStorageDetails();
diff --git a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-prod.yml b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-prod.yml
index c5a981e..39ebdfa 100644
--- a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-prod.yml
+++ b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-prod.yml
@@ -27,4 +27,14 @@
     database: 0
     host: 10.153.19.150
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://10.153.19.150:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-yw.yml b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-yw.yml
index 0a24d82..bfb9745 100644
--- a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-yw.yml
+++ b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application-yw.yml
@@ -30,4 +30,14 @@
     database: 0
     host: 192.168.2.100
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://192.168.2.100:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application.yml
index abbddf5..861c786 100644
--- a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/resources/application.yml
@@ -2,7 +2,7 @@
   port: 8083
 spring:
   profiles:
-    active: dev
+    active: prod
   application:
     name: loadGlass
   liquibase:
@@ -10,7 +10,4 @@
 mybatis-plus:
   mapper-locations: classpath*:mapper/*.xml
   configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
-kangaroohy:
-  milo:
-    enabled: false
\ No newline at end of file
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-prod.yml b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-prod.yml
index d8e9b31..d5d4272 100644
--- a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-prod.yml
+++ b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-prod.yml
@@ -36,4 +36,14 @@
     port: 6379
     password: 123456
   liquibase:
-    change-log: classpath:changelog/changelogBase.xml
\ No newline at end of file
+    change-log: classpath:changelog/changelogBase.xml
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://10.153.19.150:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-yw.yml b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-yw.yml
index 205b9bf..e489aa6 100644
--- a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-yw.yml
+++ b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application-yw.yml
@@ -34,4 +34,14 @@
     database: 0
     host: 192.168.2.100
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://192.168.2.100:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application.yml
index 99134e3..c593002 100644
--- a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/application.yml
@@ -2,7 +2,7 @@
   port: 8084
 spring:
   profiles:
-    active: yw
+    active: prod
   application:
     name: temperingGlass
   liquibase:
@@ -13,14 +13,4 @@
     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 mes:
   width: 2800
-  height: 5000
-kangaroohy:
-  milo:
-    enabled: true
-    primary: default
-    config:
-      default:
-        endpoint: opc.tcp://192.168.2.100:49320
-        security-policy: basic256sha256
-        username: admin
-        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
+  height: 5000
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-prod.yml b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-prod.yml
index 95262e6..614ced4 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-prod.yml
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-prod.yml
@@ -27,4 +27,14 @@
     database: 0
     host: 10.153.19.150
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://10.153.19.150:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-yw.yml b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-yw.yml
index 4ac536a..85a7b84 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-yw.yml
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application-yw.yml
@@ -27,4 +27,14 @@
     database: 0
     host: 192.168.2.100
     port: 6379
-    password: 123456
\ No newline at end of file
+    password: 123456
+kangaroohy:
+  milo:
+    enabled: true
+    primary: default
+    config:
+      default:
+        endpoint: opc.tcp://192.168.2.100:49320
+        security-policy: basic256sha256
+        username: admin
+        password: 1qaz2wsx3edc4rfv
\ No newline at end of file
diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application.yml
index 71d5812..f9c22aa 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/resources/application.yml
@@ -3,7 +3,7 @@
 
 spring:
   profiles:
-    active: yw
+    active: prod
   application:
     name: hollowGlass
   liquibase:
@@ -31,13 +31,3 @@
   artificialOutTargetPosition: 931
   slotMaxHeight: 2500
   slotMaxthickness: 12
-kangaroohy:
-  milo:
-    enabled: true
-    primary: default
-    config:
-      default:
-        endpoint: opc.tcp://192.168.2.100:49320
-        security-policy: basic256sha256
-        username: admin
-        password: 1qaz2wsx3edc4rfv
\ No newline at end of file

--
Gitblit v1.8.0