package com.zy.asrs.wms.apis.wcs.entity.domain;
|
|
|
import lombok.Data;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
//@ConfigurationProperties(prefix = "rcs")
|
@Component
|
@Data
|
public class SystemProperties {
|
|
/***RCS基础API HOST*/
|
@Value("${rcs.baseHost}")
|
private String baseHost;
|
|
/***RCS上报任务状态*/
|
@Value("${rcs.issueTaskOfEvent}")
|
private String issueTaskOfEvent;
|
|
/**RCS通知传输线流动*/
|
@Value("${rcs.conveyorStart}")
|
private String conveyorStart;
|
|
/**ESS接收任务下发接口*/
|
@Value("${rcs.essReceiveTask}")
|
private String essReceiveTask;
|
|
private static String HOST = "http://localhost:8080";
|
//
|
// public static String ISSUE_TASK_OF_EVENT = HOST + "/task/create";
|
//
|
// public static String CONVEYOR_START = HOST + "/conveyor/moveContainer";
|
//
|
public static String SLAP_LIGHT = HOST + "/expand/api/equipment/ptl/sendCommand";
|
|
|
}
|