📄 callmeinfo.cs
字号:
namespace Imps.Client.Pc
{
using System;
internal class CallMeInfo
{
private DateTime _callMeTime;
private string _cmd = string.Empty;
private string _mobileNum = string.Empty;
private bool _processed;
private string _protocol = string.Empty;
private string _uri = string.Empty;
public CallMeInfo()
{
this.Clear();
}
public void Clear()
{
this._protocol = "";
this._cmd = "";
this._uri = "";
this._mobileNum = "";
this._callMeTime = DateTime.Now;
this._processed = false;
}
public void Fill(string protocol, string cmd, string uri, string mobileNum, DateTime callMeTime, bool processed)
{
this._protocol = protocol;
this._cmd = cmd;
this._uri = uri;
this._mobileNum = mobileNum;
this._callMeTime = callMeTime;
this._processed = processed;
}
public bool IsValid()
{
return (((string.Empty != this._protocol) && (string.Empty != this._cmd)) && ((string.Empty != this._uri) && (string.Empty != this._mobileNum)));
}
public DateTime CallMeTime
{
get
{
return this._callMeTime;
}
set
{
this._callMeTime = value;
}
}
public string Cmd
{
get
{
return this._cmd;
}
set
{
this._cmd = value;
}
}
public string MobileNum
{
get
{
return this._mobileNum;
}
set
{
this._mobileNum = value;
}
}
public bool Processed
{
get
{
return this._processed;
}
set
{
this._processed = value;
}
}
public string Protocol
{
get
{
return this._protocol;
}
set
{
this._protocol = value;
}
}
public string Uri
{
get
{
return this._uri;
}
set
{
this._uri = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -