public override bool Equals(object obj) { if (obj == null) { return(false); } CommandEN t = obj as CommandEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public CommandEN(CommandEN command) { this.init(Id, command.DeviceTemplate, command.Name, command.IsSynchronous, command.Telemetries, command.Type, command.Description); }