对接远程遥控
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
class RunningStatusModel {
|
||||
final String controlMode;
|
||||
final String voltage;
|
||||
final String deviceName;
|
||||
final String deviceId;
|
||||
|
||||
const RunningStatusModel({
|
||||
this.controlMode = '',
|
||||
this.voltage = '0',
|
||||
this.deviceName = '',
|
||||
this.deviceId = '',
|
||||
});
|
||||
|
||||
RunningStatusModel copyWith({
|
||||
String? controlMode,
|
||||
String? voltage,
|
||||
String? deviceName,
|
||||
String? deviceId,
|
||||
}) {
|
||||
return RunningStatusModel(
|
||||
controlMode: controlMode ?? this.controlMode,
|
||||
voltage: voltage ?? this.voltage,
|
||||
deviceName: deviceName ?? this.deviceName,
|
||||
deviceId: deviceId ?? this.deviceId,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user