{"version":3,"file":"app-cdda6e80.b149463909b5e91f4e75.bundle.js","mappings":";;;;;;;;;;;;;;;AAMA;AAMA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;;;AC1CA;AA4BA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;AC9MA;AAAA;AAuBA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;ACrBA;AAAA;AASA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;ACfA;AAAA;AAaA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;ACfA;AAAA;AA2BA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;;;AC/BA;AAMA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;;;AC1CA;AAgCA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;;;ACpQA;AAgBA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;;;ACpHA;AAMA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;;;AC1CA;AAYA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA;;;;;;;;;;;;;;;AC9GA;AAAA;AASA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;ACPA;AAAA;AASA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;ACfA;AAAA;AAWA;AAAA;AAAA;AAEA;;;;;;;;;;;;;;;;;ACfA;AAUA;AAKA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AAAA;AACA;AACA;AAEA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAA;AAEA","sources":["webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/CustomContentAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/DashboardAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/DashboardSearchCriteria.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/DashboardSearchParameter.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/DistrictParameter.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/IssueData.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicAirQualityIndexViewPageAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicAirQualityMapAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicIssueAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicNewsAppService.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicNewsCriteria.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/PublicNewsSearchParameter.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/StationParameter.ts","webpack://app/./src/Modules/Aqs/Scripts/AppServiceContract/UploadFileAppService.ts"],"sourcesContent":["\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import CustomContentData from 'Modules/Aqs/Scripts/AppServiceContract/CustomContentData';\r\n\r\n\r\n //module CustomContentAppService {\r\n class CustomContentAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/CustomContentAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/CustomContentAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/?customcontentcode=${customcontentcode}\r\n //public static RouteLoadCustomContentFooter = (customcontentcode: string[]) => this.ServiceUrl + `modules/Aqs.AppServiceContract/CustomContentAppService/LoadCustomContentFooter`;\r\n public RouteLoadCustomContentFooter(customcontentcode: string[]) : string {\r\n return this.ControllerUrl + \"/\"+\"LoadCustomContentFooter\";\r\n }\r\n public LoadCustomContentFooter(customcontentcode: string[]): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteLoadCustomContentFooter(customcontentcode),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(customcontentcode),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default CustomContentAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import DashboardSearchParameter from 'Modules/Aqs/Scripts/AppServiceContract/DashboardSearchParameter';\r\n\r\n import AirQualityGroupData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityGroupData';\r\n\r\n import AirQualityGraphData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityGraphData';\r\n\r\n import DashboardSearchCriteria from 'Modules/Aqs/Scripts/AppServiceContract/DashboardSearchCriteria';\r\n\r\n import DistrictGroupData from 'Modules/Aqs/Scripts/AppServiceContract/DistrictGroupData';\r\n\r\n import StationParameter from 'Modules/Aqs/Scripts/AppServiceContract/StationParameter';\r\n\r\n import DistrictData from 'Modules/Aqs/Scripts/AppServiceContract/DistrictData';\r\n\r\n import DistrictParameter from 'Modules/Aqs/Scripts/AppServiceContract/DistrictParameter';\r\n\r\n import StationData from 'Modules/Aqs/Scripts/AppServiceContract/StationData';\r\n\r\n import AirQualityTypeData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityTypeData';\r\n\r\n import SummaryDataHeader from 'Modules/Aqs/Scripts/AppServiceContract/SummaryDataHeader';\r\n\r\n import LocationRequest from 'Modules/Aqs/Scripts/AppServiceContract/LocationRequest';\r\n\r\n\r\n //module DashboardAppService {\r\n class DashboardAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/DashboardAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/DashboardAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteFindTable = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/FindTable`;\r\n public RouteFindTable() : string {\r\n return this.ControllerUrl + \"/\"+\"FindTable\";\r\n }\r\n public FindTable(parameter: DashboardSearchParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindTable(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(parameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindGraph = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/FindGraph`;\r\n public RouteFindGraph() : string {\r\n return this.ControllerUrl + \"/\"+\"FindGraph\";\r\n }\r\n public FindGraph(parameter: DashboardSearchParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindGraph(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(parameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteCount = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/Count`;\r\n public RouteCount() : string {\r\n return this.ControllerUrl + \"/\"+\"Count\";\r\n }\r\n public Count(criteria: DashboardSearchCriteria): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteCount(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(criteria),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteDistrictGroupDropdown = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/DistrictGroupDropdown`;\r\n public RouteDistrictGroupDropdown() : string {\r\n return this.ControllerUrl + \"/\"+\"DistrictGroupDropdown\";\r\n }\r\n public DistrictGroupDropdown(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteDistrictGroupDropdown(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteDistrictDropdown = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/DistrictDropdown`;\r\n public RouteDistrictDropdown() : string {\r\n return this.ControllerUrl + \"/\"+\"DistrictDropdown\";\r\n }\r\n public DistrictDropdown(parameter: StationParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteDistrictDropdown(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(parameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteDistrictDropdown2 = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/DistrictDropdown2`;\r\n public RouteDistrictDropdown2() : string {\r\n return this.ControllerUrl + \"/\"+\"DistrictDropdown2\";\r\n }\r\n public DistrictDropdown2(parameter: DistrictParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteDistrictDropdown2(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(parameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteStationDropdown = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/StationDropdown`;\r\n public RouteStationDropdown() : string {\r\n return this.ControllerUrl + \"/\"+\"StationDropdown\";\r\n }\r\n public StationDropdown(parameter: StationParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteStationDropdown(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(parameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteAirQualityTypeList = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/AirQualityTypeList`;\r\n public RouteAirQualityTypeList() : string {\r\n return this.ControllerUrl + \"/\"+\"AirQualityTypeList\";\r\n }\r\n public AirQualityTypeList(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteAirQualityTypeList(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindSummaryWeb = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/FindSummaryWeb`;\r\n public RouteFindSummaryWeb() : string {\r\n return this.ControllerUrl + \"/\"+\"FindSummaryWeb\";\r\n }\r\n public FindSummaryWeb(parameter: DashboardSearchParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindSummaryWeb(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(parameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindDefaultStation = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/DashboardAppService/FindDefaultStation`;\r\n public RouteFindDefaultStation() : string {\r\n return this.ControllerUrl + \"/\"+\"FindDefaultStation\";\r\n }\r\n public FindDefaultStation(locationRequest: LocationRequest): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindDefaultStation(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(locationRequest),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default DashboardAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\nclass DashboardSearchCriteria \r\n{\r\n \r\n StationId: string;\r\n \r\n StationIds: any;\r\n \r\n PeriodType: number;\r\n \r\n OutputType: number;\r\n \r\n DateTimeStart: Date;\r\n \r\n DateTimeEnd: Date;\r\n \r\n AirQualityTypeList: any;\r\n \r\n DistrictId: string;\r\n \r\n DistrictGroupId: string;\r\n \r\n IsCreate: boolean;\r\n \r\n}\r\n \r\nexport default DashboardSearchCriteria;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n import DashboardSearchCriteria from 'Modules/Aqs/Scripts/AppServiceContract/DashboardSearchCriteria';\r\n\r\n import PagingCriteria from 'Lib/Fs.Core.Data/PagingCriteria';\r\n\r\n \r\nclass DashboardSearchParameter \r\n{\r\n \r\n Criteria: DashboardSearchCriteria;\r\n \r\n SortingCriteria: any;\r\n \r\n PagingCriteria: PagingCriteria;\r\n \r\n}\r\n \r\nexport default DashboardSearchParameter;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\nclass DistrictParameter \r\n{\r\n \r\n DistrictGroupId: string;\r\n \r\n DistrictId: string;\r\n \r\n DistrictName: string;\r\n \r\n StationId: string;\r\n \r\n StationName: string;\r\n \r\n}\r\n \r\nexport default DistrictParameter;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\nclass IssueData \r\n{\r\n \r\n Id: string;\r\n \r\n Title: string;\r\n \r\n Description: string;\r\n \r\n RequestorName: string;\r\n \r\n RequestorEmail: string;\r\n \r\n RequestorPhone: string;\r\n \r\n ApproveByUser: string;\r\n \r\n ApproveDate: Date;\r\n \r\n IssueDate: Date;\r\n \r\n Status: any;\r\n \r\n IssueType: any;\r\n \r\n FileInfoList: any;\r\n \r\n}\r\n \r\nexport default IssueData;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import AirQualityIndexViewPageData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityIndexViewPageData';\r\n\r\n\r\n //module PublicAirQualityIndexViewPageAppService {\r\n class PublicAirQualityIndexViewPageAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/PublicAirQualityIndexViewPageAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/PublicAirQualityIndexViewPageAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteLoadAirQualityIndexViewPage = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityIndexViewPageAppService/LoadAirQualityIndexViewPage`;\r\n public RouteLoadAirQualityIndexViewPage() : string {\r\n return this.ControllerUrl + \"/\"+\"LoadAirQualityIndexViewPage\";\r\n }\r\n public LoadAirQualityIndexViewPage(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteLoadAirQualityIndexViewPage(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default PublicAirQualityIndexViewPageAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import StationAirQualityData from 'Modules/Aqs/Scripts/AppServiceContract/StationAirQualityData';\r\n\r\n import StationCriteria from 'Modules/Aqs/Scripts/AppServiceContract/StationCriteria';\r\n\r\n import StationData from 'Modules/Aqs/Scripts/AppServiceContract/StationData';\r\n\r\n import DistrictData from 'Modules/Aqs/Scripts/AppServiceContract/DistrictData';\r\n\r\n import DistrictGroupData from 'Modules/Aqs/Scripts/AppServiceContract/DistrictGroupData';\r\n\r\n import AirQualityIndexData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityIndexData';\r\n\r\n import AirQualityAreaData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityAreaData';\r\n\r\n import AirQualityTypeData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityTypeData';\r\n\r\n import StationAirQualityDataForNotifications from 'Modules/Aqs/Scripts/AppServiceContract/StationAirQualityDataForNotifications';\r\n\r\n import ViewDailyMinMaxCriteria from 'Modules/Aqs/Scripts/AppServiceContract/ViewDailyMinMaxCriteria';\r\n\r\n import ViewDailyMinMaxData from 'Modules/Aqs/Scripts/AppServiceContract/ViewDailyMinMaxData';\r\n\r\n import SummaryCriteria from 'Modules/Aqs/Scripts/AppServiceContract/SummaryCriteria';\r\n\r\n import SummaryData from 'Modules/Aqs/Scripts/AppServiceContract/SummaryData';\r\n\r\n import AirQualityIndexItemData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityIndexItemData';\r\n\r\n\r\n //module PublicAirQualityMapAppService {\r\n class PublicAirQualityMapAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/PublicAirQualityMapAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/PublicAirQualityMapAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteFind2 = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/Find2`;\r\n public RouteFind2() : string {\r\n return this.ControllerUrl + \"/\"+\"Find2\";\r\n }\r\n public Find2(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFind2(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFind = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/Find`;\r\n public RouteFind() : string {\r\n return this.ControllerUrl + \"/\"+\"Find\";\r\n }\r\n public Find(criteria: StationCriteria): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFind(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(criteria),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteDistrictDropdown = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/DistrictDropdown`;\r\n public RouteDistrictDropdown() : string {\r\n return this.ControllerUrl + \"/\"+\"DistrictDropdown\";\r\n }\r\n public DistrictDropdown(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteDistrictDropdown(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteDistrictGroupDropdown = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/DistrictGroupDropdown`;\r\n public RouteDistrictGroupDropdown() : string {\r\n return this.ControllerUrl + \"/\"+\"DistrictGroupDropdown\";\r\n }\r\n public DistrictGroupDropdown(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteDistrictGroupDropdown(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteAirQualityIndexList = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/AirQualityIndexList`;\r\n public RouteAirQualityIndexList() : string {\r\n return this.ControllerUrl + \"/\"+\"AirQualityIndexList\";\r\n }\r\n public AirQualityIndexList(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteAirQualityIndexList(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindAirQualityArea = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindAirQualityArea`;\r\n public RouteFindAirQualityArea() : string {\r\n return this.ControllerUrl + \"/\"+\"FindAirQualityArea\";\r\n }\r\n public FindAirQualityArea(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindAirQualityArea(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindAirQualityType = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindAirQualityType`;\r\n public RouteFindAirQualityType() : string {\r\n return this.ControllerUrl + \"/\"+\"FindAirQualityType\";\r\n }\r\n public FindAirQualityType(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindAirQualityType(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindStationAirQualityDataForNotifications = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindStationAirQualityDataForNotifications`;\r\n public RouteFindStationAirQualityDataForNotifications() : string {\r\n return this.ControllerUrl + \"/\"+\"FindStationAirQualityDataForNotifications\";\r\n }\r\n public FindStationAirQualityDataForNotifications(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindStationAirQualityDataForNotifications(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindStation = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindStation`;\r\n public RouteFindStation() : string {\r\n return this.ControllerUrl + \"/\"+\"FindStation\";\r\n }\r\n public FindStation(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindStation(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/${encodeURIComponent(id)}\r\n //public static RouteFindStationById = (id: string) => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindStationById`;\r\n public RouteFindStationById(id: string) : string {\r\n return this.ControllerUrl + \"/\"+\"FindStationById\";\r\n }\r\n public FindStationById(id: string): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindStationById(id),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(id),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindDailyMinMax = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindDailyMinMax`;\r\n public RouteFindDailyMinMax() : string {\r\n return this.ControllerUrl + \"/\"+\"FindDailyMinMax\";\r\n }\r\n public FindDailyMinMax(criteria: ViewDailyMinMaxCriteria): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindDailyMinMax(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(criteria),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindSummary = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindSummary`;\r\n public RouteFindSummary() : string {\r\n return this.ControllerUrl + \"/\"+\"FindSummary\";\r\n }\r\n public FindSummary(criteria: SummaryCriteria): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindSummary(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(criteria),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindAirIndexItemTable = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAirQualityMapAppService/FindAirIndexItemTable`;\r\n public RouteFindAirIndexItemTable() : string {\r\n return this.ControllerUrl + \"/\"+\"FindAirIndexItemTable\";\r\n }\r\n public FindAirIndexItemTable(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindAirIndexItemTable(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default PublicAirQualityMapAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import NewsData from 'Modules/Aqs/Scripts/AppServiceContract/NewsData';\r\n\r\n import AirQualityIndexGroupData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityIndexGroupData';\r\n\r\n import AirQualityIndexItemData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityIndexItemData';\r\n\r\n import ConfigType from 'Modules/Aqs/Scripts/AppServiceContract/ConfigType';\r\n\r\n import LocationRequest from 'Modules/Aqs/Scripts/AppServiceContract/LocationRequest';\r\n\r\n import AirQualityForecastNCDFData from 'Modules/Aqs/Scripts/AppServiceContract/AirQualityForecastNCDFData';\r\n\r\n\r\n //module PublicAppService {\r\n class PublicAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/PublicAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/PublicAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteFindNews = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAppService/FindNews`;\r\n public RouteFindNews() : string {\r\n return this.ControllerUrl + \"/\"+\"FindNews\";\r\n }\r\n public FindNews(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindNews(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindAirIndex = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAppService/FindAirIndex`;\r\n public RouteFindAirIndex() : string {\r\n return this.ControllerUrl + \"/\"+\"FindAirIndex\";\r\n }\r\n public FindAirIndex(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindAirIndex(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteAirQualityIndexItemPMforMobile = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAppService/AirQualityIndexItemPMforMobile`;\r\n public RouteAirQualityIndexItemPMforMobile() : string {\r\n return this.ControllerUrl + \"/\"+\"AirQualityIndexItemPMforMobile\";\r\n }\r\n public AirQualityIndexItemPMforMobile(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteAirQualityIndexItemPMforMobile(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteAirQualityForecastConfigType = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAppService/AirQualityForecastConfigType`;\r\n public RouteAirQualityForecastConfigType() : string {\r\n return this.ControllerUrl + \"/\"+\"AirQualityForecastConfigType\";\r\n }\r\n public AirQualityForecastConfigType(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteAirQualityForecastConfigType(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteAirQualityForecastNCDF = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicAppService/AirQualityForecastNCDF`;\r\n public RouteAirQualityForecastNCDF() : string {\r\n return this.ControllerUrl + \"/\"+\"AirQualityForecastNCDF\";\r\n }\r\n public AirQualityForecastNCDF(locationRequest: LocationRequest): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteAirQualityForecastNCDF(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(locationRequest),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default PublicAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import IssueData from 'Modules/Aqs/Scripts/AppServiceContract/IssueData';\r\n\r\n\r\n //module PublicIssueAppService {\r\n class PublicIssueAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/PublicIssueAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/PublicIssueAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteAdd = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicIssueAppService/Add`;\r\n public RouteAdd() : string {\r\n return this.ControllerUrl + \"/\"+\"Add\";\r\n }\r\n public Add(request: IssueData): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteAdd(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(request),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default PublicIssueAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import PublicNewsSearchParameter from 'Modules/Aqs/Scripts/AppServiceContract/PublicNewsSearchParameter';\r\n\r\n import NewsData from 'Modules/Aqs/Scripts/AppServiceContract/NewsData';\r\n\r\n import PublicNewsCriteria from 'Modules/Aqs/Scripts/AppServiceContract/PublicNewsCriteria';\r\n\r\n import NewsTypeData from 'Modules/Aqs/Scripts/AppServiceContract/NewsTypeData';\r\n\r\n\r\n //module PublicNewsAppService {\r\n class PublicNewsAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/PublicNewsAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/PublicNewsAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteFind = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicNewsAppService/Find`;\r\n public RouteFind() : string {\r\n return this.ControllerUrl + \"/\"+\"Find\";\r\n }\r\n public Find(searchParameter: PublicNewsSearchParameter): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFind(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(searchParameter),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteCount = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicNewsAppService/Count`;\r\n public RouteCount() : string {\r\n return this.ControllerUrl + \"/\"+\"Count\";\r\n }\r\n public Count(criteria: PublicNewsCriteria): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteCount(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(criteria),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/?newsId=${encodeURIComponent(newsId)}\r\n //public static RouteLoadNews = (newsId: string) => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicNewsAppService/LoadNews`;\r\n public RouteLoadNews(newsId: string) : string {\r\n return this.ControllerUrl + \"/\"+\"LoadNews\";\r\n }\r\n public LoadNews(newsId: string): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteLoadNews(newsId),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(newsId),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindNewsType = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicNewsAppService/FindNewsType`;\r\n public RouteFindNewsType() : string {\r\n return this.ControllerUrl + \"/\"+\"FindNewsType\";\r\n }\r\n public FindNewsType(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindNewsType(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteFindLastNewType = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/PublicNewsAppService/FindLastNewType`;\r\n public RouteFindLastNewType() : string {\r\n return this.ControllerUrl + \"/\"+\"FindLastNewType\";\r\n }\r\n public FindLastNewType(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteFindLastNewType(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default PublicNewsAppService;\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\nclass PublicNewsCriteria \r\n{\r\n \r\n NewsTypeId: string;\r\n \r\n EffectiveDateForm: Date;\r\n \r\n EffectiveDateTo: Date;\r\n \r\n}\r\n \r\nexport default PublicNewsCriteria;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n import PublicNewsCriteria from 'Modules/Aqs/Scripts/AppServiceContract/PublicNewsCriteria';\r\n\r\n import PagingCriteria from 'Lib/Fs.Core.Data/PagingCriteria';\r\n\r\n \r\nclass PublicNewsSearchParameter \r\n{\r\n \r\n Criteria: PublicNewsCriteria;\r\n \r\n SortingCriteria: any;\r\n \r\n PagingCriteria: PagingCriteria;\r\n \r\n}\r\n \r\nexport default PublicNewsSearchParameter;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\nclass StationParameter \r\n{\r\n \r\n DistrictId: string;\r\n \r\n DistrictGroupId: string;\r\n \r\n StationId: string;\r\n \r\n StationName: string;\r\n \r\n}\r\n \r\nexport default StationParameter;\r\n \r\n\r\n\r\n\r\n\r\n","\r\n \r\n\r\n\r\n\r\n \r\n import {fs} from \"Config/FsConfig\";\r\n \r\n import FileData from 'Modules/Core/Scripts/AppServiceContract/FileData';\r\n\r\n import AttachmentRequest from 'Modules/Aqs/Scripts/AppServiceContract/AttachmentRequest';\r\n\r\n import FileInfoData from 'Modules/Core/Scripts/FileInfoData';\r\n\r\n\r\n //module UploadFileAppService {\r\n class UploadFileAppService {\r\n\r\n ControllerUrl : string\r\n Options : JQueryAjaxSettings\r\n\r\n constructor(serverBaseUrl : string = null, controllerPath : string = null, ajaxOptions : JQueryAjaxSettings = null){\r\n this.ControllerUrl = ((serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : serverBaseUrl) + ((controllerPath == null) ? \"modules/Aqs.AppService/UploadFileAppService\" : controllerPath);\r\n this.Options = ajaxOptions;\r\n }\r\n\r\n public Init(options : any = { serverBaseUrl : null, controllerPath : null, ajaxOptions : null }){\r\n this.ControllerUrl = ((options.serverBaseUrl == null) ? fs.Config.ServiceBaseUrl : options.serverBaseUrl) + ((options.controllerPath == null) ? \"modules/Aqs.AppService/UploadFileAppService\" : options.controllerPath);\r\n this.Options = options.ajaxOptions;\r\n\r\n return this;\r\n }\r\n\r\n \r\n // post: api/${controller}/\r\n //public static RouteUpload = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/UploadFileAppService/Upload`;\r\n public RouteUpload() : string {\r\n return this.ControllerUrl + \"/\"+\"Upload\";\r\n }\r\n public Upload(): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteUpload(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: null,\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n // post: api/${controller}/\r\n //public static RouteUpdateAttachment = () => this.ServiceUrl + `modules/Aqs.AppServiceContract/UploadFileAppService/UpdateAttachment`;\r\n public RouteUpdateAttachment() : string {\r\n return this.ControllerUrl + \"/\"+\"UpdateAttachment\";\r\n }\r\n public UpdateAttachment(importRequest: AttachmentRequest): JQuery.jqXHR {\r\n return $.ajax({\r\n url: this.RouteUpdateAttachment(),\r\n contentType: 'application/json; charset=utf-8',\r\n dataType: \"json\",\r\n type: 'post',\r\n data: JSON.stringify(importRequest),\r\n async: this.Options == null || this.Options.async == null ? true : this.Options.async\r\n });\r\n } \r\n \r\n}\r\n\r\nexport default UploadFileAppService;\r\n\r\n\r\n\r\n"],"names":[],"sourceRoot":""}