// 设备类型/设备
export const DeviceFilters = [
  { text: '持续型', value: '1' },
  { text: '智能型', value: '2' },
  { text: '脉冲型', value: '3' },
];

// 设备运行状态/泵状态
export const DeviceStatusFilters = [
  { text: '关机', value: '0' },
  { text: '开机', value: '1' },
  { text: '运行', value: '2' },
  { text: '暂停', value: '3' },
  { text: '待机', value: '4' },
  { text: '不在服务区', value: '5' },
];

export const DeviceStatusSelect = [
  { label: '关机', value: '0' },
  { label: '开机', value: '1' },
  { label: '运行', value: '2' },
  { label: '暂停', value: '3' },
  { label: '待机', value: '4' },
  { label: '不在服务区', value: '5' },
];

// 病人报警
export const PatientAlarmFilters = [
  { text: '病人绑定多个设备', value: '0' },
  { text: '病人为绑定设备', value: '1' },
];

// 设备报警报警/泵报警
export const DeviceAlarmFilters = [
  // { text: '无报警', value: '0' },
  { text: '气泡报警', value: '1' },
  { text: '堵塞报警', value: '2' },
  { text: '未装药盒报警', value: '3' },
  { text: '输注总量报警', value: '4' },
  { text: '极限报警', value: '5' },
  { text: '输液结束', value: '6' },
  { text: '电量耗尽报警', value: '7' },
  // { text: '电机失控报警', value: '8' },
  { text: '机械故障', value: '9' },
];

export const DeviceAlarmSelect = [
  // { text: '无报警', value: '0' },
  { label: '气泡报警', value: '1' },
  { label: '堵塞报警', value: '2' },
  { label: '未装药盒报警', value: '3' },
  { label: '输注总量报警', value: '4' },
  { label: '极限报警', value: '5' },
  { label: '输液结束', value: '6' },
  { label: '电量耗尽报警', value: '7' },
  // { label: '电机失控报警', value: '8' },
  { label: '机械故障', value: '9' },
];

// 设备报警报警/泵提醒
export const DeviceWarningFilters = [
  // { text: '正常', value: '0' },
  { text: '加档受限', value: '1' },
  { text: '持续量已达上限', value: '2' },
  { text: '加档', value: '3' },
  { text: '减档', value: '4' },
  { text: '低输注状态', value: '5' },
  { text: '即将输注完毕', value: '6' },
  { text: '镇痛不足', value: '7' },
  { text: '低电量', value: '8' },
];

export const DeviceWarningSelect = [
  { label: '加档受限', value: '1' },
  { label: '持续量已达上限', value: '2' },
  { label: '加档', value: '3' },
  { label: '减档', value: '4' },
  { label: '低输注状态', value: '5' },
  { label: '即将输注完毕', value: '6' },
  { label: '镇痛不足', value: '7' },
  { label: '低电量', value: '8' },
];

// 无泵监控设备类型/设备
export const WithOutDeviceSelect = [
  { label: '机械泵', value: 0 },
  { label: '电子脉冲泵', value: 1 },
  { label: '电子泵', value: 2 },
];

// /性别
export const SexFilters = [
  { text: '男', value: '1' },
  { text: '女', value: '2' },
  { text: '未知', value: '3' },
];
export const gender = [
  { label: '男', value: '1' },
  { label: '女', value: '2' },
];

export const SexSelect = [
  { label: '男', value: 1 },
  { label: '女', value: 2 },
  { label: '未知', value: 3 },
];

// /临床运行状态
export const ClinicStatusFilters = [
  { text: '结束', value: '0' },
  { text: '进行中', value: '1' },
  { text: '无设备', value: '2' },
];

// /临床类型
export const ClinicFilters = [
  { text: '输注监控', value: '0' },
  { text: '无泵监控', value: '1' },
];

// /医院绑定状态
export const BindFilters = [
  { text: '未绑定', value: '0' },
  { text: '已绑定', value: '1' },
];

// 设备类型搜索/设备
export const DeviceOptions = [
  { label: '持续型', value: '1' },
  { label: '智能型', value: '2' },
  { label: '脉冲型', value: '3' },
];

// 输注历史/患者类型
export const PatientOptions = [
  { label: '所有患者', value: '0' },
  { label: '输注监控', value: '1' },
  { label: '无泵监控', value: '2' },
];
export const monitorTypeFilters = [
  { text: '输注监控', value: '1' },
  { text: '其它监控', value: '0' },
];

// 输注历史/自控类型
export const selfControlTypeSelect = [
  { label: '有效', value: 0 },
  { label: '无效', value: 1 },
  { label: '总数', value: 2 },
];

// 输注历史/结束
export const EndFilters = [
  { text: '未结束', value: '0' },
  { text: '已结束', value: '1' },
  { text: '已撤泵', value: '2' },
];

// 设备管理/在线状态
export const OnlineFilters = [
  { text: '未激活', value: '0' },
  { text: '在线', value: '1' },
  { text: '离线', value: '2' },
];

// 系统监控/系统日志
export const HospitalLogSelect = [
  { label: '系统对接信息', value: 0 },
  { label: '阿里云-设备上下线', value: 2 },
  { label: '阿里云-设备生命周期', value: 3 },
  { label: '阿里云-设备数据上传', value: 4 },
  { label: '阿里云-设备删除', value: 5 },
];

// 文章类型
export const ArticleSelect = [
  { label: '术后镇痛', value: 0 },
  { label: '癌痛知识', value: 1 },
  { label: '评价标准', value: 2 },
  { label: '健康资讯', value: 3 },
  { label: '轮播图', value: 4 },
];

// 文章类型
export const radioSwitch = [
  { label: '正常', value: 1 },
  { label: '停用', value: 0 },
];

// 文章类型
export const radioBoolean = [
  { label: '否', value: 0 },
  { label: '是', value: 1 },
];

// 文章类型
export const radioSuccess = [
  { label: '失败', value: 0 },
  { label: '成功', value: 1 },
];
