huang
2025-11-20 366ba040d2447bacd3455299425e3166f1f992bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
server:
  port: 10018
spring:
  profiles:
    active: dev
  application:
    name: plcSend
  liquibase:
    enabled: true
    change-log: classpath:changelog/changelogBase.xml
  main:
    allow-bean-definition-overriding: true
feign:
  client:
    config:
      default:
        connectTimeout: 5000
        readTimeout: 5000
mybatis-plus:
  mapper-locations: classpath*:mapper/**/*.xml
#  configuration:
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
erp:
  url: http://10.153.19.150:8086
 
# PLC配置
s7:
  load:
    dbArea: DB1
    beginIndex: 0
  raw:
    dbArea: DB2
    beginIndex: 0
 
# PLC模拟配置
plc:
  simulate:
    enabled: false  # 是否启用PLC模拟
    interval: 5000  # 模拟间隔时间(毫秒)
    failure-rate: 0  # 模拟故障概率(0-100)
    task-count: 10   # 模拟任务数量
    task-type: normal # 模拟任务类型
    data-range:
      min-start: 1
      max-start: 100
      min-target: 1
      max-target: 100
      min-glass-count: 1
      max-glass-count: 50
 
mes:
  width: 2800
  height: 5000