using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TelpoPush.Models.Enum { /// /// 数据类型,标识发布到kafka的消息的数据类型 /// public enum MqDataType : int { /// /// 报警消息 /// AlarmInfo = 0, /// /// 温度数据信息 /// TemperatureInfo = 1, /// /// 步数信息 /// StepInfo = 2, /// /// 电量信息 /// BatteryLevelInfo = 3, /// /// 设备配置信息 /// DeviceConfigInfo = 4, /// /// 设备通话记录 /// DeviceCallLog = 5, /// /// 设备短信记录 /// DeviceSmsLog = 6, /// /// 位置信息 /// PositionInfo = 7, /// /// 支付 /// PayInfo = 8, /// /// 设备状态(offline,online) /// Status = 9, /// /// 设备激活状态(激活1,未激活0) /// Active = 10, /// /// 指令回调 /// reply = 11, /// /// 天气查询 /// Weather = 12, /// /// 短信阅读事件 /// ReadMsg = 13, /// /// 学习能力状态上报事件 /// StudyAINotifyStatusUpload = 14, /// /// 心率 /// HeartRateInfo = 15, /// /// 血氧 /// Spo2Info = 16, /// /// 周期性报体温数据。 /// Temperature1Info = 17, /// /// 周期心率。 /// HeartRate1Info = 18, /// /// 周期性血氧 /// Spo21Info = 19, /// /// 溺水状态 /// DrownReportInfo = 20, /// /// 手表佩戴状态 /// WearStatusInfo = 21, /// /// 血压 /// BloodPressInfo = 22, /// /// 周期性血压 /// BloodPress1Info = 23, /// /// 心理监测 /// PsychInfo = 24, /// /// AI呼叫回调结果 /// AiCallResult = 25, /// /// 越界上报(围栏进出告警) /// CrossBorder = 26, /// /// 运动数据上报 /// SportResult = 27, /// /// 运动数据上报 /// BloodSugar = 28, /// /// 绑定业务 /// BindDevice = 100 } }