| 1234567891011121314151617181920212223242526272829303132 |
- using CommunityToolkit.Mvvm.ComponentModel;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ivf_tl_Entity.Entity
- {
- public partial class MeasurementEntity : ObservableObject
- {
- public int Num { get; set; }
- [ObservableProperty]
- private int measurementValue = -1;
- [ObservableProperty]
- private string measurementString = null;
- partial void OnMeasurementValueChanged(int value)
- {
- if (value == -1)
- {
- MeasurementString = "";
- }
- else
- {
- MeasurementString = value.ToString();
- }
- }
- }
- }
|