Ejemplo n.º 1
0
        public void ReleaseSectionReservation(string vhID)
        {
            string vh_id;

            DriveDirForwardVhs.TryRemove(vhID, out vh_id);
            DriveDirReverseVhs.TryRemove(vhID, out vh_id);
        }
Ejemplo n.º 2
0
        public void ClaerSectionReservation(DriveDirction driveDirction)
        {
            switch (driveDirction)
            {
            case DriveDirction.DriveDirForward:
                DriveDirForwardVhs.Clear();
                break;

            case DriveDirction.DriveDirReverse:
                DriveDirReverseVhs.Clear();
                break;
            }
        }
Ejemplo n.º 3
0
        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;
            }
        }