using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Security.RightsManagement; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace IntelligentControlForsx.MyControls { public partial class StationFloatInfo : UserControl { private string windSpeedOrLightLable; public string WindSpeedOrLightLable { get { return windSpeedOrLightLable; } set { windSpeedOrLightLable = value; lblSpeedOrLightLable.Text = value; } } private string unitLable; public string UnitLable { get { return unitLable; } set { lblUnit.Text = value; unitLable = value; } } private string speed; public string Speed { get { return speed; } set { lblSpeed.Text = value; } } private string powerCount; public string PowerCount { get { return powerCount; } set { lblPowerCount.Text = value; powerCount = value; } } private string power; public string Power { get { return power; } set { lblPower.Text = value; power = value; } } public StationFloatInfo() { InitializeComponent(); } } }