/// <inheritdoc/> public string ToDelimitedString() { CultureInfo culture = CultureInfo.CurrentCulture; return(string.Format( culture, StringHelper.StringFormatSequence(0, 16, Configuration.FieldSeparator), Id, UniversalServiceIdentifier?.ToDelimitedString(), EquipmentTestApplicationIdentifier?.ToDelimitedString(), SpecimenSource, AutoDilutionFactorDefault?.ToDelimitedString(), RerunDilutionFactorDefault?.ToDelimitedString(), PreDilutionFactorDefault?.ToDelimitedString(), EndogenousContentOfPreDilutionDiluent?.ToDelimitedString(), InventoryLimitsWarningLevel.HasValue ? InventoryLimitsWarningLevel.Value.ToString(Consts.NumericFormat, culture) : null, AutomaticRerunAllowed, AutomaticRepeatAllowed, AutomaticReflexAllowed, EquipmentDynamicRange?.ToDelimitedString(), Units?.ToDelimitedString(), ProcessingType?.ToDelimitedString(), TestCriticality?.ToDelimitedString() ).TrimEnd(Configuration.FieldSeparator.ToCharArray())); }
/// <inheritdoc/> public string ToDelimitedString() { CultureInfo culture = CultureInfo.CurrentCulture; return(string.Format( culture, StringHelper.StringFormatSequence(0, 9, Configuration.FieldSeparator), Id, UniversalServiceIdentifier?.ToDelimitedString(), AutoDilutionFactor?.ToDelimitedString(), RerunDilutionFactor?.ToDelimitedString(), PreDilutionFactor?.ToDelimitedString(), EndogenousContentOfPreDilutionDiluent?.ToDelimitedString(), AutomaticRepeatAllowed, ReflexAllowed, AnalyteRepeatStatus?.ToDelimitedString() ).TrimEnd(Configuration.FieldSeparator.ToCharArray())); }
/// <inheritdoc/> public string ToDelimitedString() { CultureInfo culture = CultureInfo.CurrentCulture; return(string.Format( culture, StringHelper.StringFormatSequence(0, 12, Configuration.FieldSeparator), Id, UniversalServiceIdentifier?.ToDelimitedString(), AutoDilutionFactor?.ToDelimitedString(), RerunDilutionFactor?.ToDelimitedString(), PreDilutionFactor?.ToDelimitedString(), EndogenousContentOfPreDilutionDiluent?.ToDelimitedString(), AutomaticRepeatAllowed, ReflexAllowed, AnalyteRepeatStatus?.ToDelimitedString(), SpecimenConsumptionQuantity?.ToDelimitedString(), PoolSize.HasValue ? PoolSize.Value.ToString(Consts.NumericFormat, culture) : null, AutoDilutionType?.ToDelimitedString() ).TrimEnd(Configuration.FieldSeparator.ToCharArray())); }