1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Drawing;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace IntelligentControlForsx.MyControls.windturbine
- {
- public partial class InverterInfoCenter : UserControl
- {
- /// <summary>
- /// 逆变器设备状态是否刷新完毕
- /// </summary>
- private bool IsRefreshOver = true;
- public InverterInfoCenter()
- {
- InitializeComponent();
- }
- public void Active()
- {
- }
- public void DeActive()
- {
- }
- private void timer1_Tick(object sender, EventArgs e)
- {
- #region 刷新时间
- DateTime time = DateTime.Now;
- string timeString = time.ToString("yyyy-MM-dd HH:mm:ss");
- lblTimeNow.Text = timeString;
- #endregion
- #region 刷新逆变器状态
- #endregion
- }
- }
- }
|