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.

VariableMonitorAttribute.cs 622 B

2 years ago
1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HBLConsole.Attributes
  7. {
  8. public class VariableMonitorAttribute : Attribute
  9. {
  10. public VariableMonitorAttribute(string Notes, string PLCAddress = "", string ModbusTcpAddress = "")
  11. {
  12. this.PLCAddress = PLCAddress;
  13. this.ModbusTcpAddress = ModbusTcpAddress;
  14. this.Notes = Notes;
  15. }
  16. public string PLCAddress { get; set; }
  17. public string ModbusTcpAddress { get; set; }
  18. public string Notes { get; set; }
  19. }
  20. }