Beispiel #1
0
 public void CoolOff()
 {
     foreach (var coord in AllCoordinates)
     {
         var contents = Current[coord];
         Current[coord] = new MemoryContents
         {
             AccessState = MemoryAccessState.Cold,
             Value       = contents.Value,
         };
     }
     RegionUpdated?.Invoke(this, new AddressRegionEventArgs());
 }
Beispiel #2
0
        public void SetMemoryToDefault()
        {
            foreach (var coord in AllCoordinates)
            {
                Current[coord] = new MemoryContents {
                    Value = Default[coord]
                }
            }
            ;



            RegionUpdated?.Invoke(this, new AddressRegionEventArgs());
        }