20 lines
509 B
C#
20 lines
509 B
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
|
|
namespace AciTester.Models;
|
|
|
|
public partial class StageData : ObservableObject
|
|
{
|
|
[ObservableProperty]
|
|
private string stageName = string.Empty;
|
|
|
|
[ObservableProperty]
|
|
private double cutoffDiameter; // 截止直径 (μm)
|
|
|
|
[ObservableProperty]
|
|
private double initialWeight; // 测前质量 (g)
|
|
|
|
[ObservableProperty]
|
|
private double finalWeight; // 测后质量 (g)
|
|
|
|
public double NetWeight => finalWeight - initialWeight;
|
|
} |