コード例 #1
0
 /// <summary>
 /// Create instance of CellDatumResult
 /// </summary>
 public CellDatumResult(
     DisplayMode displayMode,
     CellDatumReturnCode returnCode,
     double?value,
     DateTime?timestamp)
 {
     this.displayMode = displayMode;
     this.returnCode  = returnCode;
     this.value       = displayMode == DisplayMode.CCV || displayMode == DisplayMode.MDP || displayMode == DisplayMode.CompactionCoverage ? value / 10 : value;
     this.timestamp   = timestamp;
 }
コード例 #2
0
 /// <summary>
 /// Create an instance of CompactionCellDatumResult class
 /// </summary>
 public CompactionCellDatumResult(DisplayMode displayMode, CellDatumReturnCode returnCode, double?value, DateTime?timestamp, double northing, double easting)
     : base(displayMode, returnCode, value, timestamp)
 {
     this.northing = northing;
     this.easting  = easting;
 }