You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
676 B
C#
23 lines
676 B
C#
namespace OMS.NET.Instructs
|
|
{
|
|
/// <summary>
|
|
/// 用于测试和代码复制
|
|
/// </summary>
|
|
public class TestInstruct : Instruct
|
|
{
|
|
public TestInstruct()
|
|
{
|
|
this.Type = "test";
|
|
}
|
|
|
|
public override Task Handler(string wsid)
|
|
{
|
|
return Task.Run(() =>
|
|
{
|
|
//GlobalArea.UserConnects.Where(x => x.ID == wsid).First().UserEmail = "xxx@xx.com";//login
|
|
GlobalArea.Log.Info("当前客户端连接数:" + GlobalArea.ConnectClientsCount);
|
|
GlobalArea.Log.Info("当前登录用户数:" + GlobalArea.LoginUserCount);
|
|
});
|
|
}
|
|
}
|
|
} |