Esempio n. 1
0
        public void ProcessItems()
        {
            var oldItems = Utility.GetObjects(client.TdmsContext.CaRoot);
            var newItems = GetNewCorrectionActions();
            var family   = new EnoviaCorrectionActionsFamily(oldItems, newItems);

            var expectedItems = new ExpectedEnoviaCorrectionActions(family);
            var strategy      = new CreateFromEcaItemsBehavior(client, expectedItems.Items);

            strategy.ProcessItems();
        }
        public void ProcessItems()
        {
            var strategy = new CreateFromEcaItemsBehavior(client, GetEnoviaCorrectionActions());

            strategy.ProcessItems();
        }
        /// <summary>
        /// Creates EnoviaCorrectionActions from txt file of root object
        /// </summary>
        public void ProcessItems()
        {
            var strategy = new CreateFromEcaItemsBehavior(client, Utility.GetObjects(client.TdmsContext.CaRoot));

            strategy.ProcessItems();
        }