package com.mes.s7.entity;
|
|
import com.github.xingshuangs.iot.protocol.common.enums.EDataType;
|
import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable;
|
import lombok.Data;
|
|
/**
|
* @Author : zhoush
|
* @Date: 2025/4/30 14:19
|
* @Description:
|
*/
|
@Data
|
public class S7Data {
|
|
|
// @S7Variable(address = "DB1.0", type = EDataType.INT16)
|
// private Short request;
|
//
|
// @S7Variable(address = "DB1.2", type = EDataType.INT16)
|
// private Short requestId;
|
//
|
// @S7Variable(address = "DB1.4", type = EDataType.INT16)
|
// private Short reportWord;
|
//
|
// @S7Variable(address = "DB1.6", type = EDataType.INT16)
|
// private Short reportId;
|
//
|
// @S7Variable(address = "DB1.8", type = EDataType.INT16)
|
// private Short inCar;
|
//
|
// @S7Variable(address = "DB1.10", type = EDataType.INT16)
|
// private Short taskWord;
|
//
|
// @S7Variable(address = "DB1.12", type = EDataType.INT16)
|
// private Short taskId;
|
//
|
// @S7Variable(address = "DB1.14", type = EDataType.INT16)
|
// private Short startSlot;
|
//
|
// @S7Variable(address = "DB1.16", type = EDataType.INT16)
|
// private Short endSlot;
|
//
|
// @S7Variable(address = "DB1.18", type = EDataType.INT16)
|
// private Short taskSending;
|
//
|
// @S7Variable(address = "DB1.20", type = EDataType.INT16)
|
// private Short confirmation;
|
//
|
// @S7Variable(address = "DB1.22", type = EDataType.INT16)
|
// private Short confirmationId;
|
|
@S7Variable(address = "DB38.0", type = EDataType.INT16)
|
private Short request;
|
|
@S7Variable(address = "DB38.2", type = EDataType.INT16)
|
private Short requestId;
|
|
@S7Variable(address = "DB38.10", type = EDataType.INT16)
|
private Short reportWord;
|
|
@S7Variable(address = "DB38.12", type = EDataType.INT16)
|
private Short reportId;
|
|
@S7Variable(address = "DB38.18", type = EDataType.INT16)
|
private Short inCar;
|
|
@S7Variable(address = "DB38.20", type = EDataType.INT16)
|
private Short taskWord;
|
|
@S7Variable(address = "DB38.22", type = EDataType.INT16)
|
private Short taskId;
|
|
@S7Variable(address = "DB38.24", type = EDataType.INT16)
|
private Short startSlot;
|
|
@S7Variable(address = "DB38.26", type = EDataType.INT16)
|
private Short endSlot;
|
|
@S7Variable(address = "DB38.28", type = EDataType.INT16)
|
private Short taskSending;
|
|
@S7Variable(address = "DB38.40", type = EDataType.INT16)
|
private Short confirmation;
|
|
@S7Variable(address = "DB38.42", type = EDataType.INT16)
|
private Short confirmationId;
|
|
|
}
|