public byte Read(DataLocation location) { Change change = _workspace.FirstOrDefault(c => c.Location == location); byte value; if (change == null) // the DataLocation is not in the workspace { _workspace.AddChange(new Change { IsWrite = false, Location = location }); } else // the DataLocatoin is in the workspace { value = change.Value; } }
public byte StageChange(TMProxy.Change change) { return(base.Channel.StageChange(change)); }