/*获取MySQL中设备告警信息总数*/ public int GetTotalAlarmInfo(string deviceId) { DeviceModel device = _deviceDao.GetByDeviceId(deviceId); return(device.totalAlarmInfo); }