public void OnDataChanged(string argkey, string argValue, eCATWCF.DataCacheType argType, string argDatetimeStamp) { if (cacheDic.ContainsKey(argkey)) { cacheDic[argkey].BufferValue = argValue; cacheDic[argkey].Timespan = argDatetimeStamp; cacheDic[argkey].DataCacheType = argType.ToString(); dgv_BufferListView.DataSource = GetViewList(); //dgv_BufferListView.Refresh(); } }
public void OnDataCacheClear(eCATWCF.DataCacheType argType, string argDateTimestamp) { dgv_BufferListView.DataSource = GetViewList(argType.ToString()); //dgv_BufferListView.Refresh(); }