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 { /// /// 逆变器设备状态是否刷新完毕 /// 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 } } }