{
  "main": {
    "sys":"linux",// 操作系统 windows ;linux
    "watchdog": false, //看门狗子进程异常自动恢复
    "auto": true, // 自动运行
    "save": 0, //存储周期分钟 0:不存储 其他*分钟(1:表示每分钟存一次)
    "clearCache": true, // 设备离线时清除Redis缓存
    "savelog": false // 存储日志
  },
  "Mqtt": {
    "ip": "", //为空则为默认
    "port": 1883, 
    "user": "xujun",
    "password": "xujun",
    "heart": 300,
    "collectguid": "775c1383-13c7-404b-9422-600c61d5c196"
  },
  "Redis": {
    "ip": "127.0.0.1",
    "port": 6379,
    "password": "" 
  },
  "MongoDB": {
    "ip": "127.0.0.1",
    "port": 27017,
    "user": "",
    "password": "",
    "database": "datacollect" //数据库
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

  

posted on 2022-04-25 16:59  金科许俊  阅读(56)  评论(0)    收藏  举报