FPGABaseProperty.cs 615 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace NIFPGA
  7. {
  8. public abstract class FPGABaseProperty : FPGABase
  9. {
  10. internal FPGABaseProperty(FPGASession session,uint indicator,bool isIndicator) : base(session)
  11. {
  12. Indicator = indicator;
  13. IsIndicator= isIndicator;
  14. }
  15. public Boolean IsIndicator { get; }
  16. public uint Indicator { get; }
  17. public string Name { get; init; }
  18. public override string ToString()
  19. {
  20. return Name;
  21. }
  22. }
  23. }