示例#1
0
        public static void AddAllPrototypes(SynergySequence.SequenceManager _Manager)
        {
            _Manager.AddPrototype(new SequenceManager.Prototype("Delay", "Generic", "im in like with u", typeof(DesktopCodeBlocks.BlockEventDelay)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Constant", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockBoolConstant)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Invert", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockBoolInvert)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Equals", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockBoolEquals)));
            _Manager.AddPrototype(new SequenceManager.Prototype("If", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockIf)));
            _Manager.AddPrototype(new SequenceManager.Prototype("IfNot", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockIfNot)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Constant", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathConstant)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Multiply", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Divide", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Add", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Substract", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Print", "mygroup", "i like u", typeof(DesktopCodeBlocks.BlockMathPrint)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Invoke Remote", "Generic", "i like u", typeof(DesktopCodeBlocks.BlockInvokeRemote)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Speak", "Generic", "i like u", typeof(DesktopCodeBlocks.BlockSpeak)));
        }
示例#2
0
        public static void AddAllPrototypes(SynergySequence.SequenceManager _Manager)
        {
            _Manager.AddPrototype(new SequenceManager.Prototype("Delay", "Generic Events", "blaat", typeof(BlockDelay)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Event", "Generic Events", "blaat", typeof(BlockGenericEvent)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Constant", "Boolean", "blaat", typeof(BlockBoolConstant)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Invert", "Boolean", "blaat", typeof(BlockBoolInvert)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Set LED", "Debug", "i like u", typeof(BlockSetDebugLed)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Constant", "Integer", "blaat", typeof(BlockIntConstant)));

            _Manager.AddPrototype(new SequenceManager.Prototype("", "", "", typeof(CodeBlockEvent), false));
            _Manager.AddPrototype(new SequenceManager.Prototype("", "", "", typeof(CodeBlockInvokeRemoteEvent), false));
        }
示例#3
0
        public static void AddAllPrototypes(SynergySequence.SequenceManager _Manager)
        {
            _Manager.AddPrototype(new SequenceManager.Prototype("Invoke Event", "Generic", "im in like with u", typeof(BlockGenericEventInvoke)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Delay", "Generic", "im in like with u", typeof(DesktopCodeBlocks.BlockEventDelay)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Constant", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockBoolConstant)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Invert", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockBoolInvert)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Equals", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockBoolEquals)));
            _Manager.AddPrototype(new SequenceManager.Prototype("If", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockIf)));
            _Manager.AddPrototype(new SequenceManager.Prototype("IfNot", "Boolean", "im in like with u", typeof(DesktopCodeBlocks.BlockIfNot)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Constant", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathConstant)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Multiply", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Divide", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Add", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Substract", "Math", "i like u", typeof(DesktopCodeBlocks.BlockMathMultiply)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Print", "mygroup", "i like u", typeof(DesktopCodeBlocks.BlockMathPrint)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Invoke Remote", "Generic", "i like u", typeof(DesktopCodeBlocks.BlockInvokeRemote)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Speak", "Generic", "i like u", typeof(DesktopCodeBlocks.BlockSpeak)));

            _Manager.AddPrototype(new SequenceManager.Prototype("Switch toggle", "WebInterface", "i like u", typeof(BlockEventSwitchToggle)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Switch toggle state", "WebInterface", "i like u", typeof(BlockSwitchToggle)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Switch set state", "WebInterface", "i like u", typeof(BlockSwitchSetState)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Switch get state", "WebInterface", "i like u", typeof(BlockSwitchGetState)));
            _Manager.AddPrototype(new SequenceManager.Prototype("Switch", "WebInterface", "i like u", typeof(BlockControlSwitch)));

            _Manager.AddPrototype(new SequenceManager.Prototype("DigitalOutput set", "K8055", "i like u", typeof(BlockDigitalOutputSetState)));
            _Manager.AddPrototype(new SequenceManager.Prototype("DigitalOutput get", "K8055", "i like u", typeof(BlockDigitalOutputGetState)));
            _Manager.AddPrototype(new SequenceManager.Prototype("DigitalOutput toggle", "K8055", "i like u", typeof(BlockDigitalOutputToggleState)));
            _Manager.AddPrototype(new SequenceManager.Prototype("DigitalInput get state", "K8055", "i like u", typeof(BlockDigitalInputGetState)));
            _Manager.AddPrototype(new SequenceManager.Prototype("DigitalInputToggled", "K8055", "i like u", typeof(BlockEventInputToggle)));
        }