using System.Collections.Generic;
namespace kcsj.Models
{
public class LeastSquaresResult
{
public int ObservationCount { get; set; }
public int UnknownCount { get; set; }
public int Redundancy { get; set; }
///
/// 单位权中误差
///
public double Sigma0 { get; set; }
///
/// 未知点平差高程
///
public Dictionary UnknownElevations { get; } = new();
///
/// 所有点平差后高程,包括已知点和未知点
///
public Dictionary AdjustedElevations { get; } = new();
///
/// 未知点高程中误差
///
public Dictionary UnknownElevationErrors { get; } = new();
///
/// 每条观测的改正数 v
///
public List Residuals { get; } = new();
///
/// 每条观测的平差后高差
///
public List AdjustedHeightDiffs { get; } = new();
///
/// 每条观测的详细结果
///
public List ObservationResults { get; } = new();
}
public class ObservationAdjustmentResult
{
public int Index { get; set; }
public string FromPoint { get; set; } = "";
public string ToPoint { get; set; } = "";
public double ObservedHeightDiff { get; set; }
public double Distance { get; set; }
public double Weight { get; set; }
///
/// 改正数 v
///
public double Residual { get; set; }
///
/// 平差后高差 h + v
///
public double AdjustedHeightDiff { get; set; }
}
}