MachineSlaveError.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace SKMC.Api.Machine.Model
  8. {
  9. public class MachineSlaveError : BindableBase
  10. {
  11. private string _vendorName;
  12. private string _errorCode;
  13. private int _errorvalue;
  14. private int _assist‌Value;
  15. private string _faultName;
  16. private string _reason;
  17. private string _confirmMethod;
  18. private string _handlingMeasures;
  19. private string _faultRange;
  20. public string VendorName
  21. {
  22. get { return _vendorName; }
  23. set { _vendorName = value; RaisePropertyChanged(); }
  24. }
  25. public string ErrorCode
  26. {
  27. get { return _errorCode; }
  28. set { _errorCode = value; RaisePropertyChanged(); }
  29. }
  30. public int ErrorValue
  31. {
  32. get { return _errorvalue; }
  33. set { _errorvalue = value; RaisePropertyChanged(); }
  34. }
  35. public int Assist‌Value
  36. {
  37. get { return _assist‌Value; }
  38. set { _assist‌Value = value; RaisePropertyChanged(); }
  39. }
  40. public string FaultName
  41. {
  42. get { return _faultName; }
  43. set { _faultName = value; RaisePropertyChanged(); }
  44. }
  45. public string Reason
  46. {
  47. get { return _reason; }
  48. set { _reason = value; RaisePropertyChanged(); }
  49. }
  50. public string ConfirmMethod
  51. {
  52. get { return _confirmMethod; }
  53. set { _confirmMethod = value; RaisePropertyChanged(); }
  54. }
  55. public string HandlingMeasures
  56. {
  57. get { return _handlingMeasures; }
  58. set { _handlingMeasures = value; RaisePropertyChanged(); }
  59. }
  60. public string FaultRange
  61. {
  62. get { return _faultRange; }
  63. set { _faultRange = value; RaisePropertyChanged(); }
  64. }
  65. }
  66. }