public void ReleaseSectionReservation(string vhID) { string vh_id; DriveDirForwardVhs.TryRemove(vhID, out vh_id); DriveDirReverseVhs.TryRemove(vhID, out vh_id); }
public void ClaerSectionReservation(DriveDirction driveDirction) { switch (driveDirction) { case DriveDirction.DriveDirForward: DriveDirForwardVhs.Clear(); break; case DriveDirction.DriveDirReverse: DriveDirReverseVhs.Clear(); break; } }
public void AcquireSectionReservation(string vhID, DriveDirction driveDirction) { switch (driveDirction) { case DriveDirction.DriveDirForward: DriveDirForwardVhs.TryAdd(vhID, vhID); break; case DriveDirction.DriveDirReverse: DriveDirReverseVhs.TryAdd(vhID, vhID); break; } }