TemperatureDetailAllZoneViewModel.cs 791 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using FurnaceUI.Models;
  8. namespace FurnaceUI.Views.Operations
  9. {
  10. public class TemperatureDetailAllZoneViewModel: FurnaceUIViewModelBase
  11. {
  12. private string _tempSetValue;
  13. public string TempSetValue
  14. {
  15. get => _tempSetValue; set
  16. {
  17. _tempSetValue = value;
  18. NotifyOfPropertyChange("TempSetValue");
  19. }
  20. }
  21. public void SaveCmd()
  22. {
  23. ((Window)GetView()).DialogResult = true;
  24. }
  25. public void CloseCmd()
  26. {
  27. ((Window)GetView()).DialogResult = false;
  28. }
  29. }
  30. }