iotgateway/IoTGateway.Model/SystemConfig.cs

38 lines
1.2 KiB
C#
Raw Permalink Normal View History

2021-12-12 06:55:48 +00:00
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
namespace IoTGateway.Model
{
public class SystemConfig : BasePoco
{
[Display(Name = "网关名称")]
public string GatewayName { get; set; }
[Display(Name = "Mqtt服务器")]
public string MqttIp { get; set; }
[Display(Name = "Mqtt端口")]
public int MqttPort { get; set; }
[Display(Name = "Mqtt用户名")]
public string MqttUName { get; set; }
[Display(Name = "Mqtt密码")]
public string MqttUPwd { get; set; }
2022-01-24 15:10:56 +00:00
[Display(Name = "输出平台")]
public IoTPlatformType IoTPlatformType { get; set; }
}
public enum IoTPlatformType
{
[Display(Name = "ThingsBoard")]
ThingsBoard =0,
[Display(Name = "IoTSharp")]
IoTSharp =1,
[Display(Name = "阿里物联网平台")]
AliCloudIoT=2,
[Display(Name = "腾讯智能云")]
TencentIoTHub =3,
[Display(Name = "百度物联网通信")]
BaiduIoTCore =4,
[Display(Name = "中移OneNet")]
2022-04-20 06:05:44 +00:00
OneNET = 5,
[Display(Name = "ThingsCloud")]
ThingsCloud = 6
2021-12-12 06:55:48 +00:00
}
}