2026-07-03 10:47:27 +08:00
|
|
|
namespace WCTDataMiner.Core.Models;
|
2026-07-02 18:13:56 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Qfod记录实体 - 存储Qfod格式解析数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class QfodRecord
|
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
|
public Guid ScenarioId { get; set; }
|
|
|
|
|
public byte ChargerIndex { get; set; }
|
|
|
|
|
public byte CoilIndex { get; set; }
|
|
|
|
|
public int DeltaQ { get; set; }
|
|
|
|
|
public float CurrentQ { get; set; }
|
|
|
|
|
public float RawQ { get; set; }
|
|
|
|
|
public byte FodType { get; set; }
|
|
|
|
|
public bool IsDeleted { get; set; } = false;
|
|
|
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
|
|
|
|
|
|
// Navigation Properties
|
|
|
|
|
public TestScenario Scenario { get; set; } = null!;
|
|
|
|
|
}
|