Наследование: IHardware
Пример #1
0
        public Sensor(string name, int index, bool defaultHidden, 
      SensorType sensorType, Hardware hardware, 
      ParameterDescription[] parameterDescriptions)
        {
            this.index = index;
              this.defaultHidden = defaultHidden;
              this.sensorType = sensorType;
              this.hardware = hardware;
              Parameter[] parameters = new Parameter[parameterDescriptions == null ?
            0 : parameterDescriptions.Length];
              for (int i = 0; i < parameters.Length; i++ )
            parameters[i] = new Parameter(parameterDescriptions[i], this);
              this.parameters = parameters;

              this.defaultName = name;
              this.name = name;
        }
Пример #2
0
   public Sensor(string name, int index, SensorType sensorType,
 Hardware hardware, ParameterDescription[] parameterDescriptions)
       : this(name, index, false, sensorType, hardware,
   parameterDescriptions)
   {
   }
Пример #3
0
 public Sensor(string name, int index, SensorType sensorType,
               Hardware hardware, ParameterDescription[] parameterDescriptions) :
     this(name, index, false, sensorType, hardware,
          parameterDescriptions)
 {
 }
Пример #4
0
   public Sensor(string name, int index, SensorType sensorType,
 Hardware hardware)
       : this(name, index, sensorType, hardware, null)
   {
   }
Пример #5
0
 public Sensor(string name, int index, SensorType sensorType,
               Hardware hardware) :
     this(name, index, sensorType, hardware, null)
 {
 }