//---------------------------------------------------------------------------------------//
 public DriverSimulation(Configuration configuration, CancelExperiment cancelExperiment, bool simulateDelays)
     : base(configuration, cancelExperiment)
 {
     //
     // Create an instance of the Simulation class
     //
     this.simulation = new Simulation(configuration, simulateDelays);
 }
Пример #2
0
 //---------------------------------------------------------------------------------------//
 public DriverLocal(Configuration configuration, CancelExperiment cancelExperiment)
     : base(configuration, cancelExperiment)
 {
     //
     // Create an instance of the TimeOfDay class
     //
     this.timeOfDay = new TimeOfDay(configuration);
 }
 public LabExperimentInfo(ExperimentInfo experimentInfo, DateTime startDateTime)
 {
     this.experimentInfo   = experimentInfo;
     this.cancelExperiment = new CancelExperiment();
     this.startDateTime    = startDateTime;
     this.minTimeToLive    = 0.0;
     this.errorMessage     = null;
 }
        //---------------------------------------------------------------------------------------//
        public DriverAbsorbers(EquipmentService equipmentServiceProxy, Configuration configuration, CancelExperiment cancelExperiment)
            : base(equipmentServiceProxy, configuration, cancelExperiment)
        {
            const string STRLOG_MethodName = "DriverAbsorbers";

            Logfile.WriteCalled(null, STRLOG_MethodName);

            //
            // Nothing to do here
            //

            Logfile.WriteCompleted(null, STRLOG_MethodName);
        }
Пример #5
0
        //---------------------------------------------------------------------------------------//
        public DriverNetwork(EquipmentService equipmentServiceProxy, Configuration configuration, CancelExperiment cancelExperiment)
            : base(equipmentServiceProxy, configuration, cancelExperiment)
        {
            const string STRLOG_MethodName = "DriverNetwork";

            Logfile.WriteCalled(null, STRLOG_MethodName);

            //
            // YOUR CODE HERE
            //

            Logfile.WriteCompleted(null, STRLOG_MethodName);
        }
Пример #6
0
        //---------------------------------------------------------------------------------------//
        public DriverNoLoad(EquipmentService equipmentServiceProxy, Configuration configuration, CancelExperiment cancelExperiment)
            : base(equipmentServiceProxy, configuration, cancelExperiment)
        {
            const string STRLOG_MethodName = "DriverNoLoad";

            Logfile.WriteCalled(null, STRLOG_MethodName);

            //
            // Save for use by this driver
            //
            this.measurementCount = configuration.MeasurementCount;

            Logfile.WriteCompleted(STRLOG_ClassName, STRLOG_MethodName);
        }
 public LabExperimentInfo(ExperimentInfo experimentInfo, DateTime startDateTime)
 {
     this.experimentInfo = experimentInfo;
     this.cancelExperiment = new CancelExperiment();
     this.startDateTime = startDateTime;
     this.minTimeToLive = 0.0;
     this.errorMessage = null;
 }
 //---------------------------------------------------------------------------------------//
 public DriverSimulation(Configuration configuration, CancelExperiment cancelExperiment)
     : this(configuration, cancelExperiment, true)
 {
 }