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.
31 lines
2.2 KiB
31 lines
2.2 KiB
using System.Collections.Generic;
|
|
|
|
namespace IoTNode.DeviceServices.FBee
|
|
{
|
|
public class DeviceId
|
|
{
|
|
public static List<DeviceId> List { get; set; } = new List<DeviceId>();
|
|
|
|
static DeviceId()
|
|
{
|
|
List.Add(new DeviceId { RawDeviceId = 0x0002, Name = "开关", CategoryName = "照明", CategoryNumber = "30", Icon = "switch" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0009, Name = "插座", CategoryName = "电器", CategoryNumber = "20", Icon = "socket" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x000a, Name = "门锁", CategoryName = "安防", CategoryNumber = "10", Icon = "lock" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0051, Name = "智能插座", CategoryName = "电器", CategoryNumber = "20", Icon = "socket" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0106, Name = "光强检测器", CategoryName = "监测", CategoryNumber = "40", Icon = "light" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0163, Name = "红外转发器", CategoryName = "电器", CategoryNumber = "20", Icon = "control" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0202, Name = "窗帘电机", CategoryName = "电器", CategoryNumber = "20", Icon = "curtain" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0210, Name = "调色灯", CategoryName = "照明", CategoryNumber = "30", Icon = "lamp" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0220, Name = "色暖灯", CategoryName = "照明", CategoryNumber = "30", Icon = "lamp" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0309, Name = "PM2.5感应器", CategoryName = "监测", CategoryNumber = "40", Icon = "pm25" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0302, Name = "温湿度传感器", CategoryName = "监测", CategoryNumber = "40", Icon = "humiture" });
|
|
List.Add(new DeviceId { RawDeviceId = 0x0402, Name = "报警器", CategoryName = "安防", CategoryNumber = "10", Icon = "alarm" });
|
|
}
|
|
|
|
public string Name { get; set; }
|
|
public string Icon { get; set; }
|
|
public string CategoryNumber { get; set; }
|
|
public string CategoryName { get; set; }
|
|
public ushort RawDeviceId { get; set; }
|
|
}
|
|
} |