using System;
using System.Collections.Generic;

namespace PetroleumViscosityTest.Models
{
    public class ViscosityTestData
    {
        // 试样信息
        public string SampleID { get; set; }
        public string SampleName { get; set; }
        public double TestTemp { get; set; }

        // 粘度计常数
        public double Constant { get; set; }

        // 密度（可选）
        public double? Density { get; set; }

        // 流动时间
        public List<double> RawTimes { get; set; } = new List<double>();
        public List<double> ValidTimes { get; set; } = new List<double>();
        public double AvgTime { get; set; }

        // 结果
        public double Viscosity { get; set; }
        public double DynamicViscosity { get; set; }

        // 人员日期
        public string Operator { get; set; }
        public DateTime TestDate { get; set; }
        public string Remark { get; set; }

        // 精密度
        public double Repeatability { get; set; }   // 实测重复性%
        public bool IsRepeatabilityOK { get; set; }
    }
}