public override void LoadData(int nRowIndex, DataFile file) { int readIndex = 0; m_ID = int.Parse(file.getString(readIndex)); readIndex++; Dist = float.Parse(file.getString(readIndex)); readIndex++; PID = int.Parse(file.getString(readIndex)); readIndex++; Dir = float.Parse(file.getString(readIndex)); readIndex++; Apara = float.Parse(file.getString(readIndex)); readIndex++; r = float.Parse(file.getString(readIndex)); readIndex++; slope = float.Parse(file.getString(readIndex)); readIndex++; cant = float.Parse(file.getString(readIndex)); readIndex++; LW = float.Parse(file.getString(readIndex)); readIndex++; RW = float.Parse(file.getString(readIndex)); readIndex++; }
public override void LoadData(int nRowIndex, DataFile file) { int readIndex = 0; m_ID = int.Parse(file.getString(readIndex)); readIndex++; B = double.Parse(file.getString(readIndex)); readIndex++; L = double.Parse(file.getString(readIndex)); readIndex++; H = double.Parse(file.getString(readIndex)); readIndex++; Bx = double.Parse(file.getString(readIndex)); readIndex++; Ly = double.Parse(file.getString(readIndex)); readIndex++; ReF = int.Parse(file.getString(readIndex)); readIndex++; MCODE1 = int.Parse(file.getString(readIndex)); readIndex++; MCODE2 = int.Parse(file.getString(readIndex)); readIndex++; MCODE3 = int.Parse(file.getString(readIndex)); readIndex++; }
public int m_ID; // the first line is always ID. public abstract void LoadData(int nRowIndex, DataFile file);