appsettings.json 856 B

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "Ads": {
  9. "netID": "169.254.88.162.1.1",
  10. "port": "851"
  11. },
  12. "props": {
  13. "lineNo": "00200101",
  14. "serverAddr": "http://192.168.1.4:8888/wcs-server/"
  15. },
  16. "mq": {
  17. "host": "192.168.1.101",
  18. "port": "5672",
  19. "username": "admin",
  20. "password": "123456"
  21. },
  22. "ConnectionStrings": {
  23. "MySql": "server=localhost;user=mysqltest;database=ms_jgr;port=3306;password=test1234;Charset=utf8;Pooling=true",
  24. "Sqlite": "device.DB"
  25. },
  26. "Mqtt": {
  27. "url": "127.0.0.1",
  28. "port": "1883",
  29. "id": "ZP001", //当前工位ID
  30. "period": "1000", //当前工位ID
  31. "username": "",
  32. "password": "",
  33. "sub-topic": "/device/{0}/cmd", //订阅主题
  34. "send-topic": "/device/{0}/state" //发送主题
  35. }
  36. }