终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

EventSendMessage.cs 1.4 KiB

2 anni fa
2 anni fa
2 anni fa
2 anni fa
2 anni fa
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.MessageName.发送消息Model
  7. {
  8. /// <summary>
  9. /// 事件消息【发送端】Model配置
  10. /// </summary>
  11. public class EventSendMessage: MessageBase
  12. {
  13. /// <summary>
  14. /// 控件名称
  15. /// </summary>
  16. public string ControlName { get; set; }
  17. /// <summary>
  18. /// 控件标题
  19. /// </summary>
  20. public string ControlTitle { get; set; }
  21. /// <summary>
  22. /// 控件触发源
  23. /// </summary>
  24. public object ControlSource { get; set; }
  25. /// <summary>
  26. /// 控件状态
  27. /// </summary>
  28. public string ControlStatus { get; set; }
  29. /// <summary>
  30. /// 控件类型
  31. /// </summary>
  32. public ControlEventType EventType { get; set; }
  33. }
  34. /// <summary>
  35. /// 控件类型
  36. /// </summary>
  37. public enum ControlEventType
  38. {
  39. /// <summary>
  40. /// 单击
  41. /// </summary>
  42. Click,
  43. /// <summary>
  44. /// 左键按下
  45. /// </summary>
  46. MouseLeftButtonDown,
  47. /// <summary>
  48. /// 文本改变事件
  49. /// </summary>
  50. TextChanged,
  51. /// <summary>
  52. /// 选中
  53. /// </summary>
  54. Checked,
  55. /// <summary>
  56. /// 取消选中
  57. /// </summary>
  58. Unchecked,
  59. }
  60. }