新增测点 创建维护模块

This commit is contained in:
2024-09-03 18:00:02 +08:00
parent 3b53e9f9b7
commit 64dc59940d
12 changed files with 230 additions and 15 deletions

View File

@@ -3,3 +3,26 @@ package form
type PointNameSelectReq struct {
Keyword string `form:"keyword" json:"keyword"`
}
type DevicePointListReq struct {
Page `form:"page" json:"page"`
DriverId int `form:"driver_id" json:"driver_id"`
}
type DevicePointEditDetailReq struct {
Id int `form:"id" json:"id"`
}
type CreateDevicePointReq struct {
DriverId int `json:"driver_id"`
PointId int `json:"point_id"`
EnergyType int `json:"energy_type"`
PointNameId int `json:"point_name_id" `
}
type UpdateDevicePointReq struct {
Id int `json:"id"`
DriverId int `json:"driver_id"`
PointId int `json:"point_id"`
EnergyType int `json:"energy_type"`
PointNameId int `json:"point_name_id" `
}