export const APP_IDENTIFIER = "iotalarm";

export const SENSOR_ATTR_OPTIONS = [
  { bianma: "NUMBER", name: "数值类" },
  { bianma: "SWITCH", name: "开关类" },
];

export const ENABLE_STATUS_OPTIONS = [
  { bianma: 1, name: "启用" },
  { bianma: 0, name: "停用" },
];

export const YES_NO_OPTIONS = [
  { bianma: 1, name: "是" },
  { bianma: 0, name: "否" },
];

export const SENSOR_STATUS_OPTIONS = [
  { bianma: "NORMAL", name: "正常" },
  { bianma: "FAULT", name: "故障" },
  { bianma: "OFFLINE", name: "离线" },
  { bianma: "deactivate", name: "停用" },
];

export const ALARM_STATUS_OPTIONS = [
  { bianma: 10, name: "报警中" },
  { bianma: 20, name: "未处置" },
  { bianma: 30, name: "已消警" },
  { bianma: 40, name: "误报" },
];

export const ALARM_SOURCE_OPTIONS = [
  { bianma: "DCS", name: "DCS" },
  { bianma: "THRESHOLD", name: "阈值报警" },
];

export const ALARM_LEVEL_OPTIONS = [
  { bianma: "URGENT", name: "紧急" },
  { bianma: "NORMAL", name: "一般" },
];

export const ALARM_TYPE_OPTIONS = [
  { bianma: "DCS_ALARM", name: "DCS 报警" },
  { bianma: "THRESHOLD_ALARM", name: "阈值报警" },
];
export const DISPOSAL_STATIS = [
  { bianma: 1, name: "误报" },
  { bianma: 0, name: "处置" },
];
