Inheritance: AnalogDefinitionBase
示例#1
0
        // Static Methods

        // Delegate handler to create a new BPA PDCstream analog definition
        internal static IAnalogDefinition CreateNewDefinition(IConfigurationCell parent, byte[] buffer, int startIndex, out int parsedLength)
        {
            IAnalogDefinition analogDefinition = new AnalogDefinition(parent);

            parsedLength = analogDefinition.ParseBinaryImage(buffer, startIndex, 0);

            return(analogDefinition);
        }
示例#2
0
文件: AnalogValue.cs 项目: rmc00/gsf
 /// <summary>
 /// Creates a new <see cref="AnalogValue"/> from specified parameters.
 /// </summary>
 /// <param name="parent">The <see cref="DataCell"/> parent of this <see cref="AnalogValue"/>.</param>
 /// <param name="analogDefinition">The <see cref="AnalogDefinition"/> associated with this <see cref="AnalogValue"/>.</param>
 /// <param name="value">The floating point value that represents this <see cref="AnalogValue"/>.</param>
 public AnalogValue(DataCell parent, AnalogDefinition analogDefinition, double value)
     : base(parent, analogDefinition, value)
 {
 }
示例#3
0
 /// <summary>
 /// Creates a new <see cref="AnalogValue"/> from specified parameters.
 /// </summary>
 /// <param name="parent">The <see cref="DataCell"/> parent of this <see cref="AnalogValue"/>.</param>
 /// <param name="analogDefinition">The <see cref="AnalogDefinition"/> associated with this <see cref="AnalogValue"/>.</param>
 /// <param name="value">The floating point value that represents this <see cref="AnalogValue"/>.</param>
 public AnalogValue(DataCell parent, AnalogDefinition analogDefinition, double value)
     : base(parent, analogDefinition, value)
 {
 }
        // Static Methods

        // Delegate handler to create a new BPA PDCstream analog definition
        internal static IAnalogDefinition CreateNewDefinition(IConfigurationCell parent, byte[] buffer, int startIndex, out int parsedLength)
        {
            IAnalogDefinition analogDefinition = new AnalogDefinition(parent);

            parsedLength = analogDefinition.ParseBinaryImage(buffer, startIndex, 0);

            return analogDefinition;
        }