public XSectionElement(BinaryReader byteFile) { //this.id = byteFile.ReadByte(); this.pos = new Point(byteFile); this.station = new Id(byteFile); this.direction = byteFile.ReadUInt32(); }
public Reference(BinaryReader byteFile) { this.Station = new Id(byteFile); this.East = byteFile.ReadUInt64(); this.North = byteFile.ReadUInt64(); this.Altitude = byteFile.ReadUInt32(); this.Comment = byteFile.ReadString(); }
public Shot(BinaryReader byteFile) { this.From = new Id(byteFile); this.To = new Id(byteFile); this.Distance = byteFile.ReadUInt32(); this.Azimuth = byteFile.ReadUInt16(); this.Inclination = byteFile.ReadUInt16(); this.flags = byteFile.ReadByte(); this.roll = byteFile.ReadByte(); this.tripIndex = byteFile.ReadUInt16(); if (this.flags == 2) { this.Comment = byteFile.ReadString(); } }