Constants.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. // ReSharper disable InconsistentNaming
  2. namespace TDMS.Common
  3. {
  4. internal static class Constants
  5. {
  6. // File type constants
  7. public const string DDC_FILE_TYPE_TDM = "TDM";
  8. public const string DDC_FILE_TYPE_TDM_STREAMING = "TDMS";
  9. // File property constants
  10. public const string DDC_FILE_NAME = DDC_LEVEL_NAME; // Name
  11. public const string DDC_FILE_DESCRIPTION = DDC_LEVEL_DESCRIPTION; // Description
  12. public const string DDC_FILE_TITLE = "title"; // Title
  13. public const string DDC_FILE_AUTHOR = "author"; // Author
  14. public const string DDC_FILE_DATETIME = "datetime"; // Date/Time
  15. // ChannelGroup property constants
  16. public const string DDC_CHANNEL_GROUP_NAME = DDC_LEVEL_NAME; // Name
  17. public const string DDC_CHANNEL_GROUP_DESCRIPTION = DDC_LEVEL_DESCRIPTION; // Description
  18. // Channel property constants
  19. public const string DDC_CHANNEL_NAME = DDC_LEVEL_NAME; // Name
  20. public const string DDC_CHANNEL_DESCRIPTION = DDC_LEVEL_DESCRIPTION; // Description
  21. public const string DDC_CHANNEL_UNIT_STRING = "unit_string"; // Unit String
  22. public const string DDC_CHANNEL_MINIMUM = "minimum"; // Minimum
  23. public const string DDC_CHANNEL_MAXIMUM = "maximum"; // Maximum
  24. // Default level property name
  25. public const string DDC_LEVEL_NAME = "name"; // Name
  26. public const string DDC_LEVEL_DESCRIPTION = "description"; // Description
  27. }
  28. }