ConfigBase.cs 690 B

12345678910111213141516171819202122232425262728293031323334
  1. using Prism.Mvvm;
  2. namespace SKMC.Api.Device.Config
  3. {
  4. /// <summary>
  5. /// 配置项基类
  6. /// </summary>
  7. public class ConfigBase : BindableBase
  8. {
  9. private string _code;
  10. public string Code
  11. {
  12. get { return _code; }
  13. set { _code = value; RaisePropertyChanged(); }
  14. }
  15. private string _name;
  16. public string Name
  17. {
  18. get { return _name; }
  19. set { _name = value; RaisePropertyChanged(); }
  20. }
  21. private string _note;
  22. public string Note
  23. {
  24. get { return _note; }
  25. set { _note = value; RaisePropertyChanged(); }
  26. }
  27. }
  28. }