基线:全量源码首提(D1 版本控制落地,含第一轮优化 B1-B4/A1/A4/缩放修复)
This commit is contained in:
Generated
+251
@@ -0,0 +1,251 @@
|
||||
namespace 成套报价软件
|
||||
{
|
||||
partial class AI助手设置
|
||||
{
|
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null)) {
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.lbl状态 = new System.Windows.Forms.Label();
|
||||
this.txt状态 = new System.Windows.Forms.TextBox();
|
||||
this.btn刷新 = new System.Windows.Forms.Button();
|
||||
this.lbl端口 = new System.Windows.Forms.Label();
|
||||
this.num端口 = new System.Windows.Forms.NumericUpDown();
|
||||
this.lbl端口提示 = new System.Windows.Forms.Label();
|
||||
this.lbl令牌 = new System.Windows.Forms.Label();
|
||||
this.txt令牌 = new System.Windows.Forms.TextBox();
|
||||
this.btn复制令牌 = new System.Windows.Forms.Button();
|
||||
this.chk自启 = new System.Windows.Forms.CheckBox();
|
||||
this.btn保存 = new System.Windows.Forms.Button();
|
||||
this.btn复制引擎目录 = new System.Windows.Forms.Button();
|
||||
this.btn复制状态目录 = new System.Windows.Forms.Button();
|
||||
this.btn查看日志 = new System.Windows.Forms.Button();
|
||||
this.lbl说明 = new System.Windows.Forms.Label();
|
||||
this.btn打开面板 = new System.Windows.Forms.Button();
|
||||
this.btn关闭 = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lbl状态
|
||||
//
|
||||
this.lbl状态.Location = new System.Drawing.Point(15, 18);
|
||||
this.lbl状态.Name = "lbl状态";
|
||||
this.lbl状态.Size = new System.Drawing.Size(90, 22);
|
||||
this.lbl状态.Text = "引擎状态:";
|
||||
//
|
||||
// txt状态
|
||||
//
|
||||
this.txt状态.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.txt状态.Location = new System.Drawing.Point(110, 15);
|
||||
this.txt状态.Name = "txt状态";
|
||||
this.txt状态.ReadOnly = true;
|
||||
this.txt状态.Size = new System.Drawing.Size(280, 24);
|
||||
this.txt状态.TabIndex = 0;
|
||||
//
|
||||
// btn刷新
|
||||
//
|
||||
this.btn刷新.Location = new System.Drawing.Point(400, 13);
|
||||
this.btn刷新.Name = "btn刷新";
|
||||
this.btn刷新.Size = new System.Drawing.Size(82, 27);
|
||||
this.btn刷新.TabIndex = 1;
|
||||
this.btn刷新.Text = "刷新";
|
||||
this.btn刷新.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lbl端口
|
||||
//
|
||||
this.lbl端口.Location = new System.Drawing.Point(15, 56);
|
||||
this.lbl端口.Name = "lbl端口";
|
||||
this.lbl端口.Size = new System.Drawing.Size(90, 22);
|
||||
this.lbl端口.Text = "网关端口:";
|
||||
//
|
||||
// num端口
|
||||
//
|
||||
this.num端口.Location = new System.Drawing.Point(110, 53);
|
||||
this.num端口.Maximum = new decimal(new int[] { 65535, 0, 0, 0 });
|
||||
this.num端口.Minimum = new decimal(new int[] { 1024, 0, 0, 0 });
|
||||
this.num端口.Name = "num端口";
|
||||
this.num端口.Size = new System.Drawing.Size(100, 24);
|
||||
this.num端口.TabIndex = 2;
|
||||
this.num端口.Value = new decimal(new int[] { 18789, 0, 0, 0 });
|
||||
//
|
||||
// lbl端口提示
|
||||
//
|
||||
this.lbl端口提示.ForeColor = System.Drawing.Color.Gray;
|
||||
this.lbl端口提示.Location = new System.Drawing.Point(220, 56);
|
||||
this.lbl端口提示.Name = "lbl端口提示";
|
||||
this.lbl端口提示.Size = new System.Drawing.Size(260, 22);
|
||||
this.lbl端口提示.Text = "修改后需重启引擎生效";
|
||||
//
|
||||
// lbl令牌
|
||||
//
|
||||
this.lbl令牌.Location = new System.Drawing.Point(15, 94);
|
||||
this.lbl令牌.Name = "lbl令牌";
|
||||
this.lbl令牌.Size = new System.Drawing.Size(90, 22);
|
||||
this.lbl令牌.Text = "连接令牌:";
|
||||
//
|
||||
// txt令牌
|
||||
//
|
||||
this.txt令牌.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.txt令牌.Location = new System.Drawing.Point(110, 91);
|
||||
this.txt令牌.Name = "txt令牌";
|
||||
this.txt令牌.ReadOnly = true;
|
||||
this.txt令牌.Size = new System.Drawing.Size(280, 24);
|
||||
this.txt令牌.TabIndex = 3;
|
||||
//
|
||||
// btn复制令牌
|
||||
//
|
||||
this.btn复制令牌.Location = new System.Drawing.Point(400, 89);
|
||||
this.btn复制令牌.Name = "btn复制令牌";
|
||||
this.btn复制令牌.Size = new System.Drawing.Size(82, 27);
|
||||
this.btn复制令牌.TabIndex = 4;
|
||||
this.btn复制令牌.Text = "复制令牌";
|
||||
this.btn复制令牌.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chk自启
|
||||
//
|
||||
this.chk自启.AutoSize = true;
|
||||
this.chk自启.Location = new System.Drawing.Point(15, 130);
|
||||
this.chk自启.Name = "chk自启";
|
||||
this.chk自启.Size = new System.Drawing.Size(216, 21);
|
||||
this.chk自启.TabIndex = 5;
|
||||
this.chk自启.Text = "开机自动启动 AI 引擎";
|
||||
this.chk自启.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn保存
|
||||
//
|
||||
this.btn保存.Location = new System.Drawing.Point(15, 168);
|
||||
this.btn保存.Name = "btn保存";
|
||||
this.btn保存.Size = new System.Drawing.Size(105, 30);
|
||||
this.btn保存.TabIndex = 6;
|
||||
this.btn保存.Text = "保存配置";
|
||||
this.btn保存.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn复制引擎目录
|
||||
//
|
||||
this.btn复制引擎目录.Location = new System.Drawing.Point(135, 168);
|
||||
this.btn复制引擎目录.Name = "btn复制引擎目录";
|
||||
this.btn复制引擎目录.Size = new System.Drawing.Size(120, 30);
|
||||
this.btn复制引擎目录.TabIndex = 7;
|
||||
this.btn复制引擎目录.Text = "复制引擎目录";
|
||||
this.btn复制引擎目录.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn复制状态目录
|
||||
//
|
||||
this.btn复制状态目录.Location = new System.Drawing.Point(265, 168);
|
||||
this.btn复制状态目录.Name = "btn复制状态目录";
|
||||
this.btn复制状态目录.Size = new System.Drawing.Size(120, 30);
|
||||
this.btn复制状态目录.TabIndex = 8;
|
||||
this.btn复制状态目录.Text = "复制状态目录";
|
||||
this.btn复制状态目录.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn查看日志
|
||||
//
|
||||
this.btn查看日志.Location = new System.Drawing.Point(400, 168);
|
||||
this.btn查看日志.Name = "btn查看日志";
|
||||
this.btn查看日志.Size = new System.Drawing.Size(82, 30);
|
||||
this.btn查看日志.TabIndex = 9;
|
||||
this.btn查看日志.Text = "看日志";
|
||||
this.btn查看日志.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lbl说明
|
||||
//
|
||||
this.lbl说明.ForeColor = System.Drawing.Color.FromArgb(80, 80, 80);
|
||||
this.lbl说明.Location = new System.Drawing.Point(15, 214);
|
||||
this.lbl说明.Name = "lbl说明";
|
||||
this.lbl说明.Size = new System.Drawing.Size(470, 118);
|
||||
this.lbl说明.Text = "① 日常启动:双击软件目录的「成套报价软件启动器.cmd」=AI引擎随软件自动启动/停止\r\n② 手动启停:ai助手 目录里 启动引擎.cmd / 停止引擎.cmd(保持黑窗口开启)\r\n③ 模型与密钥:预置 zai密钥.txt 自动写入(GLM);也可在聊天面板设置里自行配置(ZCode 开源版引擎)\r\n④ 端口/令牌保存后需重启引擎生效;面板经软件内嵌页自动带令牌,无需手动配对";
|
||||
//
|
||||
// btn打开面板
|
||||
//
|
||||
this.btn打开面板.Location = new System.Drawing.Point(15, 340);
|
||||
this.btn打开面板.Name = "btn打开面板";
|
||||
this.btn打开面板.Size = new System.Drawing.Size(190, 28);
|
||||
this.btn打开面板.TabIndex = 11;
|
||||
this.btn打开面板.Text = "在浏览器中打开AI助手";
|
||||
this.btn打开面板.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn关闭
|
||||
//
|
||||
this.btn关闭.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btn关闭.Location = new System.Drawing.Point(398, 340);
|
||||
this.btn关闭.Name = "btn关闭";
|
||||
this.btn关闭.Size = new System.Drawing.Size(84, 28);
|
||||
this.btn关闭.TabIndex = 10;
|
||||
this.btn关闭.Text = "关闭";
|
||||
this.btn关闭.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// AI助手设置
|
||||
//
|
||||
this.AcceptButton = null;
|
||||
this.CancelButton = this.btn关闭;
|
||||
this.ClientSize = new System.Drawing.Size(496, 380);
|
||||
this.Controls.Add(this.lbl状态);
|
||||
this.Controls.Add(this.txt状态);
|
||||
this.Controls.Add(this.btn刷新);
|
||||
this.Controls.Add(this.lbl端口);
|
||||
this.Controls.Add(this.num端口);
|
||||
this.Controls.Add(this.lbl端口提示);
|
||||
this.Controls.Add(this.lbl令牌);
|
||||
this.Controls.Add(this.txt令牌);
|
||||
this.Controls.Add(this.btn复制令牌);
|
||||
this.Controls.Add(this.chk自启);
|
||||
this.Controls.Add(this.btn保存);
|
||||
this.Controls.Add(this.btn复制引擎目录);
|
||||
this.Controls.Add(this.btn复制状态目录);
|
||||
this.Controls.Add(this.btn查看日志);
|
||||
this.Controls.Add(this.btn打开面板);
|
||||
this.Controls.Add(this.lbl说明);
|
||||
this.Controls.Add(this.btn关闭);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "AI助手设置";
|
||||
this.ShowInTaskbar = false;
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "AI助手设置";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label lbl状态;
|
||||
private System.Windows.Forms.TextBox txt状态;
|
||||
private System.Windows.Forms.Button btn刷新;
|
||||
private System.Windows.Forms.Label lbl端口;
|
||||
private System.Windows.Forms.NumericUpDown num端口;
|
||||
private System.Windows.Forms.Label lbl端口提示;
|
||||
private System.Windows.Forms.Label lbl令牌;
|
||||
private System.Windows.Forms.TextBox txt令牌;
|
||||
private System.Windows.Forms.Button btn复制令牌;
|
||||
private System.Windows.Forms.CheckBox chk自启;
|
||||
private System.Windows.Forms.Button btn保存;
|
||||
private System.Windows.Forms.Button btn复制引擎目录;
|
||||
private System.Windows.Forms.Button btn复制状态目录;
|
||||
private System.Windows.Forms.Button btn查看日志;
|
||||
private System.Windows.Forms.Label lbl说明;
|
||||
private System.Windows.Forms.Button btn打开面板;
|
||||
private System.Windows.Forms.Button btn关闭;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user