rts-sim-testing-service/dto/simulation_dto/turnout.go

14 lines
537 B
Go
Raw Normal View History

2023-10-13 17:43:48 +08:00
package simulationdto
import (
"joylink.club/bj-rtsts-server/dto/request_proto"
)
// 道岔操作请求DTO
type TurnoutOperationReqDto struct {
SimulationId string `form:"simulationId" json:"simulationId" binding:"required"`
MapId int32 `json:"mapId" from:"mapId" binding:"required"`
DeviceId string `form:"id" json:"id" binding:"required"`
Operation request_proto.Turnout_Operation `form:"operation" json:"operation" binding:"required"`
}