app.ini 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. [app]
  2. LogSavePath = logs/
  3. LogSaveName = log
  4. LogFileExt = log
  5. TimeFormat = 20060102
  6. [server]
  7. #debug or release
  8. #RunMode = debug
  9. RunMode = release
  10. HttpPort = 8081
  11. ReadTimeout = 60
  12. WriteTimeout = 60
  13. NoAuth = 1
  14. #Mdns_servicename 为空是禁用
  15. Mdns_servicename = TMRWATCH
  16. Mdns_serviceport = 5354
  17. #Netcard 为空为随机
  18. Netcard = WLAN
  19. #broadcast 为0不广播
  20. Broadcast = 8800
  21. BroadcastAddr = 0
  22. #SendRoute 为0不广播
  23. SendRoute = 0
  24. UseAPI = 0
  25. #ControlComm 为0 没有安装控制继电器
  26. ControlComm = 0
  27. RelayDev = 20
  28. [database]
  29. Type = mysql
  30. User = root
  31. Password = root
  32. Host = localhost:3326
  33. Name = tmrwatch
  34. TablePrefix =
  35. ShowXormlog = false
  36. ShowGetSqllog = false
  37. CacheApiSql = false
  38. Showlog = true
  39. Showline = true
  40. [comm]
  41. PortName = com13
  42. BaudRate = 9600
  43. DataBits = 8
  44. StopBits = 1
  45. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  46. InterCharacterTimeout = 100
  47. MinimumReadSize = 0
  48. [Controlcomm]
  49. PortName = com2
  50. BaudRate = 9600
  51. DataBits = 8
  52. StopBits = 1
  53. ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2
  54. InterCharacterTimeout = 100
  55. MinimumReadSize = 0
  56. [mqtt]
  57. Enable = false
  58. Host = 218.241.17.66
  59. Port = 1984
  60. Nodevalue = kh_bh
  61. Path =
  62. Topic_Up = test1
  63. Topic_Down = test2
  64. Qos = 1
  65. CleanSession = true
  66. SaslEnable = true
  67. Username = kptmqtt
  68. Saslpassword = kepaiteng
  69. TlsEnable = false
  70. Clientcert = pem/bbbc7ee0f6-certificate.pem.crt
  71. Clientkey = pem/bbbc7ee0f6-private.pem.key
  72. Cacert =