ProcessItem.cs 758 B

1234567891011121314151617
  1. using qmonlib.Attributes;
  2. namespace qmonlib.emit.TestStructures
  3. {
  4. [MonitoredClass(Caption = "Processes", Description = "Shows current processes status", ViewType = MonItemGeneral.MonViewType.List, TTL = 10000)]
  5. public class ProcessItem
  6. {
  7. [MonitoredProperty(Label = "ProcessId", Description = "Process Id")]
  8. public long Id { get; set; }
  9. [MonitoredProperty(Label = "ProcessName", Description = "Process Name")]
  10. public string Name { get; set; }
  11. [MonitoredProperty(Label = "ProcessStatus", Description = "Process Status")]
  12. public string Status { get; set; }
  13. [MonitoredProperty(Label = "Path", Description = "Process Path")]
  14. public string Path { get; set; }
  15. }
  16. }