public BatchDataImport() { flag = 0; m_proxyWater = new CSQLWater(); m_proxyRain = new CSQLRain(); m_proxyStation = new CSQLStation(); }
public TextForm() { m_proxyWater = new CSQLWater(); m_proxyRain = new CSQLRain(); InitializeComponent(); InitUI(); }
public OneWaterYear() : base() { List <string> headerTmp = new List <string>(); headerTmp.Add(Stamonth); for (int i = 1; i <= 31; i++) { headerTmp.Add(i.ToString() + "日"); } this.Header = headerTmp.ToArray(); this.ReCalculateSize(); this.BPartionPageEnable = false; //不启用分页功能 // 初始化数据源 m_proxyWater = CDBDataMgr.Instance.GetWaterProxy(); }
public OneWaterMonth() : base() { List <string> headerTmp = new List <string>(); headerTmp.Add("日期"); for (int i = 1; i < 25; i++) { headerTmp.Add(i.ToString() + "时"); } headerTmp.Add(aver); headerTmp.Add(max); headerTmp.Add(maxTime); headerTmp.Add(min); headerTmp.Add(minTime); this.Header = headerTmp.ToArray(); this.ReCalculateSize(); this.BPartionPageEnable = false; //不启用分页功能 // 初始化数据源 m_proxyWater = CDBDataMgr.Instance.GetWaterProxy(); }
public void InitDataSource(IWaterProxy proxy) { m_proxyWaterFlow = proxy; m_proxyWaterSpeed = new CSQLWaterSpeed(); }
/// <summary> /// 初始化数据来源,绑定与数据库的数据 /// </summary> /// <param name="proxy"></param> public void InitDataSource(IWaterProxy proxy) { m_proxyWater = proxy; }