| 1234567891011121314151617181920212223242526 |
- namespace MaintainModule.ViewModels;
- internal partial class BoatMaintianViewModel(IBottomPopManager popManager) : ObservableObject
- {
- [ObservableProperty]
- private int _BoatPosition;
- [RelayCommand]
- private void MovetoPos(string para)
- {
- this.BoatPosition = para switch
- {
- "1" => 1,
- "2" => 2,
- "3" => 3,
- _ => 3
- };
- }
- [RelayCommand]
- private void BoatModify()
- {
- popManager.ShowPop("BoatWafer");
- }
- }
|