| | |
| | | /** 调度单创建接口路径 */ |
| | | private String dispatchCreatePath = "/admin_save_24.gds"; |
| | | |
| | | /** 任务状态查询接口路径(已弃用,直接查询SQL Server数据库) */ |
| | | @Deprecated |
| | | private String statusQueryPath = "/task_status_query.asp"; |
| | | |
| | | /** 连接超时时间(毫秒) */ |
| | | private int connectTimeout = 30000; |
| | | |
| | |
| | | public String getDispatchCreateUrl() { |
| | | return baseUrl + dispatchCreatePath; |
| | | } |
| | | |
| | | public String getStatusQueryPath() { |
| | | return statusQueryPath; |
| | | } |
| | | |
| | | public void setStatusQueryPath(String statusQueryPath) { |
| | | this.statusQueryPath = statusQueryPath; |
| | | } |
| | | |
| | | /** |
| | | * 获取完整的状态查询URL |
| | | */ |
| | | public String getStatusQueryUrl() { |
| | | return baseUrl + statusQueryPath; |
| | | } |
| | | } |