⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svcnosetting.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Core
{
    using System;
    using System.Text;

    public class SvcNoSetting
    {
        private Imps.Client.Core.SystemSetting _systemSetting;

        internal SvcNoSetting(Imps.Client.Core.SystemSetting systemSetting)
        {
            this._systemSetting = systemSetting;
        }

        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();
            builder.Append(string.Format("<service-no version=\"{0}\">", this._systemSetting.SvcNoVerion));
            builder.Append(string.Format("<sms>{0}</sms>", this.SvcNoSms));
            builder.Append(string.Format("<mms>{0}</mms>", this.SvcNoMms));
            builder.Append(string.Format("<rbt>{0}</rbt>", this.SvcNoCrbt));
            builder.Append(string.Format("<ivr>{0}</ivr>", this.SvcNoIVR));
            builder.Append(string.Format("<call-center>{0}</call-center>", this.SvcNoHelpDesk));
            builder.Append("</service-no>");
            return builder.ToString();
        }

        [ConfigCategory(ConfigCategory.System)]
        public long SvcNoCrbt
        {
            get
            {
                return this._systemSetting.GetPropertyValue<long>("rbt");
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public long SvcNoHelpDesk
        {
            get
            {
                return this._systemSetting.GetPropertyValue<long>("help-desk", (long) 0x2766);
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public long SvcNoIVR
        {
            get
            {
                return this._systemSetting.GetPropertyValue<long>("ivr");
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public long SvcNoMms
        {
            get
            {
                return this._systemSetting.GetPropertyValue<long>("mms");
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public long SvcNoSms
        {
            get
            {
                return this._systemSetting.GetPropertyValue<long>("sms");
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -