|
@ -16,7 +16,7 @@ public class DeviceParamGroupVO { |
|
|
@Schema(description = "模块标识(ModuleId.name),如 DoorM") |
|
|
@Schema(description = "模块标识(ModuleId.name),如 DoorM") |
|
|
private String mid; |
|
|
private String mid; |
|
|
|
|
|
|
|
|
@Schema(description = "该模块下的所有寄存器项") |
|
|
|
|
|
|
|
|
@Schema(description = "该模块下的所有配置项") |
|
|
private List<ParamItem> reg; |
|
|
private List<ParamItem> reg; |
|
|
|
|
|
|
|
|
public DeviceParamGroupVO(String mid, List<ParamItem> reg) { |
|
|
public DeviceParamGroupVO(String mid, List<ParamItem> reg) { |
|
@ -26,9 +26,9 @@ public class DeviceParamGroupVO { |
|
|
|
|
|
|
|
|
@AllArgsConstructor |
|
|
@AllArgsConstructor |
|
|
@Data |
|
|
@Data |
|
|
@Schema(description = "单个寄存器项") |
|
|
|
|
|
|
|
|
@Schema(description = "配置项") |
|
|
public static class ParamItem { |
|
|
public static class ParamItem { |
|
|
@Schema(description = "寄存器索引名,如 kreg_step_motor_pos") |
|
|
|
|
|
|
|
|
@Schema(description = "配置项名称,如 kreg_step_motor_pos") |
|
|
private String name; |
|
|
private String name; |
|
|
@Schema(description = "值") |
|
|
@Schema(description = "值") |
|
|
private Integer value; |
|
|
private Integer value; |
|
|