📄 frameframe.cs
字号:
namespace FrameCountry.FrameBuild
{
using FrameCountry;
using System;
public class FrameFrame
{
private string ClassAlias = "FR";
private FrameCity frameCity = new FrameCity();
private string version = "1.0.0";
public string ConnectDBString
{
get
{
string functionAlias = "00";
string innerText = "";
string errorInfo = "";
FrameNode node = new FrameNode();
if (!node.GetNodeInnerText("frameconnect", "./ConfigList/Datebase/DBString", ref innerText, ref errorInfo))
{
throw new Exception(this.frameCity.DealErrorInfo(this.ClassAlias, functionAlias, errorInfo));
}
return innerText;
}
set
{
string functionAlias = "00";
string errorInfo = "";
FrameNode node = new FrameNode();
if (!node.SetNodeInnerText("frameconnect", "./ConfigList/Datebase/DBString", value, ref errorInfo))
{
throw new Exception(this.frameCity.DealErrorInfo(this.ClassAlias, functionAlias, errorInfo));
}
}
}
public string Version
{
get
{
return this.version;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -