/// <summary> /// LocationInfodelete /// </summary> public void LocationInfodelete() { string RidList = Request["Item"]; string text = Vehicle_LocationInfo.LocationInfodelete(RidList); Response.ContentType = "Application/json"; Response.Write(text); Response.End(); }
/// <summary> /// GetLocationInfoDataGrid /// </summary> public void GetLocationInfoDataGrid() { rows = Request["rows"] == null ? 10 : int.Parse(Request["rows"]); page = Request["page"] == null ? 1 : int.Parse(Request["page"]); string GetDataGrid = Vehicle_LocationInfo.GetLocationInfoDataGrid(rows, page); Response.ContentType = "Application/json"; Response.Write(GetDataGrid); Response.End(); }
/// <summary> /// LocationInfoEditSave /// </summary> public void LocationInfoEditSave() { LocationInfoModel Model = new LocationInfoModel(); string LoginUserID = Request["LoginUserID"]; string RID = Request["Data"]; Model.name = Request["Location"]; Model.longitude = Request.Form["longitude"]; Model.latitude = Request.Form["latitude"]; Model.Radius = Request.Form["Radius"]; string text = Vehicle_LocationInfo.LocationInfoEditSave(Model, LoginUserID, RID); Response.ContentType = "Application/json"; Response.Write(text); Response.End(); }
/// <summary> /// LocationInfoSearch /// </summary> public void LocationInfoSearch() { rows = Request["rows"] == null ? 10 : int.Parse(Request["rows"]); page = Request["page"] == null ? 1 : int.Parse(Request["page"]); string Location = Request.Form["Location"]; string BeginDate = Request.Form["BeginDate"]; string EndData = Request.Form["EndDate"]; LocationInfoModel Model = new LocationInfoModel(); Model.name = Location; Model.Create_Time = BeginDate; Model.Create_Time_E = EndData; string Json = Vehicle_LocationInfo.LocationInfoSearch(rows, page, Model); Response.ContentType = "Application/json"; Response.Write(Json); Response.End(); }