MonitorCommand.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using Quadarax.Foundation.Core.QConsole;
  2. using Quadarax.Foundation.Core.QConsole.Attributes;
  3. using Quadarax.Foundation.Core.Value;
  4. namespace Quadarax.Foundation.Core.QMonitor.Console.Commands
  5. {
  6. [CommandDefinition]
  7. internal class MonitorCommand : BaseCommand
  8. {
  9. #region *** Constants ***
  10. private const string CS_CMD_MONITOR_NAME = "monitor";
  11. private const string CS_CMD_MONITOR_DESC = "Monitor specific single channel";
  12. protected const string CS_ARG_NAME_CHANNEL = "channel";
  13. private const string CS_ARG_HINT_CHANNEL = "<chennel>";
  14. private const string CS_ARG_DESC_CHANNEL = "Specify full channel name to monitor. Channel is complex key instanceIdentifier:channelName";
  15. protected const string CS_ARG_NAME_DEBUG = "dbg";
  16. private const string CS_ARG_HINT_DEBUG = "<is_debug_mode>";
  17. private const string CS_ARG_DESC_DEBUG = "Flag if set writes debug messages.";
  18. #endregion
  19. public MonitorCommand(Engine engine) : base(engine)
  20. {
  21. }
  22. protected override Result OnExecute()
  23. {
  24. throw new NotImplementedException();
  25. }
  26. public override string Name => CS_CMD_MONITOR_NAME;
  27. public override string Description => CS_CMD_MONITOR_DESC;
  28. }
  29. }