杨前锦
2025-05-15 a1c61b374f66bca12c27872685ff37a33366efb4
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
  "HostToAgvServerUrl": "http://192.168.1.146:9988/HostToAGV.cgi",
  "HASeverUrl": "http://172.16.10.41",
  "SqlServer": "Data Source=192.168.1.188;Initial Catalog=OIMobox;User ID=sa;Password=Am123123",
  "SqlServer1": "Data Source=192.168.1.198\\sql2008;Initial Catalog=OIMobox;User ID=sa;Password=sa@2015",
  "OracleServer": "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.144)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SID=Jtfujian)));User Id=system;Password=Hh123321;",
  "ApiPort": 8901,
  "FacCode": "0000",
  "WHCode": "W001",
 
  // cntrType 1.胎面;2.胎侧;3.内衬;4.帘布;5.环带;6.冠带;7.钢包
  // type 1.直连 2.非直连
  "AreaProperty": [
    {
      "areaCode": "TMLKQ",
      "areaName": "胎面库一(直连)",
      "cntrType": [ 1 ],
      "type": 1
    },
    {
      "areaCode": "TMLKQ2",
      "areaName": "胎面库二(非直连)",
      "cntrType": [ 1 ],
      "type": 2
    },
    {
      "areaCode": "TCLKQ",
      "areaName": "胎侧库一(直连)",
      "cntrType": [ 2 ],
      "type": 1
    },
    {
      "areaCode": "TCLKQ2",
      "areaName": "胎侧库二(非直连)",
      "cntrType": [ 2 ],
      "type": 2
    },
    {
      "areaCode": "NCLKQ",
      "areaName": "内衬库(非直连)",
      "cntrType": [ 3 ],
      "type": 2
    },
    {
      "areaCode": "LBLKQ",
      "areaName": "帘布库(直连)",
      "cntrType": [ 4 ],
      "type": 1
    },
    {
      "areaCode": "LBLKQ",
      "areaName": "环带库",
      "cntrType": [ 5,6 ],
      "type": 2
    },
    {
      "areaCode": "GBLKQ",
      "areaName": "钢包库(非直连)",
      "cntrType": [ 7 ],
      "type": 2
    },
    {
      "areaCode": "ZZKQ",
      "areaName": "中转库(非直连)",
      "cntrType": [ 7 ],
      "type": 2
    }
  ],
 
 
 
 
  "DeviceInfo": [
    {
      "address": "127.0.0.11",
      "deviceName": "产线1",
      "deviceNo": [],
      "downLoc": "满托下线点1",
      "upLoc": "满托下线点1",
      "location": [ "YLWJG1005", "YLWJG1006" ],
      "deviceType": 2,
      "enable": 0
 
    }
  ],
  "linePlcInfo": [
    {
      "deviceNo": "1",
      "address": "192.168.1.202",
      "code": "堆垛机1",
      "location": "",
      "writeAddr": 0,
      "readAddr": 0,
      "useAddrNo": [ "01" ],
      "inLoca": "DQCK-RK-1",
      "outLoca": "DQCK-CK-1",
      "enable": 1
    }
  ],
 
  "PlcValue": [
    {
      "address": "192.168.1.202",
      "read": [
        {
          "addr": 0,
          "type": "Bit",
          "length": 2,
          "value": ""
        },
        {
          "addr": 2,
          "type": "Int",
          "length": 2,
          "value": ""
        },
        {
          "addr": 4,
          "type": "Int",
          "length": 2,
          "value": ""
        },
        {
          "addr": 18,
          "type": "String",
          "length": 20,
          "value": ""
        }
      ],
      "write": [
        {
          "addr": 0,
          "type": "Bit",
          "length": 2,
          "value": ""
        },
        {
          "addr": 2,
          "type": "Int",
          "length": 2,
          "value": ""
        },
        {
          "addr": 4,
          "type": "Int",
          "length": 2,
          "value": ""
        },
        {
          "addr": 18,
          "type": "String",
          "length": 20,
          "value": ""
        }
      ]
    }
  ]
 
}