public List<Detector> QueryDataCacheByMachine(string machineId) { List<Detector> results = new List<Detector>(); DetectorHibernate hibernate = new DetectorHibernate(); results = hibernate.QueryDataCacheByMachine(machineId); return results; }
public List<Detector> QueryNormalDataCacheByMachine(string machineId, DateTime beginDate, DateTime endDate) { List<Detector> results = new List<Detector>(); DetectorHibernate hibernate = new DetectorHibernate(); results = hibernate.QueryNormalDataCacheByMachine(machineId, beginDate, endDate); return results; }
public List<Module.Environmental.Detector> QueryByMachine(string machineId) { List<Detector> results = new List<Detector>(); DetectorHibernate hibernate = new DetectorHibernate(); results = hibernate.QueryByMachine(machineId); return results; }
public Detector QueryByGuid(string guid) { Detector result = null; DetectorHibernate hibernate = new DetectorHibernate(); result = hibernate.QueryByGuid(guid); return result; }
public bool Insert(Detector value) { bool result = false; DetectorHibernate hibernate = new DetectorHibernate(); result = hibernate.Insert(value); return result; }
public bool Delete(Detector value) { bool result = false; DetectorHibernate hibernate = new DetectorHibernate(); result = hibernate.Delete(value); return result; }
public bool UpdatePosition(List<Detector> detectors) { bool result = false; DetectorHibernate hibernate = new DetectorHibernate(); result = hibernate.UpdatePosition(detectors); return result; }