예제 #1
0
        public void ReleaseSectionReservation(string vhID)
        {
            string vh_id;

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

            case DriveDirction.DriveDirReverse:
                DriveDirReverseVhs.Clear();
                break;
            }
        }
예제 #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;
            }
        }