Пример #1
0
        public static void Before()
        {
            var oLock      = new System.Lock();
            var oLink      = new System.Link();
            var oEngine    = new System.Engine();
            var oComposite = new System.Composite();

            oLock.Open();
            oLink.Concat();
            oEngine.Open();
            oEngine.SwitchOn();
            oEngine.PowerUp();
            oComposite.Standby();
            oComposite.Foot();
            oComposite.Body();
            oComposite.Head();
            oEngine.SetUp();
        }
Пример #2
0
        public static void Before()
        {
            var oLock = new System.Lock();
            var oLink = new System.Link();
            var oEngine = new System.Engine();
            var oComposite = new System.Composite();

            oLock.Open();
            oLink.Concat();
            oEngine.Open();
            oEngine.SwitchOn();
            oEngine.PowerUp();
            oComposite.Standby();
            oComposite.Foot();
            oComposite.Body();
            oComposite.Head();
            oEngine.SetUp();
        }