终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VaribleModel.cs 1.2 KiB

2 年之前
1 年之前
2 年之前
1 年之前
2 年之前
1234567891011121314151617181920212223242526272829303132
  1. using Microsoft.EntityFrameworkCore.Metadata;
  2. using BPA.Helper;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows.Documents;
  9. namespace BPASmartClient.MorkMW.Model
  10. {
  11. public class VaribleModel:NotifyBase
  12. {
  13. private int _id;
  14. public int Id { get { return _id; }set { _id = value; OnPropertyChanged(); } }
  15. private string _varibleName;
  16. public string VaribleName { get { return _varibleName; } set { _varibleName = value;OnPropertyChanged(); } }
  17. private string _robotAddress;
  18. public string RobotAddress { get { return _robotAddress; } set { _robotAddress = value; OnPropertyChanged(); } }
  19. private string _modbusAddress;
  20. public string ModbusAddress { get { return _modbusAddress; }set { _modbusAddress = value;OnPropertyChanged(); } }
  21. private string _notes;
  22. public string Notes { get { return _notes; } set { _notes = value; OnPropertyChanged(); } }
  23. private bool _currentValue;
  24. public bool CurrentValue { get { return _currentValue; } set { _currentValue = value; OnPropertyChanged(); } }
  25. }
  26. }