// 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); }
/// <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) { }
// 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; }