push ac function state selection

This commit is contained in:
ashrafzarkanisala
2024-11-23 00:54:52 +03:00
parent 7e2f605466
commit 53eb18c075
15 changed files with 475 additions and 196 deletions

View File

@ -58,4 +58,29 @@ class DeviceFunctionData {
valueDescription: json['valueDescription'],
);
}
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is DeviceFunctionData &&
other.entityId == entityId &&
other.actionExecutor == actionExecutor &&
other.function == function &&
other.operationName == operationName &&
other.value == value &&
other.condition == condition &&
other.valueDescription == valueDescription;
}
@override
int get hashCode {
return entityId.hashCode ^
actionExecutor.hashCode ^
function.hashCode ^
operationName.hashCode ^
value.hashCode ^
condition.hashCode ^
valueDescription.hashCode;
}
}