using XFEExtension.NetCore.AutoConfig;
using XFEToolBox.Core.Model;
namespace XFEToolBox.Client.Profiles.CrossVersionProfiles;
public partial class ConsoleProfile : XFEProfile
{
///
/// 控制台端口
///
[ProfileProperty]
private int consolePort = 3280;
///
/// 控制台连接密码
///
[ProfileProperty]
private string consolePassword = "";
///
/// 是否只在本机回路中开放
///
[ProfileProperty]
private bool localHostOnly = true;
///
/// 是否由工具箱主动连接调试程序服务器
///
[ProfileProperty]
private bool connectToRemoteServer = false;
///
/// 远程调试模式下的远程调试程序服务器地址
///
[ProfileProperty]
private string remoteServerAddress = "ws://localhost:3280/";
///
/// 远程调试模式下用于连接调试程序服务器的密码
///
[ProfileProperty]
private string remoteServerPassword = "";
///
/// 最大行数
///
[ProfileProperty]
private int maxLine = 8000;
public ConsoleProfile() => ProfilePath = @$"{AppPath.LocalProfile}\{typeof(ConsoleProfile)}.xprofile";
}