package tmodel import "joylink.club/rtsssimulation/repository/model/proto" // 继电器模型 type RelayModel struct { DeviceModel } func NewRelayModel(id string) *RelayModel { return &RelayModel{DeviceModel: DeviceModel{DevId: id, DevType: proto.DeviceType_DeviceType_Relay}} }