| | |
| | | /** 调度单创建接口路径 */ |
| | | private String dispatchCreatePath = "/admin_save_24.gds"; |
| | | |
| | | /** 调度单更新接口路径(车辆/人员变更) */ |
| | | private String dispatchUpdatePath = "/admin_save_25.asp"; |
| | | |
| | | /** 任务状态查询接口路径(已弃用,直接查询SQL Server数据库) */ |
| | | @Deprecated |
| | | private String statusQueryPath = "/task_status_query.asp"; |
| | | |
| | | private String fileUploadUrl; |
| | | |
| | | private String fileServerUrl; |
| | | |
| | | /** 连接超时时间(毫秒) */ |
| | | private int connectTimeout = 30000; |
| | | |
| | |
| | | return baseUrl; |
| | | } |
| | | |
| | | public String getFileUploadUrl(){ |
| | | return fileUploadUrl; |
| | | } |
| | | |
| | | public void setFileUploadUrl(String fileUploadUrl){ |
| | | this.fileUploadUrl = fileUploadUrl; |
| | | } |
| | | |
| | | public String getFileServerUrl(){ |
| | | return fileServerUrl; |
| | | } |
| | | |
| | | public void setFileServerUrl(String fileServerUrl){ |
| | | this.fileServerUrl = fileServerUrl; |
| | | } |
| | | public void setBaseUrl(String baseUrl) { |
| | | this.baseUrl = baseUrl; |
| | | } |
| | |
| | | |
| | | public void setDispatchCreatePath(String dispatchCreatePath) { |
| | | this.dispatchCreatePath = dispatchCreatePath; |
| | | } |
| | | |
| | | public String getDispatchUpdatePath() { |
| | | return dispatchUpdatePath; |
| | | } |
| | | |
| | | public void setDispatchUpdatePath(String dispatchUpdatePath) { |
| | | this.dispatchUpdatePath = dispatchUpdatePath; |
| | | } |
| | | |
| | | public int getConnectTimeout() { |
| | |
| | | public String getDispatchCreateUrl() { |
| | | return baseUrl + dispatchCreatePath; |
| | | } |
| | | |
| | | /** |
| | | * 获取完整的调度单更新URL(车辆/人员变更) |
| | | */ |
| | | public String getDispatchUpdateUrl() { |
| | | return baseUrl + dispatchUpdatePath; |
| | | } |
| | | |
| | | public String getStatusQueryPath() { |
| | | return statusQueryPath; |
| | | } |
| | | |
| | | public void setStatusQueryPath(String statusQueryPath) { |
| | | this.statusQueryPath = statusQueryPath; |
| | | } |
| | | |
| | | /** |
| | | * 获取完整的状态查询URL |
| | | */ |
| | | public String getStatusQueryUrl() { |
| | | return baseUrl + statusQueryPath; |
| | | } |
| | | } |