using System; using System.Collections.Generic; using System.Text; namespace 头罩视野 { public static class TestDataStore { // 单条测试数据 public class TestRecord { public int Id { get; set; } public string Time { get; set; } public string Date { get; set; } public double LeftEyeArea { get; set; } public double RightEyeArea { get; set; } public double BinocularArea { get; set; } //public double BlankArea { get; set; } public double LowerVision { get; set; } public double VisionRetentionRate { get; set; } } // 所有记录 public static List Records { get; } = new List(); private static int _nextId = 1; public static void AddNewRecord(TestRecord record) { record.Id = _nextId++; Records.Add(record); } } }