using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XHandler.View.Consumables { /// /// 耗材观察者接口 /// 所有用到耗材的地方,都实现该接口方法,更新最新的数据 /// 采用观察者模式 /// public interface IConsumableObserver { void ReceiveAndUpdate(ConsumableManagement consumableManagement); } }