📄 rawinfo.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using DataFieldClass;
namespace MsgSystem
{
public class RawInfo
{
public string from = "";
public DateTime time = new DateTime( );
public string rawInfo = "";
public MsgInfo getInfo()
{
MsgInfo rtn = new MsgInfo( );
PersonInfo person = Util.getPersonByPhone( from);
if (person == null)
{
rtn.setGroup( 0);
rtn.setMod( 0);
rtn.setSender( "unknown");
}
else
{
rtn.setGroup(person.getGroup());
rtn.setSender(person.getName());
//rtn.setMod( );
}
rtn.setPhone( from);
rtn.setDate(time);
return rtn;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -