SVN r987
SVN-Revision: r987
This commit is contained in:
@@ -238,7 +238,10 @@ namespace Lskj.Model
|
||||
/// <value>The mac address.</value>
|
||||
public string MacAddress
|
||||
{
|
||||
get { return GetMacAddress(); }
|
||||
get {
|
||||
if (!string.IsNullOrWhiteSpace(RecordMAC)) return RecordMAC;
|
||||
return GetMacAddress();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 客户名称
|
||||
@@ -260,6 +263,12 @@ namespace Lskj.Model
|
||||
/// Mrp当前切换状态
|
||||
/// </summary>
|
||||
public string MrpTag = "";
|
||||
/// <summary>
|
||||
/// 记录本机MAC地址(每次获取速度很慢)
|
||||
/// </summary>
|
||||
public string RecordMAC = "";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取本机MAC地址
|
||||
/// </summary>
|
||||
@@ -285,6 +294,7 @@ namespace Lskj.Model
|
||||
}
|
||||
moc = null;
|
||||
mc = null;
|
||||
RecordMAC= strMac.Replace(":", "-");
|
||||
return strMac.Replace(":", "-");
|
||||
}
|
||||
catch
|
||||
|
||||
Reference in New Issue
Block a user