public InterceptInfo(SuplierInfo supplier, string spuId, TopTrade trade, Statistic statistic) { this.supplier = supplier; this.spuId = spuId; this.trade = trade; this.statistic = statistic; }
private void OnStatisticUpdate(Statistic statistic) { this.InvokeAction(() => { toolStripStatusLabel拦截失败.Text = "拦截失败:" + statistic.InterceptFailed; toolStripStatusLabel拦截成功.Text = "拦截成功:" + statistic.InterceptSuccess; toolStripStatusLabel下单.Text = "下单:" + statistic.BuyCount; toolStripStatusLabel付款.Text = "付款:" + statistic.PayCount; }); }