private bool IsMin(Param param) { bool isMin = false; if (param.MinuteValue != null) { isMin = true; } return isMin; }
private double GetAngle(Param param) { double? angle = param.DegValue; if (param.DegValue == null) { angle = param.MinuteValue; } return angle.GetValueOrDefault(); }