| | |
| | | import com.hikvision.artemis.sdk.ArtemisHttpUtil; |
| | | import com.hikvision.artemis.sdk.config.ArtemisConfig; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.apache.http.HttpEntity; |
| | | import org.apache.http.HttpResponse; |
| | | import org.apache.tomcat.util.bcel.Const; |
| | |
| | | } |
| | | /** |
| | | * 获取月台状态 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String platformStatus(String param) { |
| | | return startDoPostStringArtemis(HKConstants.InterfacePath.platformStatus+"?platformIds="+param,null); |
| | | if(StringUtils.isNotBlank(param)){ |
| | | return startDoPostStringArtemis(HKConstants.InterfacePath.platformStatus+"?platformIds="+param,null); |
| | | }else{ |
| | | return startDoPostStringArtemis(HKConstants.InterfacePath.platformStatus,null); |
| | | } |
| | | } |
| | | /** |
| | | * 获取月台组件配置的LED设备清单 |