const ems = {
  state: {
    zdList:[],
    workStatusOptions:{'0':'正常','1':'异常','2':'停止'},//工作状态
    deviceStatusOptions:{'0':'在线','1':'离线','2':'维修中'},//设备状态
    gridStatusOptions:{'0':'并网','1':'未并网'},//并网状态
    controlModeOptions:{'0':'远程','1':'本地'},//控制模式
    warnOptions:{0:'正常', 1:'中断', 2:'不在线',3:'异常'},//告警状态
    communicationStatusOptions:{'0':'正常','1':'通讯中断','2':'异常'},//通讯状态
    workModeOptions:{'0':'正常','1':'停止'},//工作模式
    alarmLevelOptions:{'A':'提示','B':'一般','C':'严重','D':'紧急'},//告警等级
    alarmStatusOptions:{'0':'待处理','1':'已处理','2':'处理中'},//告警状态
    deviceTypeOptions:{'TCP':'TCP','RTU':'RTU'},//设备类型
    ticketStatusOptions:{0:'待处理', 1:'已处理', 2:'处理中'},//工单处理状态
    strategyStatusOptions:{'0':'未启用', '1':'已运行', '2':'已暂停', '3':'禁用', '4':'删除'},//策略状态
    chargeStatusOptions:{'1':'充电','2':'待机'},//冲放状态
    deviceCategoryOptions:{'PCS':'PCS','STACK':'电池堆','CLUSTER':'电池簇','COOLING':'液冷','BATTERY':'单体电池','AMMETER':'电表'},//设备类别
  },
  mutations: {
    SET_ZD_LIST(state, list) {
      state.zdList = list || []
    }
  },
}

export default ems
