Esempio n. 1
0
        protected override void OnInitialize(Engine renderingEngine)
        {
            //ActivateInputAdd(new PinDescription(typeof(string), UIType.TextEdit) {}, 2);
            AddInput(typeof(string), new TextEdit());
            AddInput(typeof(int), TextEdit.CreateNumeric(false));

            AddOutput(typeof(string));
            UniqueName  = "BlueSwitch.Base.Components.Switches.Text.Random String";
            DisplayName = "Random String";
            Description = "Random String";
        }
Esempio n. 2
0
        protected override void OnInitialize(Engine renderingEngine)
        {
            UniqueName  = "BlueSwitch.Base.Components.Switches.CodeFlow.For";
            DisplayName = "For";
            Description = "A for-Loop";

            AddInput(new ActionSignature());
            AddInput(typeof(int), TextEdit.CreateNumeric());

            AddOutput(new ActionSignature());
            AddOutput(typeof(int));
            AddOutput(new ActionSignature());
            IsCompact = true;
        }
Esempio n. 3
0
        protected override void OnInitialize(Engine renderingEngine)
        {
            UniqueName  = "BlueSwitch.Base.Components.Switches.Base.Tick";
            DisplayName = "Tick";
            Description = "Tick";

            AddInput(new ActionSignature());
            AddInput(typeof(int), TextEdit.CreateNumeric(false));
            AddInput(typeof(string), new TextEdit());


            AddOutput(new OutputBase(new ActionSignature()));
            IsStart = true;

            RenderingEngine.ProcessorCompiler.Finished += ProcessorCompilerOnFinished;
        }
Esempio n. 4
0
        protected override void OnInitialize(Engine renderingEngine)
        {
            base.OnInitialize(renderingEngine);

            UniqueName  = "BlueSwitch.Monitoring.Components.Switches.Process.Guard";
            DisplayName = "Process Guard";
            Description = "Checks if process is running and starts it new if it's not";

            AddInput(new ActionSignature());
            AddInput(typeof(bool), new CheckBox());               // 1
            AddInput(typeof(int), TextEdit.CreateNumeric(false)); // 2
            AddInput(typeof(string), new TextEdit());             // 3 Process Name
            AddInput(typeof(string), new TextEdit());             // 4 Pfad
            AddInput(typeof(string), new TextEdit());             // 5 Args

            AddOutput(new ActionSignature());
        }