data class SendCmdBaseDto (
val vin: String,
val remoteType: String,
val commandType: String,
val type: Int,
val seqNo: String,
val securityPassword: String?,
val temp:String? = null, //可以在調用的時候不給改變量賦值
val openAngle: String? = null,
val runtime: String? = null
):BaseDto()
使用
windowControlModel.sendRemoteCmdCommon(
SendCmdBaseDto(
vin = vin,
remoteType ="0",
seqNo = seqNo,
commandType = RemoteTypeCode,
type = 1,
openAngle = "2",
securityPassword = scyPwd
)
)