1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| using System;
| using System.Collections.Generic;
| using System.Linq;
| using System.Text;
| using System.Threading.Tasks;
|
| namespace XHandler.View.Liquids
| {
| /// <summary>
| /// 液体观察者接口
| /// 所有用到液体的地方,都实现该接口方法,更新最新的数据
| /// 采用观察者模式
| /// </summary>
| public interface ILiquidObserver
| {
| void ReceiveAndUpdate(LiquidManagement liquidManagement);
| }
| }
|
|