iotgateway/IoTGateway.Model/SystemConfig.cs

44 lines
1.4 KiB
C#
Raw 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; }
2022-08-10 08:55:44 +00:00
[Display(Name = "ClientId")]
public string ClientId { get; set; }
2021-12-12 06:55:48 +00:00
[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")]
2022-06-06 07:15:19 +00:00
ThingsCloud = 6,
2022-08-10 08:55:44 +00:00
[Display(Name = "华为云")]
HuaWei = 7,
[Display(Name = "IoTGateway")]
IoTGateway = 8
2021-12-12 06:55:48 +00:00
}
}