// Static Methods // Delegate handler to create a new IEEE C37.118 digital value internal static IDigitalValue CreateNewValue(IDataCell parent, IDigitalDefinition definition, byte[] buffer, int startIndex, out int parsedLength) { IDigitalValue digital = new DigitalValue(parent, definition); parsedLength = digital.ParseBinaryImage(buffer, startIndex, 0); return(digital); }
// Static Methods // Delegate handler to create a new IEEE C37.118 digital value internal static IDigitalValue CreateNewValue(IDataCell parent, IDigitalDefinition definition, byte[] buffer, int startIndex, out int parsedLength) { IDigitalValue digital = new DigitalValue(parent, definition); parsedLength = digital.ParseBinaryImage(buffer, startIndex, 0); return digital; }