1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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; }
- }
- /// <summary>
- /// 绑定数据
- /// </summary>
- /// <param name="windturbineId">风机编号</param>
- /// <param name="unifromCode">统一编码</param>
- /// <param name="pointValue">测点值</param>
- /// <param name="name">测点名称(含义)</param>
- public void BindData(string windturbineId, string unifromCode, string pointValue, string name)
- {
- wlValue.BindData(pointValue, "windturbine", windturbineId, unifromCode, name);
- }
- }
- }
|