BeckhoffIOAccessor.cs 923 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MECF.Framework.Common.TwinCat
  7. {
  8. public class BeckhoffIOAccessor<T>
  9. {
  10. private string _name;
  11. private string _address;
  12. private string _scaling;
  13. private string _dataType;
  14. public T Value { get; set; }
  15. public string Name { get { return _name; } set { _name = value; } }
  16. public string Address { get { return _address; } set { _address = value; } }
  17. public string dataType { get { return _dataType; } set { _dataType = value; } }
  18. public BeckhoffIOAccessor(string name,string address,string scaling,string dataType)
  19. {
  20. this._name = name;
  21. this._address = address;
  22. this._scaling = scaling;
  23. this._dataType = dataType;
  24. }
  25. }
  26. }