rts-sim-module/examples/test1/tmodel/button_model.go
2023-08-24 10:27:50 +08:00

15 lines
299 B
Go

package tmodel
import "joylink.club/rtsssimulation/umi"
//两档位按钮
type TowPosButtonModel struct {
DeviceModel
// 按钮名称
Name string
}
func NewTowPosButtonModel(id string) *TowPosButtonModel {
return &TowPosButtonModel{DeviceModel: DeviceModel{Id: id, Type: umi.TowPosButton}}
}