public void AddThickZone(BankZoneThick _zone) { lock (cs) { if (_zone == null) { return; } if (MThick == null) { return; } MThick.Add(_zone); } }
public void Add(BankZoneThick _zone) { if (IsComplete()) { return; } if (!isStarted) { return; } MZone.Add(_zone); if (_zone.last) { GotZones = true; } }
public BankZoneThick GetNextZoneThick() { lock (cs) { if (MThick == null) { return(null); } BankZoneThick z = MThick.GetNextZone(); if (z != null) { MZR.confirmed = GetConfirmed(); pr("!!!GetNextThick: " + z.ToString()); } return(z); } }
public BankZoneThick GetNextZone() { if (IsComplete()) { return(null); } if (!isStarted) { return(null); } if (GaveZones >= MZone.Count) { return(null); } BankZoneThick ret = MZone[GaveZones]; GaveZones++; if (ret.last) { complete = true; } return(ret); }