Пример #1
0
 public Container(int _id, Node _node)
 {
     StatusInfo = new ContainerStatusInfo();
     id         = _id;
     point      = _node;
     FillRate   = Settings.KOccupancyContainer * (Tools.rand.Next(Settings.MinKContainer, Settings.MaxKContainer) / 100d);
     //porog = Tools.rand.NextDouble();
 }
Пример #2
0
 internal void Reset()
 {
     Capacity   = fine = 0;
     StatusInfo = new ContainerStatusInfo();
     //throw new NotImplementedException();
 }