/// <summary> /// 核销事件订阅-刷新挂牌-摘牌-成交 /// </summary> /// <param name="obj"></param> private void MQTTService_NoticeWriteOffEvent1(WriteOff obj) { //查询挂牌信息拉全量 InitializePutBrandList(m_contractVo); //刷新摘牌 InitializeDelistBrandList(m_contractVo); //刷新成交 InitializeTradedBrandList(m_contractVo); }
/// <summary> /// 订阅摘牌核销成功的消息 /// </summary> /// <param name="obj"></param> private void MQTTService_NoticeWriteOffEvent(WriteOff obj) { if (obj == null) { return; } //核销成功 if (obj.confirmStatus == "4") { //刷新摘牌 InitializeDelistBrandList(m_contractVo); //刷新成交列表 InitializeTradedBrandList(m_contractVo); } else { InitializeDelistBrandList(m_contractVo); } }