ATMLProcessLibrary.ActionOperationProcessor.ProcessOperation C# (CSharp) Метод

ProcessOperation() публичный Метод

public ProcessOperation ( OperationType operation ) : void
operation OperationType
Результат void
        public void ProcessOperation(OperationType operation)
        {
            Operations.Add(operation.ID, operation);
            var change = operation as OperationChange;
            if (change != null)
                ProcessOperation(change);
            var other = operation as OperationOther;
            if (other != null)
                ProcessOperation(other);
            var conditional = operation as OperationConditional;
            if (conditional != null)
                ProcessOperation(conditional);
            var repeat = operation as OperationRepeat;
            if (repeat != null)
                ProcessOperation(repeat);
            var messageIn = operation as OperationMessageIn;
            if (messageIn != null)
                ProcessOperation(messageIn);
            var messageOut = operation as OperationMessageOut;
            if (messageOut != null)
                ProcessOperation(messageOut);
            var setStateVar = operation as OperationSetStateVariable;
            if (setStateVar != null)
                ProcessOperation(setStateVar);
            var readStateVar = operation as OperationReadStateVariable;
            if (readStateVar != null)
                ProcessOperation(readStateVar);
            var waitFor = operation as OperationWaitFor;
            if (waitFor != null)
                ProcessOperation(waitFor);
            var disable = operation as OperationDisable;
            if (disable != null)
                ProcessOperation(disable);
            var enable = operation as OperationEnable;
            if (enable != null)
                ProcessOperation(enable);
            var disconnect = operation as OperationDisconnect;
            if (disconnect != null)
                ProcessOperation(disconnect);
            var connect = operation as OperationConnect;
            if (connect != null)
                ProcessOperation(connect);
            var compare = operation as OperationCompare;
            if (compare != null)
                ProcessOperation(compare);
            var read = operation as OperationRead;
            if (read != null)
                ProcessOperation(read);
            var resetAll = operation as OperationResetAll;
            if (resetAll != null)
                ProcessOperation(resetAll);
            var reset = operation as OperationReset;
            if (reset != null)
                ProcessOperation(reset);
            var setup = operation as OperationSetup;
            if (setup != null)
                ProcessOperation(setup);
        }

Same methods

ActionOperationProcessor::ProcessOperation ( OperationChange operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationCompare operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationConditional operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationConnect operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationDisable operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationDisconnect operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationEnable operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationMessageIn operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationMessageOut operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationOther operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationRead operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationReadStateVariable operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationRepeat operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationReset operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationResetAll operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationSetStateVariable operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationSetup operation ) : void
ActionOperationProcessor::ProcessOperation ( OperationWaitFor operation ) : void
ActionOperationProcessor