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.
|
|
|
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 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 string PubAlarmTopic { get; set; }
|
|
|
|
|
|
|
|
public string SubTopic { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public class ZmqConfig
|
|
|
|
{
|
|
|
|
public string AlarmPubAddr { get; set; }
|
|
|
|
|
|
|
|
public string AlarmPubTopic { get; set; }
|
|
|
|
}
|