recv添加network

master
Tay 2 months ago
commit 1f6a32e1e0

@ -114,7 +114,8 @@ namespace Txgy.RBS.DTO
/// Nullable:False /// Nullable:False
/// </summary> /// </summary>
public double zmax { get; set; } public double zmax { get; set; }
public double zref { get; set; }
/// <summary> /// <summary>
/// Desc: /// Desc:
/// Default:0 /// Default:0

@ -113,6 +113,7 @@ namespace Txgy.RBS.DbModel.Models
/// </summary> /// </summary>
public double zmax { get; set; } public double zmax { get; set; }
public double zref { get; set; }
/// <summary> /// <summary>
/// Desc: /// Desc:
/// Default:0 /// Default:0

@ -15,6 +15,7 @@ namespace Txgy.RBS.Framework.Models
public string log_level { get; set; } public string log_level { get; set; }
[JsonProperty("send2server")] //recv配置Send2Redis [JsonProperty("send2server")] //recv配置Send2Redis
public string send2server { get; set; } public string send2server { get; set; }
[JsonProperty("MQTT.Server")] //recv配置MqttServer [JsonProperty("MQTT.Server")] //recv配置MqttServer
public string Server { get; set; } public string Server { get; set; }
[JsonProperty("MQTT.Stations")] [JsonProperty("MQTT.Stations")]

@ -139,6 +139,7 @@ namespace Txgy.RBS.Server.WebApi.Controllers
apm.ymax = (float)curProject.ymax; apm.ymax = (float)curProject.ymax;
apm.zmin = (float)curProject.zmin; apm.zmin = (float)curProject.zmin;
apm.zmax = (float)curProject.zmax; apm.zmax = (float)curProject.zmax;
apm.zref = (float)curProject.zref;
string apmJson = JsonConvert.SerializeObject(apm, Formatting.Indented); string apmJson = JsonConvert.SerializeObject(apm, Formatting.Indented);
System.IO.File.WriteAllText(Path.Combine(path, CommonData.ApmsDefaultPath), apmJson); System.IO.File.WriteAllText(Path.Combine(path, CommonData.ApmsDefaultPath), apmJson);
_processConfig.Apms.ProPath = Path.Combine(path, _processConfig.Apms.ProPath); _processConfig.Apms.ProPath = Path.Combine(path, _processConfig.Apms.ProPath);

@ -2,6 +2,7 @@
"savepath" : "c:\\mqttdata\\", "savepath" : "c:\\mqttdata\\",
"log_level":"DEBUG", "log_level":"DEBUG",
"send2server":"YES", "send2server":"YES",
"network":"YA",
"MQTT.Server":"127.0.0.1:1883", "MQTT.Server":"127.0.0.1:1883",
"MQTT.Stations":"vpn30,vpn31,vpn32,vpn33,vpn34,vpn35,vpn36,vpn37,vpn38,vpn39,vpn40,vpn41,vpn42,vpn43,vpn44,vpn45,vpn46,vpn47,vpn48,vpn49,vpn50,vpn51,vpn52,vpn53,vpn54,vpn55,vpn56,vpn57,vpn58,vpn59,vpn60,vpn61,vpn62,vpn63,vpn65,vpn66,vpn67,vpn68,vpn69,vpn70,vpn71,vpn72,vpn73,vpn74,vpn75", "MQTT.Stations":"vpn30,vpn31,vpn32,vpn33,vpn34,vpn35,vpn36,vpn37,vpn38,vpn39,vpn40,vpn41,vpn42,vpn43,vpn44,vpn45,vpn46,vpn47,vpn48,vpn49,vpn50,vpn51,vpn52,vpn53,vpn54,vpn55,vpn56,vpn57,vpn58,vpn59,vpn60,vpn61,vpn62,vpn63,vpn65,vpn66,vpn67,vpn68,vpn69,vpn70,vpn71,vpn72,vpn73,vpn74,vpn75",
"MQTT.Send81":"NO", "MQTT.Send81":"NO",

Loading…
Cancel
Save