feat(接口): EDC接口

1. 修改edc接口的message_id值与接口文档一致
This commit is contained in:
syngna_qiao 2024-12-20 09:08:31 +08:00
parent f925491f76
commit ed18d93596
5 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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");

View File

@ -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");