[app] LogSavePath = logs/ LogSaveName = log LogFileExt = log TimeFormat = 20060102 [server] #debug or release #RunMode = debug RunMode = release HttpPort = 8081 ReadTimeout = 60 WriteTimeout = 60 NoAuth = 1 #Mdns_servicename 为空是禁用 Mdns_servicename = TMRWATCH Mdns_serviceport = 5354 #Netcard 为空为随机 Netcard = WLAN #broadcast 为0不广播 Broadcast = 8800 BroadcastAddr = 0 #SendRoute 为0不广播 SendRoute = 0 UseAPI = 0 #ControlComm 为0 没有安装控制继电器 ControlComm = 0 RelayDev = 20 [database] Type = mysql User = root Password = root Host = localhost:3326 Name = tmrwatch TablePrefix = ShowXormlog = false ShowGetSqllog = false CacheApiSql = false Showlog = true Showline = true [comm] PortName = com13 BaudRate = 9600 DataBits = 8 StopBits = 1 ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2 InterCharacterTimeout = 100 MinimumReadSize = 0 [Controlcomm] PortName = com2 BaudRate = 9600 DataBits = 8 StopBits = 1 ParityMode = 0 #PARITY_NONE 0 PARITY_ODD 1 PARITY_EVEN 2 InterCharacterTimeout = 100 MinimumReadSize = 0 [mqtt] Enable = false Host = 218.241.17.66 Port = 1984 Nodevalue = kh_bh Path = Topic_Up = test1 Topic_Down = test2 Qos = 1 CleanSession = true SaslEnable = true Username = kptmqtt Saslpassword = kepaiteng TlsEnable = false Clientcert = pem/bbbc7ee0f6-certificate.pem.crt Clientkey = pem/bbbc7ee0f6-private.pem.key Cacert =