You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
961 B
48 lines
961 B
1 year ago
|
namespace JiLinApp.Biz.TransmitAlarm;
|
||
|
|
||
|
public class AlarmPlatformConfig
|
||
|
{
|
||
|
public bool RealPlay { get; set; }
|
||
|
|
||
|
public string Type { get; set; }
|
||
|
|
||
|
public MqttConfig Mqtt { get; set; }
|
||
|
}
|
||
|
|
||
|
public class MqttConfig
|
||
|
{
|
||
|
//public bool Local { get; set; }
|
||
|
|
||
|
public string Ip { get; set; }
|
||
|
|
||
|
public int Port { get; set; }
|
||
|
|
||
|
public string UserName { get; set; }
|
||
|
|
||
|
public string Password { get; set; }
|
||
|
|
||
|
public string ClientId { get; set; }
|
||
|
|
||
|
public int RetryTime { get; set; }
|
||
|
|
||
|
public int RetryInterval { get; set; }
|
||
|
|
||
|
public string PubAlarmTopic { get; set; }
|
||
|
|
||
|
public string PubDevicesTopic { get; set; }
|
||
|
|
||
|
public string PubSensorsTopic { get; set; }
|
||
|
|
||
|
public string PubDeviceStateTopic { get; set; }
|
||
|
|
||
|
public string PubSensorStateTopic { get; set; }
|
||
|
|
||
|
public string SubCmdTopic { get; set; }
|
||
|
}
|
||
|
|
||
|
public class ZmqConfig
|
||
|
{
|
||
|
public string AlarmPubAddr { get; set; }
|
||
|
|
||
|
public string AlarmPubTopic { get; set; }
|
||
|
}
|