fix: 规约修改over
This commit is contained in:
@@ -11,7 +11,7 @@ package org.nl.acs.auto.initial;
|
|||||||
*/
|
*/
|
||||||
public interface ApplicationAutoInitial {
|
public interface ApplicationAutoInitial {
|
||||||
/**
|
/**
|
||||||
*
|
* 执行实现的autoInitial方法
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
void autoInitial() throws Exception;
|
void autoInitial() throws Exception;
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ public class ApplicationAutoInitialExecuter {
|
|||||||
|
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
ApplicationAutoInitial service = (ApplicationAutoInitial) it.next();
|
ApplicationAutoInitial service = (ApplicationAutoInitial) it.next();
|
||||||
service.autoInitial(); // 执行实现的autoInitial方法
|
// 执行实现的autoInitial方法
|
||||||
|
service.autoInitial();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ package org.nl.acs.auto.initial;
|
|||||||
*/
|
*/
|
||||||
public interface WebAutoInitial {
|
public interface WebAutoInitial {
|
||||||
/**
|
/**
|
||||||
*
|
* autoInitial
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
void autoInitial() throws Exception;
|
void autoInitial() throws Exception;
|
||||||
|
|||||||
@@ -71,10 +71,10 @@ public abstract class AbstractAutoRunnable implements Runnable {
|
|||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return this.getName();
|
return this.getName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*autoRun
|
* autoRun
|
||||||
* @return autoRun
|
* @throws Exception
|
||||||
* @throws
|
|
||||||
*/
|
*/
|
||||||
public abstract void autoRun() throws Exception;
|
public abstract void autoRun() throws Exception;
|
||||||
|
|
||||||
|
|||||||
@@ -9,16 +9,37 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface DeviceDriver {
|
public interface DeviceDriver {
|
||||||
|
/**
|
||||||
|
* getDeviceCode
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getDeviceCode() {
|
default String getDeviceCode() {
|
||||||
return this.getDevice().getDevice_code();
|
return this.getDevice().getDevice_code();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDevice
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
Device getDevice();
|
Device getDevice();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDriverDefination
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
DeviceDriverDefination getDriverDefination();
|
DeviceDriverDefination getDriverDefination();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* setDriverDefination
|
||||||
|
* @param var1
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
DeviceDriver setDriverDefination(DeviceDriverDefination var1);
|
DeviceDriver setDriverDefination(DeviceDriverDefination var1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDriverDefinationCode
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getDriverDefinationCode() {
|
default String getDriverDefinationCode() {
|
||||||
return this.getDriverDefination().getDriverCode();
|
return this.getDriverDefination().getDriverCode();
|
||||||
}
|
}
|
||||||
@@ -43,6 +64,11 @@ public interface DeviceDriver {
|
|||||||
return devicesList;
|
return devicesList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getModeName
|
||||||
|
* @param mode
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getModeName(String mode) {
|
default String getModeName(String mode) {
|
||||||
if (StrUtil.equals("0", mode)) {
|
if (StrUtil.equals("0", mode)) {
|
||||||
mode = "脱机";
|
mode = "脱机";
|
||||||
|
|||||||
@@ -6,15 +6,40 @@ import org.nl.acs.device.enums.DeviceType;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface DeviceDriverDefination {
|
public interface DeviceDriverDefination {
|
||||||
|
/**
|
||||||
|
* getDriverCode
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
String getDriverCode();
|
String getDriverCode();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDriverName
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
String getDriverName();
|
String getDriverName();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDriverDescription
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
String getDriverDescription();
|
String getDriverDescription();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDriverInstance
|
||||||
|
* @param device
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
DeviceDriver getDriverInstance(Device device);
|
DeviceDriver getDriverInstance(Device device);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDeviceDriverType
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
Class<? extends DeviceDriver> getDeviceDriverType();
|
Class<? extends DeviceDriver> getDeviceDriverType();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getFitDeviceTypes
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
List<DeviceType> getFitDeviceTypes();
|
List<DeviceType> getFitDeviceTypes();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ public interface HeartbeatableDeviceDriver extends DeviceDriver {
|
|||||||
default void checkHeartbeat() {
|
default void checkHeartbeat() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* isOnline
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default boolean isOnline() {
|
default boolean isOnline() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,18 @@
|
|||||||
package org.nl.acs.device_driver;
|
package org.nl.acs.device_driver;
|
||||||
|
|
||||||
public interface RouteableDeviceDriver extends DeviceDriver {
|
public interface RouteableDeviceDriver extends DeviceDriver {
|
||||||
|
/**
|
||||||
|
* isEntrance
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default boolean isEntrance() {
|
default boolean isEntrance() {
|
||||||
return this.getDevice().getIs_entrance();
|
return this.getDevice().getIs_entrance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* isExist
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default boolean isExist() {
|
default boolean isExist() {
|
||||||
return this.getDevice().getIs_exist();
|
return this.getDevice().getIs_exist();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,20 @@
|
|||||||
package org.nl.acs.device_driver;
|
package org.nl.acs.device_driver;
|
||||||
|
|
||||||
public interface ScannerDeviceDriver extends DeviceDriver {
|
public interface ScannerDeviceDriver extends DeviceDriver {
|
||||||
|
/**
|
||||||
|
* writeBarcode
|
||||||
|
* @param var1
|
||||||
|
*/
|
||||||
void writeBarcode(String var1);
|
void writeBarcode(String var1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* cleanBarcode
|
||||||
|
*/
|
||||||
void cleanBarcode();
|
void cleanBarcode();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* readBarcode
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
String readBarcode();
|
String readBarcode();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,26 +4,50 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface StorageDeviceDriver extends DeviceDriver {
|
public interface StorageDeviceDriver extends DeviceDriver {
|
||||||
|
/**
|
||||||
|
* getConfigForbidFront
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<Integer> getConfigForbidFront() {
|
default List<Integer> getConfigForbidFront() {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getConfigCantFront
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<Integer> getConfigCantFront() {
|
default List<Integer> getConfigCantFront() {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getConfigCantBack
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<Integer> getConfigCantBack() {
|
default List<Integer> getConfigCantBack() {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getConfigForbidFrontLocation
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<String> getConfigForbidFrontLocation() {
|
default List<String> getConfigForbidFrontLocation() {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getConfigCantFrontLocation
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<String> getConfigCantFrontLocation() {
|
default List<String> getConfigCantFrontLocation() {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getConfigCantBackLocation
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<String> getConfigCantBackLocation() {
|
default List<String> getConfigCantBackLocation() {
|
||||||
return new ArrayList();
|
return new ArrayList();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
package org.nl.acs.device_driver.agv.utils;
|
package org.nl.acs.device_driver.agv.utils;
|
||||||
|
|
||||||
public interface IAgv {
|
public interface IAgv {
|
||||||
|
/**
|
||||||
|
* 获取phase名称
|
||||||
|
* @param phase
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
String getPhaseName(Integer phase);
|
String getPhaseName(Integer phase);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,15 @@ import org.nl.acs.device_driver.DeviceDriverDefination;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public interface OpcDeviceDriverDefination extends DeviceDriverDefination {
|
public interface OpcDeviceDriverDefination extends DeviceDriverDefination {
|
||||||
|
/**
|
||||||
|
* getReadableItemDtos
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
List<ItemDto> getReadableItemDtos();
|
List<ItemDto> getReadableItemDtos();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getWriteableItemDtos
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
List<ItemDto> getWriteableItemDtos();
|
List<ItemDto> getWriteableItemDtos();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,10 @@ package org.nl.acs.device_driver.driver;
|
|||||||
import org.nl.acs.device_driver.DeviceDriver;
|
import org.nl.acs.device_driver.DeviceDriver;
|
||||||
|
|
||||||
public interface ExecutableDeviceDriver extends DeviceDriver {
|
public interface ExecutableDeviceDriver extends DeviceDriver {
|
||||||
|
/**
|
||||||
|
* executeAuto
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
default void executeAuto() throws Exception {
|
default void executeAuto() throws Exception {
|
||||||
// try {
|
// try {
|
||||||
// this.execute();
|
// this.execute();
|
||||||
@@ -15,5 +19,9 @@ public interface ExecutableDeviceDriver extends DeviceDriver {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* execute
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
void execute() throws Exception;
|
void execute() throws Exception;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,10 +21,18 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public interface OpcDeviceDriver extends DeviceDriver {
|
public interface OpcDeviceDriver extends DeviceDriver {
|
||||||
|
/**
|
||||||
|
* getOpcValueAccessor
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
UnifiedDataAccessor getOpcValueAccessor();
|
UnifiedDataAccessor getOpcValueAccessor();
|
||||||
|
|
||||||
DeviceExtraMapper deviceExtraMapper = SpringContextHolder.getBean("deviceExtraMapper");
|
DeviceExtraMapper deviceExtraMapper = SpringContextHolder.getBean("deviceExtraMapper");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getOpcItems
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default List<OpcItemDto> getOpcItems() {
|
default List<OpcItemDto> getOpcItems() {
|
||||||
|
|
||||||
List<OpcItemDto> returns = new ArrayList();
|
List<OpcItemDto> returns = new ArrayList();
|
||||||
@@ -54,38 +62,78 @@ public interface OpcDeviceDriver extends DeviceDriver {
|
|||||||
return returns;
|
return returns;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getExtraValue
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Map<String, Object> getExtraValue() {
|
default Map<String, Object> getExtraValue() {
|
||||||
return this.getDevice().getExtraValue();
|
return this.getDevice().getExtraValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getOpcServer
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getOpcServer() {
|
default String getOpcServer() {
|
||||||
return this.getDevice().getOpc_server_code();
|
return this.getDevice().getOpc_server_code();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getDevice
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
Device getDevice();
|
Device getDevice();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getOpcPlc
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getOpcPlc() {
|
default String getOpcPlc() {
|
||||||
return this.getDevice().getOpc_plc_code();
|
return this.getDevice().getOpc_plc_code();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getIntegeregerValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Integer getIntegeregerValue(String protocol) {
|
default Integer getIntegeregerValue(String protocol) {
|
||||||
return (Integer) this.getValue(protocol);
|
return (Integer) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getStringgerValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getStringgerValue(String protocol) {
|
default String getStringgerValue(String protocol) {
|
||||||
return (String) this.getValue(protocol);
|
return (String) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getLongValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Long getLongValue(String protocol) {
|
default Long getLongValue(String protocol) {
|
||||||
return (Long) this.getValue(protocol);
|
return (Long) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getByteArrayValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Byte[] getByteArrayValue(String protocol) {
|
default Byte[] getByteArrayValue(String protocol) {
|
||||||
return (Byte[]) this.getValue(protocol);
|
return (Byte[]) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getIntegerArrayValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default int[] getIntegerArrayValue(String protocol) {
|
default int[] getIntegerArrayValue(String protocol) {
|
||||||
return (int[]) this.getValue(protocol);
|
return (int[]) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
@@ -100,34 +148,74 @@ public interface OpcDeviceDriver extends DeviceDriver {
|
|||||||
// return (Float) this.getValue(protocol);
|
// return (Float) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getFloatValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Float getFloatValue(String protocol) {
|
default Float getFloatValue(String protocol) {
|
||||||
return (Float) this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
return (Float) this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getIntegerValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Integer getIntegerValue(String protocol) {
|
default Integer getIntegerValue(String protocol) {
|
||||||
return (Integer) this.getValue(protocol);
|
return (Integer) this.getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getShortValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Short getShortValue(String protocol) {
|
default Short getShortValue(String protocol) {
|
||||||
return (Short) this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
return (Short) this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getIntegeregerArrayValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default int[] getIntegeregerArrayValue(String protocol) {
|
default int[] getIntegeregerArrayValue(String protocol) {
|
||||||
return (int[]) this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
return (int[]) this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getStringValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getStringValue(String protocol) {
|
default String getStringValue(String protocol) {
|
||||||
return this.getOpcValueAccessor().getValue(this.getItem(protocol)).toString();
|
return this.getOpcValueAccessor().getValue(this.getItem(protocol)).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Object getValue(String protocol) {
|
default Object getValue(String protocol) {
|
||||||
return this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
return this.getOpcValueAccessor().getValue(this.getItem(protocol));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getItem
|
||||||
|
* @param item
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default String getItem(String item) {
|
default String getItem(String item) {
|
||||||
return this.getOpcServer() + "." + this.getOpcPlc() + "." + this.getDeviceCode() + "." + item;
|
return this.getOpcServer() + "." + this.getOpcPlc() + "." + this.getDeviceCode() + "." + item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* getUdwValue
|
||||||
|
* @param protocol
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
default Object getUdwValue(String protocol) {
|
default Object getUdwValue(String protocol) {
|
||||||
return this.getOpcValueAccessor().getValue(protocol);
|
return this.getOpcValueAccessor().getValue(protocol);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,12 @@ import org.nl.acs.instruction.domain.Instruction;
|
|||||||
*/
|
*/
|
||||||
public interface AcsToLiKuService {
|
public interface AcsToLiKuService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* sendInst
|
||||||
|
* @param type
|
||||||
|
* @param inst
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public Resp sendInst(String type, Instruction inst);
|
public Resp sendInst(String type, Instruction inst);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -65,7 +70,7 @@ public interface AcsToLiKuService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 巷道锁定与解锁
|
* 巷道锁定与解锁
|
||||||
*
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Resp<RoadWayIsLockResponse> roadWayIsLock(RoadWayIsLockRequest requestParam);
|
public Resp<RoadWayIsLockResponse> roadWayIsLock(RoadWayIsLockRequest requestParam);
|
||||||
@@ -73,28 +78,28 @@ public interface AcsToLiKuService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 取消任务
|
* 取消任务
|
||||||
*
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Resp<CancelTaskResponse> cancelTask(CancelTaskRequest requestParam);
|
public Resp<CancelTaskResponse> cancelTask(CancelTaskRequest requestParam);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询小车设备状态
|
* 查询小车设备状态
|
||||||
*
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Resp<DeviceStatusResponse> queryCarDeviceStatus(DeviceStatusRequest requestParam);
|
public Resp<DeviceStatusResponse> queryCarDeviceStatus(DeviceStatusRequest requestParam);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询tsj设备状态
|
* 查询tsj设备状态
|
||||||
*
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Resp<DeviceStatusResponse> queryTsjDeviceStatus(DeviceStatusRequest requestParam);
|
public Resp<DeviceStatusResponse> queryTsjDeviceStatus(DeviceStatusRequest requestParam);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询ssx设备状态
|
* 查询ssx设备状态
|
||||||
*
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public Resp<DeviceStatusResponse> querySsxDeviceStatus(DeviceStatusRequest requestParam);
|
public Resp<DeviceStatusResponse> querySsxDeviceStatus(DeviceStatusRequest requestParam);
|
||||||
|
|||||||
@@ -9,17 +9,25 @@ public interface AcsToWmsService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ACS向WMS申请任务
|
* ACS向WMS申请任务
|
||||||
|
* @param jo
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
String applyTaskToWms(JSONObject jo);
|
String applyTaskToWms(JSONObject jo);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 向WMS反馈任务状态
|
* 向WMS反馈任务状态
|
||||||
*
|
* @param arr
|
||||||
* @return Map<String, Object>
|
* @return
|
||||||
*/
|
*/
|
||||||
public HttpResponse feedbackTaskStatusToWms(JSONArray arr);
|
public HttpResponse feedbackTaskStatusToWms(JSONArray arr);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 请求任务
|
||||||
|
* @param address
|
||||||
|
* @param task_id
|
||||||
|
* @param vehicle_code
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public String requestTaskAgain(String address, String task_id, String vehicle_code);
|
public String requestTaskAgain(String address, String task_id, String vehicle_code);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -84,16 +92,22 @@ public interface AcsToWmsService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* ACS向WMS申请任务
|
* ACS向WMS申请任务
|
||||||
|
* @param request
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
String applyTask(BaseRequest request);
|
String applyTask(BaseRequest request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACS向WMS反馈任务状态
|
* ACS向WMS反馈任务状态
|
||||||
|
* @param request
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
String feedTaskStatus(BaseRequest request);
|
String feedTaskStatus(BaseRequest request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ACS向WMS反馈任务状态
|
* ACS向WMS反馈任务状态
|
||||||
|
* @param request
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
String notify(BaseRequest request);
|
String notify(BaseRequest request);
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ public interface LiKuToAcsService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 入库任务上报
|
* 入库任务上报
|
||||||
*
|
|
||||||
* @param requestParam
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public Resp<InStoreReportResponse> inStoreReport(InStoreReportRequest requestParam) throws Exception;
|
public Resp<InStoreReportResponse> inStoreReport(InStoreReportRequest requestParam) throws Exception;
|
||||||
|
|
||||||
@@ -21,6 +21,7 @@ public interface LiKuToAcsService {
|
|||||||
*
|
*
|
||||||
* @param requestParam
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public Resp<OutStoreReportResponse> outStoreReport(OutStoreReportRequest requestParam) throws Exception;
|
public Resp<OutStoreReportResponse> outStoreReport(OutStoreReportRequest requestParam) throws Exception;
|
||||||
|
|
||||||
@@ -29,6 +30,7 @@ public interface LiKuToAcsService {
|
|||||||
*
|
*
|
||||||
* @param requestParam
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public Resp<MoveStoreReportResponse> moveStoreReport(MoveStoreReportRequest requestParam) throws Exception;
|
public Resp<MoveStoreReportResponse> moveStoreReport(MoveStoreReportRequest requestParam) throws Exception;
|
||||||
|
|
||||||
@@ -38,6 +40,7 @@ public interface LiKuToAcsService {
|
|||||||
*
|
*
|
||||||
* @param requestParam
|
* @param requestParam
|
||||||
* @return
|
* @return
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public Resp<DeviceStatusResponse> putEmptyPallet(putEmptyPalletRequest requestParam) throws Exception;
|
public Resp<DeviceStatusResponse> putEmptyPallet(putEmptyPalletRequest requestParam) throws Exception;
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,11 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public interface WmsToAcsService {
|
public interface WmsToAcsService {
|
||||||
|
/**
|
||||||
|
* crateTask
|
||||||
|
* @param param
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
org.nl.acs.ext.wms.data.CreateTaskResponse crateTask(String param);
|
org.nl.acs.ext.wms.data.CreateTaskResponse crateTask(String param);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -22,8 +26,9 @@ public interface WmsToAcsService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 取消任务
|
* 取消任务
|
||||||
*
|
* @param reqs
|
||||||
* @param reqs 条件
|
* @return
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
CancelTaskResponse cancelFromWms(List<CancelTaskRequest> reqs) throws Exception;
|
CancelTaskResponse cancelFromWms(List<CancelTaskRequest> reqs) throws Exception;
|
||||||
|
|
||||||
@@ -45,9 +50,9 @@ public interface WmsToAcsService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 下发动作
|
* 下发动作
|
||||||
*
|
* @param jsonObject
|
||||||
* @param jsonObject 条件
|
* @return
|
||||||
* @return Map<String, Object>
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
org.nl.acs.ext.wms.data.PutActionResponse putAction(String jsonObject) throws Exception;
|
org.nl.acs.ext.wms.data.PutActionResponse putAction(String jsonObject) throws Exception;
|
||||||
|
|
||||||
|
|||||||
@@ -63,23 +63,23 @@ public interface RouteLocService extends CommonService<RouteLoc> {
|
|||||||
int insert(RouteLocDto resources);
|
int insert(RouteLocDto resources);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 编辑数据
|
* updateById
|
||||||
*
|
* @param resources
|
||||||
* @param resources /
|
* @return
|
||||||
*/
|
*/
|
||||||
int updateById(RouteLocDto resources);
|
int updateById(RouteLocDto resources);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除数据
|
* 删除数据
|
||||||
*
|
* @param id
|
||||||
* @param id ID
|
* @return
|
||||||
*/
|
*/
|
||||||
int removeById(String id);
|
int removeById(String id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除数据
|
* 批量删除数据
|
||||||
*
|
* @param ids
|
||||||
* @param ids ID集合
|
* @return
|
||||||
*/
|
*/
|
||||||
int removeByIds(Set<String> ids);
|
int removeByIds(Set<String> ids);
|
||||||
|
|
||||||
|
|||||||
@@ -65,22 +65,22 @@ public interface RoutePlanService extends CommonService<RoutePlan> {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改数据
|
* 修改数据
|
||||||
*
|
* @param resources
|
||||||
* @param resources /
|
* @return
|
||||||
*/
|
*/
|
||||||
int updateById(RoutePlanDto resources);
|
int updateById(RoutePlanDto resources);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除数据
|
* 删除数据
|
||||||
*
|
* @param id
|
||||||
* @param id ID
|
* @return
|
||||||
*/
|
*/
|
||||||
int removeById(String id);
|
int removeById(String id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除数据
|
* 批量删除数据
|
||||||
*
|
* @param ids
|
||||||
* @param ids ID集合
|
* @return
|
||||||
*/
|
*/
|
||||||
int removeByIds(Set<String> ids);
|
int removeByIds(Set<String> ids);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user