Exemple #1
0
            internal GenericIntegerDataPointSource(RMSXRouteFillTest parent, int initialValue)
            {
                parent.log("Creating new GenericIntegerDataPointSource with initial value: " + initialValue);

                this.value  = initialValue;
                this.parent = parent;
            }
Exemple #2
0
            public RouteFillOccurred(RMSXRouteFillTest parent)
            {
                this.parent = parent;
                this.parent.log("Creating new RouteFillOccurred");

                this.parent.log("Adding dependency for RouteStatus");
                this.AddDependantDataPointName("RouteStatus");
                this.parent.log("Adding dependency for RouteFilled");
                this.AddDependantDataPointName("RouteFilled");
                this.parent.log("Adding dependency for RouteLastShares");
                this.AddDependantDataPointName("RouteLastShares");
                this.parent.log("Done Adding dependencies.");
            }
Exemple #3
0
            internal EMSXFieldDataPointSource(RMSXRouteFillTest parent, Field field)
            {
                this.parent        = parent;
                this.field         = field;
                this.value         = field.value();
                this.previousValue = null;

                parent.log("Creating new EMSXFieldDataPointSource for Field: " + field.name() + "\tValue: " + this.value + "\tPrevious Value:" + this.previousValue);

                parent.log("Adding EasyMSX field level notification handler for Field: " + field.name());
                this.field.addNotificationHandler(this);
                parent.log("New EMSXFieldDataPointSource created");
            }
Exemple #4
0
        static void Main(string[] args)
        {
            RMSXRouteFillTest Test = new RMSXRouteFillTest();

            Test.Run();

            System.Console.WriteLine("Press enter to terminate...");
            System.Console.ReadLine();

            Test.Stop();

            System.Console.WriteLine("Terminating.");
        }
Exemple #5
0
 public ShowRouteFill(RMSXRouteFillTest parent)
 {
     parent.log("Creating new ShowRouteFill action executor.");
     this.parent = parent;
 }