anchor.diff:    }
   }
   
  -query ModuleListData($token: String!, $areaType: AreaType!, $districtID: Int, $siteID: Int, $deviceID: Int, $sources: [String], $fromTime: String, $toTime: String, $scale: String) {
  -  Config {
  -    indicatorTypes(token: $token) {
  -      id
  -      key
  -      name
  -      unit
  -    }
  -  }
  -  LineChart(token: $token, areaType: $areaType, sources: $sources, districtID: $districtID, siteID: $siteID, deviceID: $deviceID, fromTime: $fromTime, toTime: $toTime, scale: $scale) {
  -    source
  -    lineChart {
  -      time
  -      value
  -    }
  -  }
  -  LineChartSources(token: $token, areaType: $areaType, districtID: $districtID, siteID: $siteID, deviceID: $deviceID)
  -}
  -{
  -  "token": "c482dc1c-1c18-4ca6-be26-dd69cb9ed79a",
  -  "areaType": "Device",
  -  "deviceID": 37,
  -  "siteID": 12
  -}
  -
  -query aaa {
  -  Company(token: "c482dc1c-1c18-4ca6-be26-dd69cb9ed79a") {
  -    id
  -    districts: children {
  -      id
  -      sites: children {
  -        id
  -        cabinets {
  -          id
  -          switches {
  -            id
  -            lineChart {
  -              source
  -              lineChart {
  -                time
  -                value
  -              }
  -            }
  -          }
  -        }
  -      }
  -    }
  -  }
  -}
  
positive.code:           current
            total
            unit
          }
          cabinets {
            id
            switches {
              id
              name
              isOn
              alarmInfos(pagesize: 1) {
                id
                message
              }
            }
          }
        }
      }
    }
  }
  
  
  query aaa($size: Int) {
    Company(token: "c482dc1c-1c18-4ca6-be26-dd69cb9ed79a") {
      id,
      id,
      districts: children {
        id,
        sites: children {
          id,
          infos {
            name,
            display,
            value,
          }
          wires {
            name,
            current,
            total,
            unit,
          }
          cabinets {
            id,
            switches {
              ...switchInfo
            }
          }
        }
      }
    }
  }
  
  
negative.code: {
    "token": "fbe3ec12-6436-4504-a61f-ea26176b9580",
    "districtID": 8, "siteID": 12, "cabinetID": 50, "deviceID": 37,
  	"areaType": "Company", "fromTime": "2016-10-20", "toTime": "2016-10-23"
  }
  query MainPageData($token: String!) {
    User(token: $token) {
      id
      logined
      name
      companyName
      departmentName
      role
    }
    Company(token: $token) {
      id
      name
      pie {
        total
        current
        rate
        unit
      }
      unreadAlarmAmount
      unConfirmedAlarmAmount
    }
  }
  
  query SiteDetailData($token: String!, $districtID: Int!, $siteID: Int!) {
    Config {
      indicatorTypes(token: $token) {
        id
        key
        name
        unit
      }
    }
    Company(token: $token) {
      id
      district: children(id: $districtID) {
        id
        name
        areaType
        site: children(id: $siteID) {
          id
          name
          unreadAlarmAmount
          pie {
            total
            current
            rate
            unit
          }
          infos {
            name
            value
  