终端一体化运控平台
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

63 rindas
1.4 KiB

  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. }