Inheritance: DigitalDefinitionBase
コード例 #1
0
ファイル: DigitalDefinition.cs プロジェクト: xj0229/gsf
        // Static Methods

        // Delegate handler to create a new IEC 61850-90-5 digital definition
        internal static IDigitalDefinition CreateNewDefinition(IConfigurationCell parent, byte[] buffer, int startIndex, out int parsedLength)
        {
            IDigitalDefinition digitalDefinition = new DigitalDefinition(parent);

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

            return(digitalDefinition);
        }
コード例 #2
0
 /// <summary>
 /// Creates a new <see cref="DigitalValue"/> from specified parameters.
 /// </summary>
 /// <param name="parent">The <see cref="DataCell"/> parent of this <see cref="DigitalValue"/>.</param>
 /// <param name="digitalDefinition">The <see cref="DigitalDefinition"/> associated with this <see cref="DigitalValue"/>.</param>
 /// <param name="value">The unsigned 16-bit integer value (composed of digital bits) that represents this <see cref="DigitalValue"/>.</param>
 public DigitalValue(DataCell parent, DigitalDefinition digitalDefinition, ushort value)
     : base(parent, digitalDefinition, value)
 {
 }
コード例 #3
0
        // Static Methods

        // Delegate handler to create a new IEC 61850-90-5 digital definition
        internal static IDigitalDefinition CreateNewDefinition(IConfigurationCell parent, byte[] buffer, int startIndex, out int parsedLength)
        {
            IDigitalDefinition digitalDefinition = new DigitalDefinition(parent);

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

            return digitalDefinition;
        }
コード例 #4
0
 /// <summary>
 /// Creates a new <see cref="DigitalValue"/> from specified parameters.
 /// </summary>
 /// <param name="parent">The <see cref="DataCell"/> parent of this <see cref="DigitalValue"/>.</param>
 /// <param name="digitalDefinition">The <see cref="DigitalDefinition"/> associated with this <see cref="DigitalValue"/>.</param>
 /// <param name="value">The unsigned 16-bit integer value (composed of digital bits) that represents this <see cref="DigitalValue"/>.</param>
 public DigitalValue(DataCell parent, DigitalDefinition digitalDefinition, ushort value)
     : base(parent, digitalDefinition, value)
 {
 }