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}} }