Esempio n. 1
0
 public object getOverTimeByIdAndType(int devId, String sensorTypeCode)
 {
     IDAL.IAlarmRule dal = SensorHub.DALFactory.AlarmRule.Create();
     return(dal.getOverTimeByIdAndType(devId, sensorTypeCode));
 }
Esempio n. 2
0
 public AlarmRuleInfo getAlarmRule(String devCode, String sensorType)
 {
     IDAL.IAlarmRule dal = SensorHub.DALFactory.AlarmRule.Create();
     return(dal.getAlarmRule(devCode, sensorType));
 }
Esempio n. 3
0
 /// <summary>
 /// 根据设备号查询对应的超时数值
 /// </summary>
 /// <param name="devId"></param>
 /// <returns></returns>
 public object getOverTimeByDevId(int devId)
 {
     IDAL.IAlarmRule dal = SensorHub.DALFactory.AlarmRule.Create();
     return(dal.getOverTimeByDevId(devId));
 }