Beispiel #1
0
        public void CCMTest()
        {
            INewMessageBuilder mng = new NewMessageBuilder(new L4L3InterfaceServiceGlobalCheck(), new CCManagement(), new SOManagment(), new L4L3ServiceShipping(), new Material());

            mng.NewMessage();
            bool tr = true;
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            //InitClass();
            INewMessageBuilder mng = new NewMessageBuilder(new L4L3InterfaceServiceGlobalCheck(), new CCManagement(), new SOManagment(), new L4L3ServiceShipping(), new Material());

            mng.NewMessage();
            CleanupClass();
        }
Beispiel #3
0
        /// <summary>
        /// Конструктор создания Action делегатов для обработки событий
        /// </summary>
        public ServiceWorker()
        {
            INewMessageBuilder newMessageBuilder = new NewMessageBuilder(new L4L3InterfaceServiceGlobalCheck(), new CCManagement(), new SOManagment(), new L4L3ServiceShipping(), new Material());
            INewDevMsg         newDevMsg         = new NewDevMsg();

            getDevMsg = delegate
            {
                newDevMsg.GetNewMessageDelivery();
            };
            getMsg = delegate {
                newMessageBuilder.NewMessage();
            };
            closeOrd = delegate
            {
                newMessageBuilder.CloseOrder();
            };
        }