internal int ParseConversionFactor(byte[] buffer, int startIndex) { // Get analog type from first byte this.AnalogType = (AnalogType)buffer[startIndex]; // Last three bytes represent scaling factor ScalingValue = BigEndian.ToUInt24(buffer, startIndex + 1); return ConversionFactorLength; }