export const ALARM_COLLECTION = {
  "1":{
  alarmCode: "1002111",
    alarmCount: 1,
  alarmKey: "1",
  alarmLevel: 2,
  alarmStatus: 0,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 0,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
  "2":{
  alarmCode: "100221",
  alarmCount: 1,
  alarmKey: "2",
  alarmLevel: 2,
  alarmStatus: 0,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 0,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
  "3":{
  alarmCode: "10012",
    alarmCount: 1,
  alarmKey: "3",
  alarmLevel: 2,
  alarmStatus: 0,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 0,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
  "4":{
  alarmCode: "1002111",
    alarmCount: 1,
  alarmKey: "4",
  alarmLevel: 1,
  alarmStatus: 1,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 3,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
  "5":{
  alarmCode: "100221",
    alarmCount: 1,
  alarmKey: "5",
  alarmLevel: 1,
  alarmStatus: 1,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 3,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
  "6":{
  alarmCode: "10012",
    alarmCount: 1,
  alarmKey: "6",
  alarmLevel: 0,
  alarmStatus: 1,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 3,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
  "7":{
  alarmCode: "1002111",
    alarmCount: 1,
  alarmKey: "7",
  alarmLevel: 1,
  alarmStatus: 2,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 1,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
"8":{
  alarmCode: "100221",
    alarmCount: 1,
  alarmKey: "8",
  alarmLevel: 0,
  alarmStatus: 2,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 1,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
"9":{
  alarmCode: "10012",
    alarmCount: 1,
  alarmKey: "9",
  alarmLevel: 2,
  alarmStatus: 2,
  cause: "设备失联",
  clearTime: "",
  confirmTime: "",
  confirmUser: "",
  curTime: "20190411.222031.213",
  deviceKey: "15483223363780045",
  deviceName: "设备60",
  deviceType: "CZ.T.T65D-V1",
  firstTime: "20190411.174400.938",
  nodeType: 1,
  note: "",
  portName: "",
  recoverTime: "",
  slotKey: ""},
}

export const UNCONFIRMED_ALARMLIST = [
{ alarmCode: "1002111",
    alarmCount: 1,
    alarmKey: "1",
    alarmLevel: 2,
    alarmStatus: 0,
    cause: "设备失联",
    clearTime: "",
    confirmTime: "",
    confirmUser: "",
    curTime: "20190411.222031.213",
    deviceKey: "15483223363780045",
    deviceName: "设备60",
    deviceType: "CZ.T.T65D-V1",
    firstTime: "20190411.174400.938",
    nodeType: 0,
    note: "",
    portName: "",
    recoverTime: "",
    slotKey: ""},
  {
    alarmCode: "100221",
    alarmCount: 1,
    alarmKey: "2",
    alarmLevel: 2,
    alarmStatus: 0,
    cause: "设备失联",
    clearTime: "",
    confirmTime: "",
    confirmUser: "",
    curTime: "20190411.222031.213",
    deviceKey: "15483223363780045",
    deviceName: "设备60",
    deviceType: "CZ.T.T65D-V1",
    firstTime: "20190411.174400.938",
    nodeType: 0,
    note: "",
    portName: "",
    recoverTime: "",
    slotKey: ""},
  {
    alarmCode: "10012",
    alarmCount: 1,
    alarmKey: "3",
    alarmLevel: 2,
    alarmStatus: 0,
    cause: "设备失联",
    clearTime: "",
    confirmTime: "",
    confirmUser: "",
    curTime: "20190411.222031.213",
    deviceKey: "15483223363780045",
    deviceName: "设备60",
    deviceType: "CZ.T.T65D-V1",
    firstTime: "20190411.174400.938",
    nodeType: 0,
    note: "",
    portName: "",
    recoverTime: "",
    slotKey: ""},
]

export const ALARM_FILTER_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": [
    {
      "alarmFilterKey": "15541959605260003",
      "alarmFilterName": "1",
      "alarmCodes": "",
      "alarmLevels": "0",
      "deviceModels": "",
      "deviceKeys": "",
      "serverTypes": "",
      "serverKeys": "15537582701990001,15535058619820000,15525338233540006",
      "delFlag": 0,
      "startFilterTime": "2019-03-31T16:00:00.000Z",
      "endFilterTime": "2019-04-03T16:00:59.999Z",
      "modifyTime": null
    }
  ]
}
export const ALARM_FILTER_OUTPUT={
  '15541959605260003':{
  "alarmFilterKey": "15541959605260003",
    "alarmFilterName": "1",
    "alarmCodes": "",
    "alarmLevels": "0",
    "deviceModels": "",
    "deviceKeys": "",
    "serverTypes": "",
    "serverKeys": "15537582701990001,15535058619820000,15525338233540006",
    "delFlag": 0,
    "startFilterTime": "2019-03-31T16:00:00.000Z",
    "endFilterTime": "2019-04-03T16:00:59.999Z",
    "modifyTime": null
  }

}

export const ALARM_TYPELIST_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": [
    {
      "code": "2005",
      "type": 1,
      "cause": "上行速率超限",
      "description": "TXBS Rate exceeding threshold"
    },
    {
      "code": "2004",
      "type": 1,
      "cause": "下行速率超限",
      "description": "RXBS Rate exceeding threshold"
    },]};
export const ALARM_TYPELIST_OUTPUT={
  '2005':{
    "code": "2005",
    "type": 1,
    "cause": "上行速率超限",
    "description": "TXBS Rate exceeding threshold"
  },
  '2004':{
  "code": "2004",
  "type": 1,
  "cause": "下行速率超限",
  "description": "RXBS Rate exceeding threshold"
  },
}

export const ALARM_CFGLIST_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": [
    {
      "alarmCode": "1005",
      "alarmLevel": 1,
      "delFlag": 0,
      "modifyTime": "",
      "description": null,
      "cause": null
    },
    {
      "alarmCode": "1004",
      "alarmLevel": 0,
      "delFlag": 0,
      "modifyTime": "",
      "description": null,
      "cause": null
    },]}
export const ALARM_CFGLIST_OUTPUT={
  '1005':{
    "alarmCode": "1005",
    "alarmLevel": 1,
    "delFlag": 0,
    "modifyTime": "",
    "description": null,
    "cause": null
  },
  '1004':{
  "alarmCode": "1004",
    "alarmLevel": 0,
    "delFlag": 0,
    "modifyTime": "",
    "description": null,
    "cause": null
  }
}

export const TOTALCOUNTS_CLINET=[{"quaryAttribute": "firstTime", "compareSymbol": ">=", "compareValue": "20190101.124900.000"},
  {"quaryAttribute": "firstTime", "compareSymbol": "<=", "compareValue": "20190416.134959.999"}]
export const TOTALCOUNTS_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": 240372
}
export const TOTALCOUNTS_OUTPUT=240372;

export const ALARM_PAGING_CLIENT=[{"quaryAttribute": "firstTime", "compareSymbol": ">=", "compareValue": "20190101.124900.000"},
  {"quaryAttribute": "firstTime", "compareSymbol": "<=", "compareValue": "20190416.134959.999"}]
export const ALARM_PAGING_START=1;
export const ALARM_PAGING_END=2;
export const ALARM_PAGING_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": [
    {
      "alarmKey": "15554164044620002",
      "nodeType": 1,
      "deviceType": "3",
      "deviceKey": "15535058619820000",
      "slotKey": "",
      "portName": "",
      "alarmLevel": 0,
      "alarmCode": "1001",
      "cause": "设备失联",
      "alarmCount": 1,
      "alarmStatus": 0,
      "firstTime": "20190416.050644.462",
      "curTime": "20190507.012028.667",
      "recoverTime": "",
      "clearTime": "",
      "confirmTime": "",
      "confirmUser": "",
      "note": ""
    },

  ]
}
export const ALARM_PAGING_OUTPUT={
  '15554164044620002':{
    "alarmKey": "15554164044620002",
    "nodeType": 1,
    "deviceType": "3",
    "deviceKey": "15535058619820000",
    "slotKey": "",
    "portName": "",
    "alarmLevel": 0,
    "alarmCode": "1001",
    "cause": "设备失联",
    "alarmCount": 1,
    "alarmStatus": 0,
    "firstTime": "20190416.050644.462",
    "curTime": "20190507.012028.667",
    "recoverTime": "",
    "clearTime": "",
    "confirmTime": "",
    "confirmUser": "",
    "note": ""
  },

}

export const ALARM_STATISTIC_CLIENT=[{"quaryAttribute": "firstTime", "compareSymbol": ">=", "compareValue": "20190101.124900.000"},
  {"quaryAttribute": "firstTime", "compareSymbol": "<=", "compareValue": "20190416.134959.999"}]
export const ALARM_STATISTIC_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": [
    [
      "240372"
    ]
  ]
}
export const ALARM_STATISTIC_OUTPUT=[
  [
    "240372"
  ]
]


export const ALARMLEVEL_UPDATE_CLIENT=[{
  "alarmLevel": 0,
  "alarmColor": "#FFFFFF",
  "alarmVoice": "/home/voice_path_123/alarm.wav",
  "modifyTime": "20190404.172153.007"
}]
export const ALARMLEVEL_UPDATE_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": {
    "type": "com.arangodb.entity.BaseDocument",
    "id": null,
    "stats": {
      "writesExecuted": 1,
      "writesIgnored": 0,
      "scannedFull": 0,
      "scannedIndex": 0,
      "filtered": 0,
      "fullCount": null,
      "executionTime": 0.00026798248291015625
    },
    "warnings": [],
    "cached": false,
    "count": null
  }
}
export const ALARMLEVEL_UPDATE_OUTPUT=null;

export const ALARMCONFIG_UPDATE_CLIENT=[{
  "alarmCode": "1005",
  "alarmLevel": 1,
  "delFlag": 0,
  "modifyTime": "",
  "description": null,
  "cause": "1005的updatetest"
}]
export const ALARMCONFIG_UPDATE_INPUT={
  "result": true,
  "faultCode": 0,
  "faultCause": null,
  "returnValue": 5
}
export const ALARMCONFIG_UPDATE_OUTPUT=null;
