Ejemplo n.º 1
0
 public XSectionElement(BinaryReader byteFile)
 {
     //this.id = byteFile.ReadByte();
     this.pos = new Point(byteFile);
     this.station = new Id(byteFile);
     this.direction = byteFile.ReadUInt32();
 }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
        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();
            }
        }