Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 2
0
 public byte StageChange(TMProxy.Change change)
 {
     return(base.Channel.StageChange(change));
 }