ZengTao
2024-02-23 d1b1260f2c9f4ed66f8dc4072a032e56280633e5
代码更新
4个文件已修改
26 ■■■■ 已修改文件
.vscode/launch.json 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springboot-vue3/src/main/java/com/example/springboot/component/ModuleA.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springboot-vue3/src/main/resources/application.properties 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.vscode/launch.json
@@ -6,6 +6,20 @@
    "configurations": [
      {
        "type": "java",
        "name": "ModuleA",
        "request": "launch",
        "mainClass": "com.example.springboot.component.ModuleA",
        "projectName": "springboot-vue3"
      },
      {
        "type": "java",
        "name": "ModuleB",
        "request": "launch",
        "mainClass": "com.example.springboot.component.ModuleB",
        "projectName": "springboot-vue3"
      },
      {
        "type": "java",
        "name": "MyGenerator",
        "request": "launch",
        "mainClass": "MyGenerator",
springboot-vue3/src/main/java/com/example/springboot/component/ModuleA.java
@@ -8,7 +8,7 @@
   public static void main(String[] argv) throws Exception {
        // 创建连接工厂
        ConnectionFactory factory = new ConnectionFactory();
        factory.setHost("localhost");
        factory.setHost("10.153.19.150");
        try (Connection connection = factory.newConnection();
             //channel 是通过 connection 创建的一个 AMQP 信道对象
springboot-vue3/src/main/java/com/example/springboot/service/SpianServiceNew.java
@@ -20,12 +20,14 @@
public class SpianServiceNew {
    @Autowired
    private SpianMapper spianMapper;
          //读取DB105区文件
    // @GetMapping("/all")
    public Short selectAll(String glassid) {
            //读取DB105区文件
      PlcParameterObject plcmes=PLCAutoMes.PlcMesObject;
      //读106
      PlcParameterObject plcread=PLCAutoMes.PlcReadObject;
    // @GetMapping("/all")
    public Short selectAll(String glassid) {
        int cage1 = 0;
        int cells;
springboot-vue3/src/main/resources/application.properties
@@ -23,7 +23,7 @@
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone=GMT+8
spring.rabbitmq.host=localhost
spring.rabbitmq.host=10.153.19.150
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest