using Avalonia; using CommunityToolkit.Mvvm.ComponentModel; namespace Plugin.Cowain.Wcs.ViewModels; public partial class RgvViewModel : LayoutViewModel { [ObservableProperty] private string _processName = string.Empty; [ObservableProperty] private float _positionX; [ObservableProperty] private float _positionY; [ObservableProperty] private float _positionZ; [ObservableProperty] private int _fromStationId1; [ObservableProperty] private int _toStationId1; [ObservableProperty] private Point? _fromStationPoint1; [ObservableProperty] private Point? _toStationPoint1; [ObservableProperty] private int _fromStationId2; [ObservableProperty] private int _toStationId2; [ObservableProperty] private Point? _fromStationPoint2; [ObservableProperty] private Point? _toStationPoint2; [ObservableProperty] private string _qrCode1 = string.Empty; [ObservableProperty] private string _qrCode2 = string.Empty; [ObservableProperty] private string _json = string.Empty; [ObservableProperty] private string _status = string.Empty; }