using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HDL_ON
{
///
/// a协议命令
///
public enum CommandType_A
{
write,
read,
}
///
/// 功能显示排序方式
///
public enum SortOrder
{
///
/// 无排序方式
///
None,
///
/// 使用次数
///
UsageCount,
///
/// 使用频率
///
UsageFrequency,
///
/// 手动排序
///
FixedSerialNumber,
}
///
/// 场景类型
///
public enum SceneType
{
///
/// 普通场景
///
OrdinaryScenes = 0x01,
///
/// 电影changing
///
MovieScene = 0x02,
}
///
/// 功能类别
///
public enum FunctionType
{
Scene = 0x0001,
MovieScene = 0x0002,
Relay = 0x0201,
Dimmer = 0x0202,
RGB = 0x0204,
Curtain = 0x0301,
MotorCurtain = 0x0303,
RollingShutter = 0x0304,
AC = 0x0401,
FloorHeating = 0x0402,
}
///
/// 功能类型
///
public enum FunctionCategory
{
UnKown = int.MaxValue,
///
/// 开关类
///
SwitchDevice = 0x01,
///
/// 场景
///
Scene = 0x0A,
///
/// 照明
///
Light = 0x02,
///
/// 遮阳
///
Curtain = 0x03,
///
/// 恒温器/空调/地热
///
Thermostat = 0x04,
/////
///// 窗帘
/////
//Curtain = 0x05,
/////
///// 空调
/////
//AC = 0x06,
/////
///// 地热
/////
//FloorHeating = 0x07,
/////
///// 新风
/////
//FreshAir = 0x08,
/////
///// 按键
/////
//Key = 0x09,
/////
///// 音乐
/////
//Music = 0x0A,
/////
///// 传感器
/////
//Sensor = 0x0B,
/////
///// 门锁
/////
//DoorLook = 0x0C,
/////
///// 时间
/////
//Timer = 0x0D,
/////
///// 计数器
/////
//Counter = 0x0E,
/////
///// 地理围栏
/////
//GeographicalFence = 0x0F,
/////
///// 干接点
/////
//DryContact = 0x10,
/////
///// 红外
/////
//IR = 0x11,
/////
///// DMX
/////
//DMX = 0x12,
/////
///// 电器
/////
//EelectricAppliance = 0x13,
/////
///// 天气
/////
//Weather = 0x14,
//DoorLock=0x15,
//Electric=0x16,
//EnergyMonitoring = 0x17,
//Environmental = 0x18,
//Panel = 0x19,
//SecurityMonitoring = 0x20,
//VideoIntercom = 0x21,
}
///
/// 功能类型
///
public enum ShowFunction
{
///
/// 场景
///
Scene = 1,
///
/// 逻辑
///
Logic = 2,
///
/// 安防
///
Security = 3,
///
/// 灯光
///
Light = 0x04,
///
/// 窗帘
///
Curtain = 0x05,
///
/// 空调
///
AC = 0x06,
///
/// 地热
///
FloorHeating = 0x07,
///
/// 新风
///
FreshAir = 0x08,
///
/// 按键
///
Key = 0x09,
///
/// 音乐
///
Music = 0x0A,
///
/// 传感器
///
Sensor = 0x0B,
///
/// 门锁
///
DoorLook = 0x0C,
///
/// 时间
///
Timer = 0x0D,
///
/// 计数器
///
Counter = 0x0E,
///
/// 地理围栏
///
GeographicalFence = 0x0F,
///
/// 干接点
///
DryContact = 0x10,
///
/// 红外
///
IR = 0x11,
///
/// DMX
///
DMX = 0x12,
///
/// 电器
///
EelectricAppliance = 0x13,
///
/// 天气
///
Weather = 0x14,
DoorLock = 0x15,
Electric = 0x16,
EnergyMonitoring = 0x17,
Environmental = 0x18,
Panel = 0x19,
SecurityMonitoring = 0x20,
VideoIntercom = 0x21,
}
}