Get pressure switch
Function table: getSupportGetPressureSwitchInfo
Example
Swift
Cmds.getStressSwitch().send { rs in
if case .success(let obj) = rs {
// success
// obj is IDOStressSwitchModel
}else {
// fail
}
}
Kotlin
Cmds.getStressSwitch().send {
if (it.error.code == 0) {
// success
// it.res is IDOStressSwitchModel
}else {
// fail
}
}