Example #1
0
 public OutputTag(string id, string description, SimulationDriver driver, string address,
                  double initialValue)
     : base(id, description, driver, address)
 {
     _initialValue = initialValue;
     SetValue(_initialValue);
 }
Example #2
0
 public Tag(string id, string description, SimulationDriver driver, string address)
 {
     _id          = id;
     _description = description;
     _driver      = driver;
     _address     = address;
     Driver?.AddressValues.Add(new AddressValue(Address, 0));
 }
 public AnalogInputTag(string id, string description, SimulationDriver driver, string address, int scanTime,
                       List <Alarm> alarms, bool onScan, bool autoMode, FunctionType functionType, double lowLimit, double highLimit,
                       string units) : base(id, description, driver, address, scanTime, alarms, onScan, autoMode, functionType)
 {
     _lowLimit  = lowLimit;
     _highLimit = highLimit;
     _units     = units;
 }
Example #4
0
 public AnalogOutputTag(string id, string description, SimulationDriver driver, string address,
                        double initialValue, double lowLimit, double highLimit, string units)
     : base(id, description, driver, address, initialValue)
 {
     LowLimit  = lowLimit;
     HighLimit = highLimit;
     Units     = units;
 }
Example #5
0
 public InputTag(string id, string description, SimulationDriver driver, string address, int scanTime,
                 List <Alarm> alarms, bool onScan, bool autoMode, FunctionType functionType)
     : base(id, description, driver, address)
 {
     _scanTime     = scanTime;
     _alarms       = alarms;
     _onScan       = onScan;
     _autoMode     = autoMode;
     _functionType = functionType;
 }
Example #6
0
 public DigitalInputTag(string id, string description, SimulationDriver driver, string address, int scanTime,
                        List <Alarm> alarms, bool onScan, bool autoMode, FunctionType functionType)
     : base(id, description, driver, address, scanTime, alarms, onScan, autoMode, functionType)
 {
 }
Example #7
0
 public DigitalOutputTag(string id, string description, SimulationDriver driver, string address,
                         double initialValue) : base(id, description, driver, address, initialValue)
 {
 }