예제 #1
0
        public void ChangePart(LabPart part)
        {
            this.Reset();

            switch (part)
            {
            case LabPart.PartA:
                BuildA();
                break;

            case LabPart.PartB:
                BuildB();
                break;

            case LabPart.PartC:
                BuildC();
                break;

            case LabPart.PartD:
                BuildD();
                break;

            case LabPart.PartE:
                BuildE();
                break;
            }

            this.Publish();

            ActivePart = part;
        }
예제 #2
0
        public void ChangePart(LabPart part)
        {
            switch (part)
            {
            case LabPart.Part1A:
                BuildA();
                break;

            case LabPart.Part1B:
                BuildB();
                break;

            case LabPart.Part2:
                BuildC();
                break;
            }

            ActivePart = part;
        }