예제 #1
0
 /// <summary>
 /// Initializes a new instances of the <see cref="FamosFileAnalogComponent"/> class.
 /// </summary>
 /// <param name="name">The name of this component. This automatically adds a <see cref="FamosFileChannel"/> instance to the component.</param>
 /// <param name="dataType">The data type of this component.</param>
 /// <param name="length">The length of this component.</param>
 /// <param name="calibrationInfo">The calibration info of this component.</param>
 public FamosFileAnalogComponent(string name,
                                 FamosFileDataType dataType,
                                 int length,
                                 FamosFileCalibration calibrationInfo) : this(name, dataType, length, FamosFileComponentType.Primary, calibrationInfo)
 {
     //
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instances of the <see cref="FamosFileAnalogComponent"/> class.
 /// </summary>
 /// <param name="dataType">The data type of this component.</param>
 /// <param name="length">The length of this component.</param>
 /// <param name="componentType">The type of this component. Depending on the higher-level field type, the meaning varies between 'Y', 'Y of XY', 'real part', 'magnitude', 'magnitude in dB' and 'timestamp ASCII' for <see cref="FamosFileComponentType.Primary"/> and between 'X of XY', 'imaginary part' and 'phase' for <see cref="FamosFileComponentType.Secondary"/>.</param>
 /// <param name="calibrationInfo">The calibration info of this component.</param>
 public FamosFileAnalogComponent(FamosFileDataType dataType,
                                 int length,
                                 FamosFileComponentType componentType,
                                 FamosFileCalibration calibrationInfo) : base(dataType, length, componentType)
 {
     this.CalibrationInfo = calibrationInfo;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instances of the <see cref="FamosFileAnalogComponent"/> class.
 /// </summary>
 /// <param name="name">The name of this component. This automatically adds a <see cref="FamosFileChannel"/> instance to the component.</param>
 /// <param name="dataType">The data type of this component.</param>
 /// <param name="length">The length of this component.</param>
 /// <param name="componentType">The type of this component. Depending on the higher-level field type, the meaning varies between 'Y', 'Y of XY', 'real part', 'magnitude', 'magnitude in dB' and 'timestamp ASCII' for <see cref="FamosFileComponentType.Primary"/> and between 'X of XY', 'imaginary part' and 'phase' for <see cref="FamosFileComponentType.Secondary"/>.</param>
 /// <param name="calibrationInfo">The calibration info of this component.</param>
 public FamosFileAnalogComponent(string name,
                                 FamosFileDataType dataType,
                                 int length,
                                 FamosFileComponentType componentType,
                                 FamosFileCalibration calibrationInfo) : base(dataType, length, componentType)
 {
     this.Channels.Add(new FamosFileChannel(name));
     this.CalibrationInfo = calibrationInfo;
 }