feat(接口): EDC接口
1. 修改edc接口的message_id值与接口文档一致
This commit is contained in:
parent
f925491f76
commit
ed18d93596
@ -21,7 +21,7 @@ import java.time.format.DateTimeFormatter;
|
||||
* 保护膜放卷与换轴采集
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@Service("EAP_BASE_FILM_WINDING_COLLECTION")
|
||||
@Service("down.switch.process")
|
||||
public class EapBaseFilmWindingCollection implements HandlerService {
|
||||
|
||||
private final RemoteEdcRecordService remoteEdcRecordService;
|
||||
|
||||
@ -21,7 +21,7 @@ import java.time.format.DateTimeFormatter;
|
||||
* 挤出/失重秤消耗量采集
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@Service("EAP_EXTRUDE_RECORD")
|
||||
@Service("material.data.process")
|
||||
public class EapExtrudeRecord implements HandlerService {
|
||||
|
||||
private final RemoteExtrudeRecordService remoteExtrudeRecordService;
|
||||
|
||||
@ -21,7 +21,7 @@ import java.time.format.DateTimeFormatter;
|
||||
* 保护膜放卷与换轴采集
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@Service("EAP_PROTECTIVE_FILM_UNWINDING_COLLECTION")
|
||||
@Service("up.switch.process")
|
||||
public class EapProtectiveFilmUnwindingCollection implements HandlerService {
|
||||
|
||||
private final RemoteEdcRecordService remoteEdcRecordService;
|
||||
|
||||
@ -23,7 +23,7 @@ class EapEdcRecordTest {
|
||||
|
||||
public static final String origin = "http://127.0.0.1:8091";
|
||||
|
||||
public static final String mesOrigin = "http://localhost:8080";
|
||||
public static final String mesOrigin = "http://127.0.0.1:8080/";
|
||||
|
||||
/**
|
||||
* 保护膜放卷与换轴采集测试
|
||||
@ -89,12 +89,12 @@ class EapEdcRecordTest {
|
||||
jsonObject.put("SEND_TIME", "2024-11-29 12:00:00");
|
||||
jsonObject.put("SITE", "3041");
|
||||
jsonObject.put("SENDER", "EAP");
|
||||
jsonObject.put("MESSAGE_ID", "EAP_PROTECTIVE_FILM_UNWINDING_COLLECTION");
|
||||
|
||||
jsonObject.put("MESSAGE_ID", "up.switch.process");
|
||||
jsonObject.put("FACTORY", "009");
|
||||
jsonObject.put("LINE_ID", "WC01");
|
||||
jsonObject.put("OPERATION", "JMLS");
|
||||
jsonObject.put("RESOURCE", "LS001");
|
||||
|
||||
jsonObject.put("SUB_RESOURCE", "TLK02");
|
||||
jsonObject.put("PROCESSED_QTY", "25");
|
||||
jsonObject.put("REMAINED_QTY", "999");
|
||||
@ -111,7 +111,7 @@ class EapEdcRecordTest {
|
||||
jsonObject.put("SEND_TIME", "2024-11-29 12:00:00");
|
||||
jsonObject.put("SITE", "3041");
|
||||
jsonObject.put("SENDER", "EAP");
|
||||
jsonObject.put("MESSAGE_ID", "EAP_BASE_FILM_WINDING_COLLECTION");
|
||||
jsonObject.put("MESSAGE_ID", "down.switch.process");
|
||||
|
||||
jsonObject.put("FACTORY", "009");
|
||||
jsonObject.put("LINE_ID", "WC01");
|
||||
|
||||
@ -56,7 +56,7 @@ class EapExtrudeRecordTest {
|
||||
jsonObject.put("SEND_TIME","2024-11-29 12:00:00");
|
||||
jsonObject.put("SITE","3041");
|
||||
jsonObject.put("SENDER","EAP");
|
||||
jsonObject.put("MESSAGE_ID","EAP_EXTRUDE_RECORD");
|
||||
jsonObject.put("MESSAGE_ID","material.data.process");
|
||||
jsonObject.put("FACTORY","009");
|
||||
jsonObject.put("LINE_ID","WC01");
|
||||
jsonObject.put("OPERATION","JMLS");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user