InverterInfoCenter.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace IntelligentControlForsx.MyControls.windturbine
  11. {
  12. public partial class InverterInfoCenter : UserControl
  13. {
  14. /// <summary>
  15. /// 逆变器设备状态是否刷新完毕
  16. /// </summary>
  17. private bool IsRefreshOver = true;
  18. public InverterInfoCenter()
  19. {
  20. InitializeComponent();
  21. }
  22. public void Active()
  23. {
  24. }
  25. public void DeActive()
  26. {
  27. }
  28. private void timer1_Tick(object sender, EventArgs e)
  29. {
  30. #region 刷新时间
  31. DateTime time = DateTime.Now;
  32. string timeString = time.ToString("yyyy-MM-dd HH:mm:ss");
  33. lblTimeNow.Text = timeString;
  34. #endregion
  35. #region 刷新逆变器状态
  36. #endregion
  37. }
  38. }
  39. }