新增测点 创建维护模块
This commit is contained in:
@@ -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" `
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user