private void MenuRefreshHisPosBuffer_OnClick(object sender, RoutedEventArgs e) { Worker.Run(() => { var Phs = new LocationServices.Locations.Services.PosHistoryService(); Phs.GetAllData(LogTags.HisPosBuffer, false); }, () => { }); }
public IList <U3DPosition> GetHistoryU3DPositonsByTime(string tagcode, DateTime start, DateTime end) { var hisService = new PosHistoryService(); var list = hisService.GetHistoryU3DPositonsByTime(tagcode, start, end); hisService.Dispose(); return(list); }
public IList <Position> GetHistoryPositonsByPidAndTopoNodeIds(int personnelID, List <int> topoNodeIds, DateTime start, DateTime end) { var hisService = new PosHistoryService(); var list = hisService.GetHistoryByPersonAndArea(personnelID, topoNodeIds, start, end); hisService.Dispose(); return(list); }
public IList <Position> GetHistoryPositonsByPersonnelID(int personnelID, DateTime start, DateTime end) { var hisService = new PosHistoryService(); var list = hisService.GetHistoryByPerson(personnelID, start, end); hisService.Dispose(); return(list); }
public IList <Position> GetHistoryPositons() { var hisService = new PosHistoryService(); var list = hisService.GetHistory(); hisService.Dispose(); return(list); }
IList <PositionList> IPosHistoryService.GetHistoryPositonStatistics(int nFlag, string strName, string strName2, string strName3) { DateTime dt1 = DateTime.Now; IList <PositionList> send = new PosHistoryService().GetHistoryPositonStatistics(nFlag, strName, strName2, strName3); DateTime dt2 = DateTime.Now; //string xml = XmlSerializeHelper.GetXmlText(send); var time = dt2 - dt1; return(send); }