You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

3 years ago
using EC.Utils.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System
{
public class MyMessageManager
{
public static void AddMessage(MyMessage MyMessage){//string lineNum,string from,string toUser, string siteNo,string level,string message) {
}
/// <summary>
/// 通知
/// </summary>
/// <param name="level">debug info error </param>
/// <param name="message"></param>
public static void AddMessage( string level, string message)
{
}
public static void AddInfoMessage( string message)
{
MyMessage MyMessage = new MyMessage();
AddMessage(MyMessage);
}
/// <summary>
/// 系统
/// </summary>
/// <param name="message"></param>
public static void AddErrorMessage(string message)
{
MyMessage MyMessage = new MyMessage();
// MyMessage.
AddMessage(MyMessage);
}
}
}