예제 #1
0
 private void initialize()
 {
     this.userLocationDictionary    = new Dictionary <string, UserLocation>();
     this.machineLocationDictionary = new Dictionary <string, MachineLocation>();
     this.userLocations             = new UserLocationList();
     this.machineLocations          = new MachineLocationList();
 }
예제 #2
0
        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));
        }
예제 #3
0
 private void initialize()
 {
     this.userLocationDictionary = new Dictionary<string, UserLocation>();
     this.machineLocationDictionary = new Dictionary<string, MachineLocation>();
     this.userLocations = new UserLocationList();
     this.machineLocations = new MachineLocationList();
 }