예제 #1
0
 public Device_Alert Device_Alert_GetLastAlarm()
 {
     return(SQL_da_DeviceAlert.GetLastAlert());
 }
예제 #2
0
 public bool Device_Alert_UpdateOneFlagByAlarmId(string alarmId, string flag)
 {
     return(SQL_da_DeviceAlert.UpdateOneFlagByAlarmId(alarmId, flag));
 }
예제 #3
0
 public List <Device_Alert> Device_Alert_GetUnReadAlarms()
 {
     return(SQL_da_DeviceAlert.GetUnReadAlarms());
 }
예제 #4
0
 public bool Device_Alert_DeleteOne(string id)
 {
     return(SQL_da_DeviceAlert.DeleteOne(id));
 }
예제 #5
0
 public bool Device_Alert_UpdateOne(Device_Alert t_new)
 {
     return(SQL_da_DeviceAlert.UpdateOne(t_new));
 }
예제 #6
0
 public bool Device_Alert_InsertOne(Device_Alert t_new)
 {
     return(SQL_da_DeviceAlert.InsertNew(t_new));
 }
예제 #7
0
 public Device_Alert Device_Alert_GetAllByAlertId(string alertId)
 {
     return(SQL_da_DeviceAlert.GetAllByAlertID(alertId));
 }
예제 #8
0
 public List <Device_Alert> Device_Alert_GetAllByDate(DateTime start, DateTime end, string deviceId)
 {
     return(SQL_da_DeviceAlert.GetAllByDate(start, end, deviceId));
 }