Table of Contents

Class Nc1Document

Namespace
TdbIO
Assembly
TdbIO.dll

A DSTV NC file (.nc1): one part, its ST header block, its AK blocks and its BO blocks. Only ASCII text with CR LF line breaks is read.

public sealed class Nc1Document : TdbDocument

Inheritance

Inherited Members

Properties

Blocks

All blocks in file order, from ST to EN.

public IReadOnlyList<Nc1Block> Blocks { get; }

Property Value

IReadOnlyList<Nc1Block>

Comment

Line 2 of the file after ** ; usually the file name.

public string Comment { get; }

Property Value

string

Fields

The 20 header fields of the ST block, lines 3 to 22: fields 1 to 8 without their two leading spaces, fields 9 to 20 (numbers) without padding.

public IReadOnlyList<string> Fields { get; }

Property Value

IReadOnlyList<string>

Length

Field 9 as the file gives it: usually the length in millimetres.

public decimal Length { get; }

Property Value

decimal

Mark

Field 4: the part mark.

public string Mark { get; }

Property Value

string

Material

Field 5: the material grade.

public string Material { get; }

Property Value

string

Profile

Field 7: the profile, as written. When field 8 is B, it may hold a short form of the profile name.

public string Profile { get; }

Property Value

string

Quantity

Field 6: the quantity, or null when the field is not an integer.

public int? Quantity { get; }

Property Value

int?