private void initialize() { this.userLocationDictionary = new Dictionary <string, UserLocation>(); this.machineLocationDictionary = new Dictionary <string, MachineLocation>(); this.userLocations = new UserLocationList(); this.machineLocations = new MachineLocationList(); }
public IHttpActionResult GetLocationList() { string token = GetToken(); string page = GetTrimString("Page"); string size = GetTrimString("Size"); string userID = GetTrimString("UserID"); string startTime = GetTrimString("StartTime"); string endTime = GetTrimString("EndTime"); string address = GetTrimString("Address"); string minStayTime = GetTrimString("MinStayTime"); string isShow = GetTrimString("IsShow"); if (string.IsNullOrWhiteSpace(isShow)) { isShow = "0"; //显示全部 } UserLocationList ulList = ent.GetUserLocationList(token, page, size, userID, startTime, endTime, address, minStayTime, isShow); return(Ok("", ulList)); }
private void initialize() { this.userLocationDictionary = new Dictionary<string, UserLocation>(); this.machineLocationDictionary = new Dictionary<string, MachineLocation>(); this.userLocations = new UserLocationList(); this.machineLocations = new MachineLocationList(); }