D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore
2019-01-18 2fe250ece8de95b3f70172fe5b45793ab6a3084a
gx_tieta/WebRoot/mobil/equipwarn.html
@@ -47,7 +47,8 @@
                                   <option value="119026">基站掉站告警</option>
                                   <option value="119027">基站开门告警</option>
                                   <option value ="119028">设备高温告警</option>
                                   <option value ="119032">设备SD卡故障</option>
                                   <option value ="119033">采集线告警</option>
                    </select>    
            </div>
            <div class="fg-panel-btn">
@@ -183,7 +184,7 @@
                  
                  arr[index++]=data[i].dev_ip ;                        //设备IP
                  arr[index++]=data[i].stationName;                     //机房名
                  arr[index++]=data[i].alm_type;                      //告警事件
                  arr[index++]=getAlarmTypeByAlmType(data[i].alm_type);                      //告警事件
                  arr[index++]=getAlarmLevel(data[i].alm_level);      //告警等级
                  arr[index++]=data[i].alm_is_confirmed==0?"否":"是";  //告警确认
                  if(data[i].alm_is_confirmed==1){
@@ -278,7 +279,26 @@
      return "";
   };
   //获取设备的告警类型
   function getAlarmTypeByAlmType(alm_type){
      if(alm_type>0){
         switch(alm_type){
            case 618501:return "继电器K1告警";
            case 618502:return "通讯告警";
            case 618503:return "设备过温告警";
            case 618504:return "二极管D1告警";
            case 119023:return "续航不足告警";
            case 119024:return "基站停电告警";
            case 119025:return "基站发电告警";
            case 119026:return "基站掉站告警";
            case 119027:return "基站开门告警";
            case 119028:return "设备高温告警";
            case 119032:return "设备SD卡故障";
            case 119033:return "采集线告警";
         }
      }
      return "通信故障";
   }