杨前锦
2025-06-06 16d2162a833cebeae72c363962917bb9da8145ef
HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json
New file
@@ -0,0 +1,166 @@
{
  "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=jiatong)));User Id=system;Password=Hh123321;",
  "ApiPort": 8901,
  "FacCode": "0000",
  "WHCode": "W001",
  // 接驳区、缓存区、机台下线区、成型机叫料区 对应的立库库区
  "AreaRelevance": [
    {
      "areaCode": "",
      "relAreaCode": [ "" ]
    },
    {
      "areaCode": "",
      "relAreaCode": [ "" ]
    }
  ],
  // 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": 1,
      "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": ""
        }
      ]
    }
  ]
}