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.
 
 

29 lines
602 B

  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 HardwareStatusAttribute : Attribute
  9. {
  10. public HardwareStatusAttribute(string describe, string address)
  11. {
  12. Describe = describe;
  13. this.Address = address;
  14. }
  15. /// <summary>
  16. /// 描述
  17. /// </summary>
  18. public string Describe { get; set; }
  19. /// <summary>
  20. /// 地址
  21. /// </summary>
  22. public string Address { get; set; }
  23. }
  24. }