更新122
This commit is contained in:
51
Models/HardnessSamplePoint.cs
Normal file
51
Models/HardnessSamplePoint.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using System;
|
||||
|
||||
namespace TabletTester2025.Models
|
||||
{
|
||||
public class HardnessSamplePoint : ObservableObject
|
||||
{
|
||||
private int _id;
|
||||
private int _testBatchId;
|
||||
private int _sequenceNo;
|
||||
private double _value;
|
||||
private double _deviationFromAverage;
|
||||
private DateTime _recordedAt;
|
||||
|
||||
public int Id
|
||||
{
|
||||
get => _id;
|
||||
set => SetProperty(ref _id, value);
|
||||
}
|
||||
|
||||
public int TestBatchId
|
||||
{
|
||||
get => _testBatchId;
|
||||
set => SetProperty(ref _testBatchId, value);
|
||||
}
|
||||
|
||||
public int SequenceNo
|
||||
{
|
||||
get => _sequenceNo;
|
||||
set => SetProperty(ref _sequenceNo, value);
|
||||
}
|
||||
|
||||
public double Value
|
||||
{
|
||||
get => _value;
|
||||
set => SetProperty(ref _value, value);
|
||||
}
|
||||
|
||||
public double DeviationFromAverage
|
||||
{
|
||||
get => _deviationFromAverage;
|
||||
set => SetProperty(ref _deviationFromAverage, value);
|
||||
}
|
||||
|
||||
public DateTime RecordedAt
|
||||
{
|
||||
get => _recordedAt;
|
||||
set => SetProperty(ref _recordedAt, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user