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 LabelInfo : UserControl { public LabelInfo() { InitializeComponent(); } private string valueString; public string ValueString { set { valueString = value; wlValue.LableText = value; } get { return valueString; } } /// /// 绑定数据 /// /// 风机编号 /// 统一编码 /// 测点值 /// 测点名称(含义) public void BindData(string windturbineId, string unifromCode, string pointValue, string name) { wlValue.BindData(pointValue, "windturbine", windturbineId, unifromCode, name); } } }