杨前锦
4 天以前 06a8b6963d6d4f229d4e196b4b09ce57e2cbf2dd
HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/config/config.json
New file
@@ -0,0 +1,214 @@
{
  "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": "FJJT",
  "WHCode": "W001",
  // 库区关联关系配置 areaCode立库库区编码 jbAreaCode接驳库区编码 hcAreaCode缓存库区编码 xxAreaCode下线库区编码
  // cntrType 1.胎面;2.胎侧;3.内衬;4.帘布;5.环带;6.冠带;7.钢包
  "AreaRelevance": [
    {
      "areaCode": "TC1FZLKQ",
      "jbAreaCode": "TC1FZLJBWKQ",
      "hcAreaCode": "TC1FZLKGZHCKQ",
      "xxAreaCode": "TC1FZLXXJTKQ",
      "cntrType": [ 2 ]
    },
    {
      "areaCode": "TC2FZLKQ",
      "jbAreaCode": "TC2FZLJBWKQ",
      "hcAreaCode": "TC2FZLKGZHCKQ",
      "xxAreaCode": "TC2FZLXXJTKQ",
      "cntrType": [ 2 ]
    },
    {
      "areaCode": "TM1FZLKQ",
      "jbAreaCode": "TM1FZLJBWKQ",
      "hcAreaCode": "TM1FZLKGZHCKQ",
      "xxAreaCode": "TM1FZLXXJTKQ",
      "cntrType": [ 1 ]
    },
    {
      "areaCode": "TM2FZLKQ",
      "jbAreaCode": "TM2FZLJBWKQ",
      "hcAreaCode": "TM2FZLKGZHCKQ",
      "xxAreaCode": "TM2FZLXXJTKQ",
      "cntrType": [ 1 ]
    },
    {
      "areaCode": "NCFZLKQ",
      "jbAreaCode": "NCFZLJBWKQ",
      "hcAreaCode": "NCFZLKGZHCKQ",
      "xxAreaCode": "NCFZLXXJTKQ",
      "cntrType": [ 3 ]
    },
    {
      "areaCode": "GBFZLKQ",
      "jbAreaCode": "GBFZLJBWKQ",
      "hcAreaCode": "GBFZLKGZHCKQ",
      "xxAreaCode": "GBFZLXXJTKQ",
      "cntrType": [ 7 ]
    },
    {
      "areaCode": "LBZLKQ",
      "jbAreaCode": "LBZLJBWKQ",
      "hcAreaCode": "LBZLKGZHCKQ",
      "xxAreaCode": "LBZLXXJTKQ",
      "cntrType": [ 4 ]
    },
    {
      "areaCode": "ZZFZLKQ",
      "jbAreaCode": "ZZFZLJBWKQ",
      "hcAreaCode": "",
      "xxAreaCode": "",
      "cntrType": [ 1 ,2, 3]
    }
  ],
  // type 1.直连 2.非直连
  "AreaProperty": [
    {
      "areaCode": "TMZLCK",
      "areaName": "胎面库(直连)",
      "cntrType": [ 1 ],
      "type": 1
    },
    {
      "areaCode": "TMFZLCK",
      "areaName": "胎面库(非直连)",
      "cntrType": [ 1 ],
      "type": 2
    },
    {
      "areaCode": "TCZLCK",
      "areaName": "胎侧库(直连)",
      "cntrType": [ 2 ],
      "type": 1
    },
    {
      "areaCode": "TCFZLCK",
      "areaName": "胎侧库(非直连)",
      "cntrType": [ 2 ],
      "type": 2
    },
    {
      "areaCode": "NCFZLCK",
      "areaName": "内衬库(非直连)",
      "cntrType": [ 3 ],
      "type": 2
    },
    {
      "areaCode": "LBFZLCK",
      "areaName": "帘布库(直连)",
      "cntrType": [ 4 ],
      "type": 1
    },
    {
      "areaCode": "LBFZLCK",
      "areaName": "环带库",
      "cntrType": [ 5, 6 ],
      "type": 2
    },
    {
      "areaCode": "GBFZLCK",
      "areaName": "钢包库(非直连)",
      "cntrType": [ 7 ],
      "type": 2
    },
    {
      "areaCode": "ZZFZLCK",
      "areaName": "中转库(非直连)",
      "cntrType": [ 0 ],
      "type": 2
    }
  ],
  "CarDeviceInfo": [
    {
      "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": ""
        }
      ]
    }
  ]
}