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