/// <summary> /// 处理单次输入 /// </summary> /// <param name="input"></param> private void ProcessUnit(string input) { string time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"); Infos.Filter(input); this.textBox_Info.SafeInvoke(() => { this.textBox_Info.Text = string.Format(@"{0} 至 {1:yyyy-MM-dd HH:mm:ss.fff} ==> 数据列表长度:{2}", time, DateTime.Now, this.Infos.ListTrigger_Cluster.Count); }); }
/// <summary> /// 处理单次输入 /// </summary> /// <param name="input"></param> private void ProcessUnit(string input) { string time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff"); Infos.Filter(input); if (this.IsShown) { this.textBox_Input.SafeInvoke(() => this.textBox_Input.Text = input); this.textBox_Info.SafeInvoke(() => { this.textBox_Info.Text = string.Format(@"{0} 至 {1:yyyy-MM-dd HH:mm:ss.fff} ==> 数据列表长度:{2} 集群或目标数量:{3} 实际数量:{4}", time, DateTime.Now, this.Infos.ListTriggerCount, this.Infos.BufferSize, this.Infos.ActualSize); }); } }