| | |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_Core.Enums; |
| | | using WIDESEAWCS_DTO.BasicInfo; |
| | | using WIDESEAWCS_IWMSPart; |
| | | using WIDESEAWCS_Model.Models; |
| | | |
| | | namespace WIDESEAWCS_WMSServer.Controllers.WMSPart |
| | | namespace WIDESEAWCS_Server.Controllers.WMSPart |
| | | { |
| | | /// <summary> |
| | | /// 璐т綅 |
| | |
| | | { |
| | | } |
| | | |
| | | [HttpPost, Route("GetLocationConfigs"), AllowAnonymous] |
| | | public WebResponseContent GetLocationConfigs(int layer) |
| | | { |
| | | DateTime s = DateTime.Now; |
| | | WebResponseContent content = Service.GetLocationConfigs(layer); |
| | | double d = (DateTime.Now - s).TotalMilliseconds; |
| | | return content; |
| | | } |
| | | [HttpPost, Route("GetLocationLayer"), AllowAnonymous] |
| | | public WebResponseContent GetLocationLayer() |
| | | { |
| | | return Service.GetLocationLayer(); |
| | | } |
| | | |
| | | [HttpPost, Route("InitializationLocation"), AllowAnonymous] |
| | | public WebResponseContent InitializationLocation([FromBody] InitializationLocationDTO initializationLocationDTO) |
| | | { |
| | | return Service.InitializationLocation(initializationLocationDTO); |
| | | } |
| | | |
| | | [HttpPost, Route("getlocation"), AllowAnonymous] |
| | | public WebResponseContent getlocation() |
| | | { |
| | | return Service.getlocation(); |
| | | } |
| | | } |
| | | } |