static void Main(string[] args)
        {
            IEventBroker broker = new EventBroker();
            using (var manager = new ParameterManager(broker))
            {
                var parameter1 = new Parameter(broker) {Name = "CD", Value = 10};
                var parameter2 = new Parameter(broker) {Name = "HEIGHT", Value = 100};

                parameter1.Value = 12;
                parameter1.Value = 13;
                parameter1.Value = 14;
                parameter1.Value = 15;
                parameter1.Value = 15;

                parameter2.Value = 0;
            }
        }
Exemple #2
0
        static void Main(string[] args)
        {
            IEventBroker broker = new EventBroker();

            using (var manager = new ParameterManager(broker))
            {
                var parameter1 = new Parameter(broker)
                {
                    Name = "CD", Value = 10
                };
                var parameter2 = new Parameter(broker)
                {
                    Name = "HEIGHT", Value = 100
                };

                parameter1.Value = 12;
                parameter1.Value = 13;
                parameter1.Value = 14;
                parameter1.Value = 15;
                parameter1.Value = 15;

                parameter2.Value = 0;
            }
        }