“…MVVM design Pattern is introduced in MES of discrete industry. Firstly, a MES can be divided to the following models: base data model, quality model, plan model, track model, alarm model, material model, equipment model, data collection model [3] . So there are so many function models in MES, and different enterprises have different requirements for each function model.…”