19 lines
387 B
C#
19 lines
387 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace ZXKFramework
|
|
{
|
|
public abstract class Model
|
|
{
|
|
//名字标识
|
|
public abstract string Name { get; }
|
|
|
|
//发送事件
|
|
protected void SendEvent(string eventName, object data = null)
|
|
{
|
|
MVC.SendEvent(eventName, data);
|
|
}
|
|
}
|
|
} |