V1.0 修复图片拉伸bug
This commit is contained in:
parent
4caaba9a9c
commit
c52e6502f1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
LeatherProject/GeBoShi/.vs/GeBoShi.csproj.dtbcache.json
Normal file
1
LeatherProject/GeBoShi/.vs/GeBoShi.csproj.dtbcache.json
Normal file
File diff suppressed because one or more lines are too long
@ -62,6 +62,9 @@
|
||||
<Reference Include="Service">
|
||||
<HintPath>..\Service\bin\Debug\Service.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SqlSugar, Version=5.1.4.105, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SqlSugar.5.1.4.105\lib\SqlSugar.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
@ -117,6 +120,18 @@
|
||||
<Compile Include="UI\Load\InitFrm.Designer.cs">
|
||||
<DependentUpon>InitFrm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Product\ProductInfoFrm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Product\ProductInfoFrm.Designer.cs">
|
||||
<DependentUpon>ProductInfoFrm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\Product\ProductListFrm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Product\ProductListFrm.Designer.cs">
|
||||
<DependentUpon>ProductListFrm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UI\SysSet\SysSetFrm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -140,6 +155,12 @@
|
||||
<EmbeddedResource Include="UI\Load\InitFrm.resx">
|
||||
<DependentUpon>InitFrm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Product\ProductInfoFrm.resx">
|
||||
<DependentUpon>ProductInfoFrm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\Product\ProductListFrm.resx">
|
||||
<DependentUpon>ProductListFrm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="UI\SysSet\SysSetFrm.resx">
|
||||
<DependentUpon>SysSetFrm.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
66
LeatherProject/GeBoShi/Main.Designer.cs
generated
66
LeatherProject/GeBoShi/Main.Designer.cs
generated
@ -75,6 +75,8 @@
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.gpbProductInfo = new System.Windows.Forms.GroupBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.cbDefectCode = new System.Windows.Forms.ComboBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.cbProductNum = new System.Windows.Forms.ComboBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.cbProductReelNum = new System.Windows.Forms.ComboBox();
|
||||
@ -312,19 +314,20 @@
|
||||
this.tsmPdtMgr.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.tsmPdtMgr.Image = ((System.Drawing.Image)(resources.GetObject("tsmPdtMgr.Image")));
|
||||
this.tsmPdtMgr.Name = "tsmPdtMgr";
|
||||
this.tsmPdtMgr.Size = new System.Drawing.Size(180, 22);
|
||||
this.tsmPdtMgr.Text = "产品管理";
|
||||
this.tsmPdtMgr.Size = new System.Drawing.Size(124, 22);
|
||||
this.tsmPdtMgr.Text = "检测管理";
|
||||
this.tsmPdtMgr.Click += new System.EventHandler(this.tsmPdtMgr_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6);
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(121, 6);
|
||||
//
|
||||
// 退出ToolStripMenuItem
|
||||
//
|
||||
this.退出ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("退出ToolStripMenuItem.Image")));
|
||||
this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
|
||||
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.退出ToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
|
||||
this.退出ToolStripMenuItem.Text = "退出";
|
||||
this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
|
||||
//
|
||||
@ -390,7 +393,7 @@
|
||||
//
|
||||
this.tsmSysSet.Image = ((System.Drawing.Image)(resources.GetObject("tsmSysSet.Image")));
|
||||
this.tsmSysSet.Name = "tsmSysSet";
|
||||
this.tsmSysSet.Size = new System.Drawing.Size(180, 22);
|
||||
this.tsmSysSet.Size = new System.Drawing.Size(124, 22);
|
||||
this.tsmSysSet.Text = "系统设置";
|
||||
this.tsmSysSet.Click += new System.EventHandler(this.tsmSysSet_Click);
|
||||
//
|
||||
@ -482,9 +485,9 @@
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 210F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 106F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 244F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 120F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(381, 496);
|
||||
this.tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
@ -499,7 +502,7 @@
|
||||
this.gpbProductInfo.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.gpbProductInfo.Name = "gpbProductInfo";
|
||||
this.gpbProductInfo.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.gpbProductInfo.Size = new System.Drawing.Size(377, 206);
|
||||
this.gpbProductInfo.Size = new System.Drawing.Size(377, 240);
|
||||
this.gpbProductInfo.TabIndex = 4;
|
||||
this.gpbProductInfo.TabStop = false;
|
||||
this.gpbProductInfo.Text = "产品信息";
|
||||
@ -507,6 +510,8 @@
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.White;
|
||||
this.panel1.Controls.Add(this.cbDefectCode);
|
||||
this.panel1.Controls.Add(this.label8);
|
||||
this.panel1.Controls.Add(this.cbProductNum);
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.cbProductReelNum);
|
||||
@ -521,9 +526,38 @@
|
||||
this.panel1.Location = new System.Drawing.Point(2, 16);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(373, 188);
|
||||
this.panel1.Size = new System.Drawing.Size(373, 222);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// cbDefectCode
|
||||
//
|
||||
this.cbDefectCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cbDefectCode.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.cbDefectCode.FormattingEnabled = true;
|
||||
this.cbDefectCode.Items.AddRange(new object[] {
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5"});
|
||||
this.cbDefectCode.Location = new System.Drawing.Point(91, 183);
|
||||
this.cbDefectCode.Name = "cbDefectCode";
|
||||
this.cbDefectCode.Size = new System.Drawing.Size(258, 28);
|
||||
this.cbDefectCode.TabIndex = 19;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(92)))), ((int)(((byte)(172)))));
|
||||
this.label8.Location = new System.Drawing.Point(8, 186);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(79, 20);
|
||||
this.label8.TabIndex = 18;
|
||||
this.label8.Text = "检测标准:";
|
||||
//
|
||||
// cbProductNum
|
||||
//
|
||||
this.cbProductNum.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
@ -669,7 +703,7 @@
|
||||
//
|
||||
this.panel2.Controls.Add(this.groupBox2);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(3, 213);
|
||||
this.panel2.Location = new System.Drawing.Point(3, 247);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(375, 100);
|
||||
this.panel2.TabIndex = 5;
|
||||
@ -752,9 +786,9 @@
|
||||
//
|
||||
this.panel3.Controls.Add(this.gpbLog);
|
||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel3.Location = new System.Drawing.Point(3, 319);
|
||||
this.panel3.Location = new System.Drawing.Point(3, 353);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(375, 174);
|
||||
this.panel3.Size = new System.Drawing.Size(375, 140);
|
||||
this.panel3.TabIndex = 6;
|
||||
//
|
||||
// gpbLog
|
||||
@ -769,7 +803,7 @@
|
||||
this.gpbLog.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.gpbLog.Name = "gpbLog";
|
||||
this.gpbLog.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.gpbLog.Size = new System.Drawing.Size(375, 153);
|
||||
this.gpbLog.Size = new System.Drawing.Size(375, 119);
|
||||
this.gpbLog.TabIndex = 7;
|
||||
this.gpbLog.TabStop = false;
|
||||
this.gpbLog.Text = "日志信息";
|
||||
@ -783,7 +817,7 @@
|
||||
this.lstLog.ItemHeight = 16;
|
||||
this.lstLog.Location = new System.Drawing.Point(2, 16);
|
||||
this.lstLog.Name = "lstLog";
|
||||
this.lstLog.Size = new System.Drawing.Size(371, 135);
|
||||
this.lstLog.Size = new System.Drawing.Size(371, 101);
|
||||
this.lstLog.TabIndex = 27;
|
||||
//
|
||||
// splitContainer2
|
||||
@ -1263,7 +1297,7 @@
|
||||
this.Controls.Add(this.uiTitel1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
this.Name = "Main";
|
||||
this.Text = "Form1";
|
||||
this.Text = "革博士检测程序";
|
||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
|
||||
this.Load += new System.EventHandler(this.Main_Load);
|
||||
this.SizeChanged += new System.EventHandler(this.Main_SizeChanged);
|
||||
@ -1411,6 +1445,8 @@
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.PictureBox pictureBox4;
|
||||
private System.Windows.Forms.ComboBox cbDefectCode;
|
||||
private System.Windows.Forms.Label label8;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
using GeBoShi.SysCtrl;
|
||||
using GeBoShi.UI;
|
||||
using GeBoShi.UI.Load;
|
||||
using GeBoShi.UI.Product;
|
||||
using GeBoShi.UI.SysSet;
|
||||
using HZH_Controls.Forms;
|
||||
using System;
|
||||
@ -273,10 +274,75 @@ namespace GeBoShi
|
||||
SysMgr.Instance.SendStatus();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region 检测管理
|
||||
private string[] pdtlistData;
|
||||
|
||||
private void LoadPdtList(List<string> list)
|
||||
{
|
||||
this.cbDefectCode.Items.Clear();
|
||||
this.pdtlistData = list.ToArray();
|
||||
cbDefectCode.Items.AddRange(pdtlistData);//比使用DataSource速度要快一些
|
||||
cbDefectCode.TextUpdate += cobList_TextUpdate;//重新绑定事件
|
||||
cbDefectCode.KeyDown += CobList_KeyDown;
|
||||
this.cbDefectCode.Text = "";
|
||||
cbDefectCode.Focus();
|
||||
cbDefectCode.SelectAll();
|
||||
}
|
||||
|
||||
private void tsmPdtMgr_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (SystemIsRun())
|
||||
{
|
||||
ProductListFrm frm = new ProductListFrm();
|
||||
frm.ShowDialog();
|
||||
//加载产品料号
|
||||
SysMgr.Instance.LoadProductCodeList();
|
||||
//加载产品选择
|
||||
LoadPdtList(SysMgr.Instance.ProductCodeList);
|
||||
}
|
||||
}
|
||||
private void CobList_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
ComboBox ctrl = sender as ComboBox;
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
if (ctrl.Items.Count == 1)
|
||||
ctrl.Text = ctrl.Items[0].ToString();
|
||||
}
|
||||
}
|
||||
|
||||
private void cobList_TextUpdate(object sender, EventArgs e)
|
||||
{
|
||||
ComboBox ctrl = sender as ComboBox;
|
||||
if (ctrl.Text != null)
|
||||
{
|
||||
string str = ctrl.Text; //获取cb_material控件输入内
|
||||
//清空combobox
|
||||
ctrl.DataSource = null;
|
||||
ctrl.Items.Clear();
|
||||
|
||||
string[] workOrderFiltered;
|
||||
|
||||
workOrderFiltered = pdtlistData.Where(x => x.IndexOf(str, StringComparison.CurrentCultureIgnoreCase) != -1).ToArray();//忽略大小写
|
||||
ctrl.Items.AddRange(workOrderFiltered);//比使用DataSource速度要快一些
|
||||
|
||||
// 不存在符合条件时
|
||||
//设置光标位置,若不设置:光标位置始终保持在第一列,造成输入关键词的倒序排列
|
||||
ctrl.Cursor = Cursors.Default; //保持鼠标指针原来状态,有时候鼠标指针会被下拉框覆盖,所以要进行一次设置
|
||||
if (workOrderFiltered.Length > 0)
|
||||
{
|
||||
if (!ctrl.DroppedDown)
|
||||
ctrl.DroppedDown = true; // 自动弹出下拉框
|
||||
}
|
||||
|
||||
ctrl.SelectionStart = str.Length; // 设置光标位置,若不设置:光标位置始终保持在第一列,造成输入关键词的倒序排列
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ namespace GeBoShi.SysCtrl
|
||||
_projectDir = Path.Combine(_rootPath, "Project");
|
||||
_pointsPath = Path.Combine(_rootPath, "PointsConfig.ini");
|
||||
_markPicPath = Path.Combine(_rootPath, "MarkPic");
|
||||
_specificationPath = Path.Combine(_rootPath, "版博士软件操作说明.docx");
|
||||
_specificationPath = Path.Combine(_rootPath, "革博士软件操作说明.docx");
|
||||
|
||||
DBConStr = "server = localhost; Database = LeatherDB; Uid = root; Pwd = " + ConteolUserDB.GetSqlDBCode() + "; AllowLoadLocalInfile = true;";
|
||||
}
|
||||
@ -131,7 +131,7 @@ namespace GeBoShi.SysCtrl
|
||||
//XmlHelper.Serialize<SysConfParams>(_configFile, sysConfParams);
|
||||
IniHelper iniHelper = new IniHelper(_configFile);
|
||||
|
||||
iniHelper.WriteBool("SaveAllImg", "SaveAllImg", SysParams.SaveAllImg);
|
||||
//iniHelper.WriteBool("SaveAllImg", "SaveAllImg", SysParams.SaveAllImg);
|
||||
|
||||
iniHelper.WriteString("DefectSrcImag", "SavePath", SysParams.DefectSrcImag.SavePath);
|
||||
iniHelper.WriteBool("DefectSrcImag", "AutoSave", SysParams.DefectSrcImag.AutoSave);
|
||||
@ -154,6 +154,8 @@ namespace GeBoShi.SysCtrl
|
||||
|
||||
iniHelper.WriteBool("SysFunction", "OpenBuzzer", SysParams.OpenBuzzer);
|
||||
iniHelper.WriteBool("SysFunction", "OpenDoor", SysParams.OpenDoor);
|
||||
iniHelper.WriteBool("SysFunction", "OpenIO", SysParams.OpenIO);
|
||||
iniHelper.WriteBool("SysFunction", "OpenPLC", SysParams.OpenPLC);
|
||||
|
||||
iniHelper.WriteString("Dev", "LightCom", SysParams.LightCom);
|
||||
iniHelper.WriteInteger("Dev", "LightComBaud", SysParams.LightComBaud);
|
||||
@ -203,8 +205,8 @@ namespace GeBoShi.SysCtrl
|
||||
double dValue = 0;
|
||||
bool bValue = false;
|
||||
|
||||
iniHelper.ReadBool("SaveAllImg", "SaveAllImg", out bValue);
|
||||
sysParams.SaveAllImg = bValue;
|
||||
//iniHelper.ReadBool("SaveAllImg", "SaveAllImg", out bValue);
|
||||
//sysParams.SaveAllImg = bValue;
|
||||
|
||||
iniHelper.ReadString("DefectSrcImag", "SavePath", out sValue);
|
||||
sysParams.DefectSrcImag.SavePath = sValue.Replace("\0", "");
|
||||
@ -244,6 +246,10 @@ namespace GeBoShi.SysCtrl
|
||||
sysParams.OpenBuzzer = bValue;
|
||||
iniHelper.ReadBool("SysFunction", "OpenDoor", out bValue);
|
||||
sysParams.OpenDoor = bValue;
|
||||
iniHelper.ReadBool("SysFunction", "OpenIO", out bValue);
|
||||
sysParams.OpenIO = bValue;
|
||||
iniHelper.ReadBool("SysFunction", "OpenPLC", out bValue);
|
||||
sysParams.OpenPLC = bValue;
|
||||
|
||||
iniHelper.ReadString("Dev", "LightCom", out sValue);
|
||||
sysParams.LightCom = sValue.Replace("\0", "");
|
||||
@ -573,10 +579,6 @@ namespace GeBoShi.SysCtrl
|
||||
{
|
||||
#region 缺陷图
|
||||
/// <summary>
|
||||
/// 保存所有图片
|
||||
/// </summary>
|
||||
public bool SaveAllImg { get; set; }
|
||||
/// <summary>
|
||||
/// 缺陷原大图
|
||||
/// </summary>
|
||||
public ImageSaveParam DefectSrcImag { get; set; }
|
||||
@ -599,6 +601,14 @@ namespace GeBoShi.SysCtrl
|
||||
/// 开启门磁
|
||||
/// </summary>
|
||||
public bool OpenDoor { get; set; }
|
||||
/// <summary>
|
||||
/// 开启IO
|
||||
/// </summary>
|
||||
public bool OpenIO { get; set; }
|
||||
/// <summary>
|
||||
/// 开启PLC
|
||||
/// </summary>
|
||||
public bool OpenPLC { get; set; }
|
||||
#endregion
|
||||
|
||||
#region 硬件传感器通信
|
||||
@ -615,10 +625,6 @@ namespace GeBoShi.SysCtrl
|
||||
|
||||
#region IO/电机/相机
|
||||
/// <summary>
|
||||
/// 是否使用PLC代替io
|
||||
/// </summary>
|
||||
public bool IsPLC { get; set; }
|
||||
/// <summary>
|
||||
/// 西门子PLC IP
|
||||
/// </summary>
|
||||
public string PLC_IP { get; set; }
|
||||
@ -640,6 +646,30 @@ namespace GeBoShi.SysCtrl
|
||||
/// </summary>
|
||||
public string IOCfgPath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 相机序号
|
||||
/// </summary>
|
||||
public int CamIndex_1 { get; set; }
|
||||
/// <summary>
|
||||
/// 相机板卡序号
|
||||
/// </summary>
|
||||
public int CamDev_1 { get; set; }
|
||||
/// <summary>
|
||||
/// 相机配置文件
|
||||
/// </summary>
|
||||
public string CamPath_1 { get; set; }
|
||||
/// <summary>
|
||||
/// 相机序号
|
||||
/// </summary>
|
||||
public int CamIndex_2 { get; set; }
|
||||
/// <summary>
|
||||
/// 相机板卡序号
|
||||
/// </summary>
|
||||
public int CamDev_2 { get; set; }
|
||||
/// <summary>
|
||||
/// 相机配置文件
|
||||
/// </summary>
|
||||
public string CamPath_2 { get; set; }
|
||||
#endregion
|
||||
|
||||
#region 系统
|
||||
@ -674,6 +704,22 @@ namespace GeBoShi.SysCtrl
|
||||
/// 对比度范围阔算
|
||||
/// </summary>
|
||||
public int Expand_pixel = 50;
|
||||
/// <summary>
|
||||
/// 中间重合像素
|
||||
/// </summary>
|
||||
public int MidCoin = 100;
|
||||
/// <summary>
|
||||
/// 孔位
|
||||
/// </summary>
|
||||
public int HolePx = 100;
|
||||
/// <summary>
|
||||
/// 左侧裁剪
|
||||
/// </summary>
|
||||
public int LCrop = 0;
|
||||
/// <summary>
|
||||
/// 右侧裁剪
|
||||
/// </summary>
|
||||
public int RCrop = 0;
|
||||
#endregion
|
||||
|
||||
#region Http/MES
|
||||
@ -733,15 +779,26 @@ namespace GeBoShi.SysCtrl
|
||||
|
||||
OpenBuzzer = true;
|
||||
OpenDoor = true;
|
||||
OpenIO = true;
|
||||
OpenPLC = true;
|
||||
|
||||
IODevName = "";
|
||||
IOCfgPath = Path.Combine(Directory.GetCurrentDirectory(), "ConfigFiles\\IOCard_default.xml"); ;
|
||||
LightCom = "";
|
||||
LightComBaud = 9600;
|
||||
|
||||
SaveAllImg = false;
|
||||
PLC_IP = "192.168.0.1";
|
||||
PLC_Rack = 0;
|
||||
PLC_Solt = 1;
|
||||
|
||||
AIModelPath = Path.Combine(Directory.GetCurrentDirectory(), "ConfigFiles\\onnxFiles");
|
||||
CamIndex_1 = 0;
|
||||
CamIndex_2 = 0;
|
||||
CamDev_1 = 0;
|
||||
CamDev_2 = 1;
|
||||
CamPath_1 = "";
|
||||
CamPath_2 = "";
|
||||
|
||||
AIModelPath = Path.Combine(Directory.GetCurrentDirectory(), "ConfigFiles\\Models");
|
||||
ProductPath = Path.Combine(Directory.GetCurrentDirectory(), "ConfigFiles\\Project");
|
||||
LogPath = Path.Combine(Directory.GetCurrentDirectory(), "LogFiles");
|
||||
AutoDeleteLog = false;
|
||||
|
@ -11,6 +11,9 @@ using MaiMuControl.SysStatusMgr.CloudMgr;
|
||||
using MaiMuControl.SysStatusMgr.StatusMgr;
|
||||
using MaiMuControl.SysStatusMgr.UserMgr;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
@ -59,6 +62,16 @@ namespace GeBoShi.SysCtrl
|
||||
//图像处理
|
||||
private DefectLib defectLib;
|
||||
public DefectLib DefectLib { get { return defectLib; } }
|
||||
|
||||
//产品检测列表
|
||||
private List<string> productCodeList = new List<string>();
|
||||
public List<string> ProductCodeList { get { return productCodeList; } }
|
||||
|
||||
//产品ID列表
|
||||
private List<int> productIdList = new List<int>();
|
||||
public List<int> ProductIdList { get { return productIdList; } }
|
||||
|
||||
Service.ProductService PdtService = new Service.ProductService();
|
||||
#endregion
|
||||
|
||||
#region 公开字段
|
||||
@ -391,6 +404,8 @@ namespace GeBoShi.SysCtrl
|
||||
/// 三色灯初始化
|
||||
/// </summary>
|
||||
public void LedReady()
|
||||
{
|
||||
if (confMgr.SysConfigParams.OpenIO)
|
||||
{
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯绿灯), GetIOBitIndex((int)DOName.三色灯绿灯), false);
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯黄灯), GetIOBitIndex((int)DOName.三色灯黄灯), false);
|
||||
@ -402,10 +417,13 @@ namespace GeBoShi.SysCtrl
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.停止按钮红灯), GetIOBitIndex((int)DOName.停止按钮红灯), false);
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.双手启动绿灯), GetIOBitIndex((int)DOName.双手启动绿灯), false);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 运行状态三色灯
|
||||
/// </summary>
|
||||
public void LedRun()
|
||||
{
|
||||
if (confMgr.SysConfigParams.OpenIO)
|
||||
{
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯绿灯), GetIOBitIndex((int)DOName.三色灯绿灯), true);
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯黄灯), GetIOBitIndex((int)DOName.三色灯黄灯), false);
|
||||
@ -417,10 +435,13 @@ namespace GeBoShi.SysCtrl
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.停止按钮红灯), GetIOBitIndex((int)DOName.停止按钮红灯), false);
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.双手启动绿灯), GetIOBitIndex((int)DOName.双手启动绿灯), false);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 暂停状态三色灯
|
||||
/// </summary>
|
||||
public void LedPause()
|
||||
{
|
||||
if (confMgr.SysConfigParams.OpenIO)
|
||||
{
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯绿灯), GetIOBitIndex((int)DOName.三色灯绿灯), false);
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯黄灯), GetIOBitIndex((int)DOName.三色灯黄灯), false);
|
||||
@ -432,6 +453,7 @@ namespace GeBoShi.SysCtrl
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.停止按钮红灯), GetIOBitIndex((int)DOName.停止按钮红灯), true);
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.双手启动绿灯), GetIOBitIndex((int)DOName.双手启动绿灯), false);
|
||||
}
|
||||
}
|
||||
//控制黄灯闪烁
|
||||
private bool Blink;
|
||||
private int BlinkCnt = 0;
|
||||
@ -442,6 +464,8 @@ namespace GeBoShi.SysCtrl
|
||||
/// </summary>
|
||||
/// <param name="val"></param>
|
||||
public void LedRset(bool val)
|
||||
{
|
||||
if (confMgr.SysConfigParams.OpenIO)
|
||||
{
|
||||
ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯绿灯), GetIOBitIndex((int)DOName.三色灯绿灯), false);
|
||||
//ioCardDev.WriteBitState(GetIOPortIndex((int)DOName.三色灯黄灯), GetIOBitIndex((int)DOName.三色灯黄灯), val);
|
||||
@ -455,6 +479,7 @@ namespace GeBoShi.SysCtrl
|
||||
Blink = val;
|
||||
BlinkCnt = 0;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 系统关闭
|
||||
@ -488,9 +513,12 @@ namespace GeBoShi.SysCtrl
|
||||
|
||||
|
||||
//关闭io
|
||||
if (confMgr.SysConfigParams.OpenIO)
|
||||
{
|
||||
ioCardDev.ResetAllDO();
|
||||
|
||||
ioCardDev.CloseBoard();
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
@ -565,6 +593,8 @@ namespace GeBoShi.SysCtrl
|
||||
lightDev = new CSTLight(LightName, LightChCount);
|
||||
else
|
||||
lightDev = new RseeLight(SysUseLight, LightName);
|
||||
|
||||
defectLib = new DefectLib();
|
||||
}
|
||||
/// <summary>
|
||||
/// 初始化硬件
|
||||
@ -588,14 +618,14 @@ namespace GeBoShi.SysCtrl
|
||||
InitLog($"初始化打印机模块失败! {ex.Message}");
|
||||
}
|
||||
|
||||
if (confMgr.SysConfigParams.IsPLC)
|
||||
if (confMgr.SysConfigParams.OpenPLC)
|
||||
{
|
||||
//PLC初始化
|
||||
InitLog("PLC连接初始化...");
|
||||
|
||||
InitLog("PLC连接成功!");
|
||||
}
|
||||
else
|
||||
if (confMgr.SysConfigParams.OpenIO)
|
||||
{
|
||||
//IO初始化
|
||||
InitLog("IO板卡初始化...");
|
||||
@ -655,6 +685,8 @@ namespace GeBoShi.SysCtrl
|
||||
|
||||
#region 硬盘检测
|
||||
public static bool CheckDisk(IWin32Window owner, int max = 10)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(ConfMgr.Instance.SysConfigParams.DefectSrcImag.SavePath))
|
||||
{
|
||||
string path = ConfMgr.Instance.SysConfigParams.DefectSrcImag.SavePath;
|
||||
string volume = path.Substring(0, path.IndexOf(':'));
|
||||
@ -665,6 +697,7 @@ namespace GeBoShi.SysCtrl
|
||||
FrmDialog.ShowDialog(owner, tip, "警告", true);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
@ -702,6 +735,115 @@ namespace GeBoShi.SysCtrl
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载测试列表
|
||||
/// <summary>
|
||||
/// 加载产品列表
|
||||
/// </summary>
|
||||
public void LoadProductCodeList()
|
||||
{
|
||||
try
|
||||
{
|
||||
productCodeList = PdtService.GetList().Select(m => m.Code).ToList();
|
||||
productIdList = PdtService.GetList().Select(m => m.Id).ToList();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
OnMainRuning(new MainEventArgs("启动", "加载检测标准失败:" + ex.Message, WarningEnum.High));
|
||||
statusMgr.GotoWarning(WarningEnum.High, "启动", "加载检测标准失败:" + ex.Message);
|
||||
SendStatus();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 界面显示
|
||||
public static void showRowNum_onDataGrid_RowPostPaint(DataGridView dgv, object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
Rectangle rectangle = new Rectangle(e.RowBounds.Location.X, e.RowBounds.Location.Y, dgv.RowHeadersWidth - 4, e.RowBounds.Height);
|
||||
TextRenderer.DrawText(e.Graphics, (e.RowIndex + 1).ToString(), dgv.RowHeadersDefaultCellStyle.Font, rectangle, dgv.RowHeadersDefaultCellStyle.ForeColor, TextFormatFlags.VerticalCenter | TextFormatFlags.Right);
|
||||
}
|
||||
/// <summary>
|
||||
/// IO二进制数据格式化到8位 XXXX10X0
|
||||
/// </summary>
|
||||
/// <param name="datas"></param>
|
||||
/// <returns></returns>
|
||||
public static string[] IODataFormatBinaryStr(string[] datas, bool clone, char defaultPadChar = 'X')
|
||||
{
|
||||
string[] datas2 = new string[datas.Length];
|
||||
for (int i = 0; i < datas.Length; i++)
|
||||
{
|
||||
if (clone)
|
||||
{
|
||||
datas2[i] = datas[i].Replace(" ", "");
|
||||
if (datas2[i].Length > 8)
|
||||
datas2[i] = datas2[i].Substring(datas2[i].Length - 8);
|
||||
else if (datas2[i].Length < 8)
|
||||
datas2[i] = datas2[i].PadLeft(8, defaultPadChar);
|
||||
}
|
||||
else
|
||||
{
|
||||
datas[i] = datas[i].Replace(" ", "");
|
||||
if (datas[i].Length > 8)
|
||||
datas[i] = datas[i].Substring(datas[i].Length - 8);
|
||||
else if (datas[i].Length < 8)
|
||||
datas[i] = datas[i].PadLeft(8, defaultPadChar);
|
||||
|
||||
datas2 = datas;
|
||||
}
|
||||
}
|
||||
|
||||
return datas2;
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="op_show_list">[XXHL XXXX,XXXX XXXX,...]</param>
|
||||
/// <param name="currIoDatas">[byte,byte,byte,byte]</param>
|
||||
/// <returns></returns>
|
||||
public static bool compareIOInput(string[] op_show_list, byte[] currIoDatas)
|
||||
{
|
||||
int isok = 0;//1-true 2-false
|
||||
string IN_OP_SHOW;
|
||||
for (int i = 0; i < currIoDatas.Length; i++)
|
||||
{
|
||||
IN_OP_SHOW = op_show_list[i].Replace(" ", "").PadLeft(8, 'X');
|
||||
if (IN_OP_SHOW.IndexOf('H') < 0 && IN_OP_SHOW.IndexOf('L') < 0)
|
||||
continue;
|
||||
|
||||
for (int j = 7; j >= 0; j--)
|
||||
{
|
||||
byte bit = (byte)(1 << 7 - j);
|
||||
if (IN_OP_SHOW[j] == 'H')
|
||||
{
|
||||
if ((bit & currIoDatas[i]) > 0)
|
||||
isok = 1;
|
||||
else
|
||||
{
|
||||
isok = 2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (IN_OP_SHOW[j] == 'L')
|
||||
{
|
||||
if ((currIoDatas[i] ^ (currIoDatas[i] | bit)) > 0)
|
||||
isok = 1;
|
||||
else
|
||||
{
|
||||
isok = 2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//已经不符
|
||||
if (isok == 2) break;
|
||||
}
|
||||
|
||||
//
|
||||
return isok == 1;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
#region 系统事件
|
||||
/// <summary>
|
||||
|
@ -91,7 +91,7 @@
|
||||
this.Controls.Add(this.skinButton1);
|
||||
this.Controls.Add(this.uiTitel1);
|
||||
this.Name = "InitFrm";
|
||||
this.Text = "InitFrm";
|
||||
this.Text = "初始化";
|
||||
this.Load += new System.EventHandler(this.InitFrm_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
959
LeatherProject/GeBoShi/UI/Product/ProductInfoFrm.Designer.cs
generated
Normal file
959
LeatherProject/GeBoShi/UI/Product/ProductInfoFrm.Designer.cs
generated
Normal file
@ -0,0 +1,959 @@
|
||||
namespace GeBoShi.UI.Product
|
||||
{
|
||||
partial class ProductInfoFrm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductInfoFrm));
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.tsbtnSave = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsbtnExit = new System.Windows.Forms.ToolStripButton();
|
||||
this.uiTitel1 = new MaiMuControl.UIKits.MaiMuMenu.UITitel();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.TrackBarTensionValue = new HZH_Controls.Controls.UCTrackBar();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.TrackBarGain = new HZH_Controls.Controls.UCTrackBar();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.TrackBarExposureTime = new HZH_Controls.Controls.UCTrackBar();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.TrackBarLightValue = new HZH_Controls.Controls.UCTrackBar();
|
||||
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
||||
this.tbLabelFile = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.cmbDefectModelFile = new System.Windows.Forms.ComboBox();
|
||||
this.label29 = new System.Windows.Forms.Label();
|
||||
this.tbSpec = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tbColorName = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.txtName = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.cmbClasses = new System.Windows.Forms.ComboBox();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.btnClearDefect_Path = new System.Windows.Forms.PictureBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.Code = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ZXD = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Area = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DBDL = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.DBDH = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.OrAnd = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.dataGridView2 = new System.Windows.Forms.DataGridView();
|
||||
this.Code2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Name2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.A = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.B = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.C = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.D = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.E = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.btnColor = new System.Windows.Forms.Button();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.groupBox5.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.btnClearDefect_Path)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
this.splitContainer2.Panel1.SuspendLayout();
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.groupBox4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(51)))), ((int)(((byte)(122)))));
|
||||
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsbtnSave,
|
||||
this.toolStripSeparator2,
|
||||
this.tsbtnExit});
|
||||
this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 46);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1224, 56);
|
||||
this.toolStrip1.TabIndex = 39;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// tsbtnSave
|
||||
//
|
||||
this.tsbtnSave.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
|
||||
this.tsbtnSave.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnSave.Image")));
|
||||
this.tsbtnSave.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnSave.Name = "tsbtnSave";
|
||||
this.tsbtnSave.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnSave.Text = " 保存 ";
|
||||
this.tsbtnSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnSave.Click += new System.EventHandler(this.tsbtnSave_Click);
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 56);
|
||||
//
|
||||
// tsbtnExit
|
||||
//
|
||||
this.tsbtnExit.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.tsbtnExit.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnExit.Image")));
|
||||
this.tsbtnExit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnExit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnExit.Name = "tsbtnExit";
|
||||
this.tsbtnExit.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnExit.Text = " 退出 ";
|
||||
this.tsbtnExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnExit.Click += new System.EventHandler(this.tsbtnExit_Click);
|
||||
//
|
||||
// uiTitel1
|
||||
//
|
||||
this.uiTitel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(8)))), ((int)(((byte)(31)))), ((int)(((byte)(120)))));
|
||||
this.uiTitel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.uiTitel1.FatherForm = null;
|
||||
this.uiTitel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.uiTitel1.Name = "uiTitel1";
|
||||
this.uiTitel1.Size = new System.Drawing.Size(1224, 46);
|
||||
this.uiTitel1.TabIndex = 38;
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 102);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1224, 554);
|
||||
this.splitContainer1.SplitterDistance = 327;
|
||||
this.splitContainer1.TabIndex = 40;
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 3;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox2, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox5, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.groupBox1, 1, 0);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 1;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1224, 327);
|
||||
this.tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.groupBox2.BackColor = System.Drawing.Color.White;
|
||||
this.groupBox2.Controls.Add(this.label9);
|
||||
this.groupBox2.Controls.Add(this.TrackBarTensionValue);
|
||||
this.groupBox2.Controls.Add(this.label10);
|
||||
this.groupBox2.Controls.Add(this.TrackBarGain);
|
||||
this.groupBox2.Controls.Add(this.label11);
|
||||
this.groupBox2.Controls.Add(this.TrackBarExposureTime);
|
||||
this.groupBox2.Controls.Add(this.label12);
|
||||
this.groupBox2.Controls.Add(this.TrackBarLightValue);
|
||||
this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox2.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox2.Location = new System.Drawing.Point(409, 2);
|
||||
this.groupBox2.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox2.Size = new System.Drawing.Size(403, 323);
|
||||
this.groupBox2.TabIndex = 38;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "参数设置";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(32, 253);
|
||||
this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(37, 20);
|
||||
this.label9.TabIndex = 53;
|
||||
this.label9.Text = "张力";
|
||||
//
|
||||
// TrackBarTensionValue
|
||||
//
|
||||
this.TrackBarTensionValue.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.TrackBarTensionValue.DcimalDigits = 0;
|
||||
this.TrackBarTensionValue.IsShowTips = true;
|
||||
this.TrackBarTensionValue.LineColor = System.Drawing.Color.Silver;
|
||||
this.TrackBarTensionValue.LineWidth = 10F;
|
||||
this.TrackBarTensionValue.Location = new System.Drawing.Point(111, 243);
|
||||
this.TrackBarTensionValue.MaxValue = 999F;
|
||||
this.TrackBarTensionValue.MinValue = 0F;
|
||||
this.TrackBarTensionValue.Name = "TrackBarTensionValue";
|
||||
this.TrackBarTensionValue.Size = new System.Drawing.Size(249, 30);
|
||||
this.TrackBarTensionValue.TabIndex = 52;
|
||||
this.TrackBarTensionValue.Text = "ucTrackBar5";
|
||||
this.TrackBarTensionValue.TipsFormat = null;
|
||||
this.TrackBarTensionValue.Value = 0F;
|
||||
this.TrackBarTensionValue.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(32, 192);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(37, 20);
|
||||
this.label10.TabIndex = 51;
|
||||
this.label10.Text = "增益";
|
||||
//
|
||||
// TrackBarGain
|
||||
//
|
||||
this.TrackBarGain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.TrackBarGain.DcimalDigits = 0;
|
||||
this.TrackBarGain.IsShowTips = true;
|
||||
this.TrackBarGain.LineColor = System.Drawing.Color.Silver;
|
||||
this.TrackBarGain.LineWidth = 10F;
|
||||
this.TrackBarGain.Location = new System.Drawing.Point(111, 182);
|
||||
this.TrackBarGain.MaxValue = 999F;
|
||||
this.TrackBarGain.MinValue = 0F;
|
||||
this.TrackBarGain.Name = "TrackBarGain";
|
||||
this.TrackBarGain.Size = new System.Drawing.Size(249, 30);
|
||||
this.TrackBarGain.TabIndex = 50;
|
||||
this.TrackBarGain.Text = "ucTrackBar6";
|
||||
this.TrackBarGain.TipsFormat = null;
|
||||
this.TrackBarGain.Value = 0F;
|
||||
this.TrackBarGain.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(32, 127);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(65, 20);
|
||||
this.label11.TabIndex = 49;
|
||||
this.label11.Text = "曝光时长";
|
||||
//
|
||||
// TrackBarExposureTime
|
||||
//
|
||||
this.TrackBarExposureTime.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.TrackBarExposureTime.DcimalDigits = 0;
|
||||
this.TrackBarExposureTime.IsShowTips = true;
|
||||
this.TrackBarExposureTime.LineColor = System.Drawing.Color.Silver;
|
||||
this.TrackBarExposureTime.LineWidth = 10F;
|
||||
this.TrackBarExposureTime.Location = new System.Drawing.Point(111, 117);
|
||||
this.TrackBarExposureTime.MaxValue = 10000F;
|
||||
this.TrackBarExposureTime.MinValue = 3F;
|
||||
this.TrackBarExposureTime.Name = "TrackBarExposureTime";
|
||||
this.TrackBarExposureTime.Size = new System.Drawing.Size(249, 30);
|
||||
this.TrackBarExposureTime.TabIndex = 48;
|
||||
this.TrackBarExposureTime.Text = "TrackBarExposureTime";
|
||||
this.TrackBarExposureTime.TipsFormat = null;
|
||||
this.TrackBarExposureTime.Value = 50F;
|
||||
this.TrackBarExposureTime.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(32, 68);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(65, 20);
|
||||
this.label12.TabIndex = 47;
|
||||
this.label12.Text = "光源亮度";
|
||||
//
|
||||
// TrackBarLightValue
|
||||
//
|
||||
this.TrackBarLightValue.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.TrackBarLightValue.DcimalDigits = 0;
|
||||
this.TrackBarLightValue.IsShowTips = true;
|
||||
this.TrackBarLightValue.LineColor = System.Drawing.Color.Silver;
|
||||
this.TrackBarLightValue.LineWidth = 10F;
|
||||
this.TrackBarLightValue.Location = new System.Drawing.Point(111, 58);
|
||||
this.TrackBarLightValue.MaxValue = 255F;
|
||||
this.TrackBarLightValue.MinValue = 0F;
|
||||
this.TrackBarLightValue.Name = "TrackBarLightValue";
|
||||
this.TrackBarLightValue.Size = new System.Drawing.Size(249, 30);
|
||||
this.TrackBarLightValue.TabIndex = 46;
|
||||
this.TrackBarLightValue.Text = "ucTrackBar8";
|
||||
this.TrackBarLightValue.TipsFormat = null;
|
||||
this.TrackBarLightValue.Value = 0F;
|
||||
this.TrackBarLightValue.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
|
||||
//
|
||||
// groupBox5
|
||||
//
|
||||
this.groupBox5.BackColor = System.Drawing.Color.White;
|
||||
this.groupBox5.Controls.Add(this.btnColor);
|
||||
this.groupBox5.Controls.Add(this.tbLabelFile);
|
||||
this.groupBox5.Controls.Add(this.label3);
|
||||
this.groupBox5.Controls.Add(this.cmbDefectModelFile);
|
||||
this.groupBox5.Controls.Add(this.label29);
|
||||
this.groupBox5.Controls.Add(this.tbSpec);
|
||||
this.groupBox5.Controls.Add(this.label2);
|
||||
this.groupBox5.Controls.Add(this.tbColorName);
|
||||
this.groupBox5.Controls.Add(this.label1);
|
||||
this.groupBox5.Controls.Add(this.txtName);
|
||||
this.groupBox5.Controls.Add(this.label4);
|
||||
this.groupBox5.Controls.Add(this.cmbClasses);
|
||||
this.groupBox5.Controls.Add(this.label17);
|
||||
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox5.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox5.Location = new System.Drawing.Point(2, 2);
|
||||
this.groupBox5.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox5.Name = "groupBox5";
|
||||
this.groupBox5.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox5.Size = new System.Drawing.Size(403, 323);
|
||||
this.groupBox5.TabIndex = 37;
|
||||
this.groupBox5.TabStop = false;
|
||||
this.groupBox5.Text = "检测标准信息";
|
||||
//
|
||||
// tbLabelFile
|
||||
//
|
||||
this.tbLabelFile.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbLabelFile.Location = new System.Drawing.Point(125, 257);
|
||||
this.tbLabelFile.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbLabelFile.Name = "tbLabelFile";
|
||||
this.tbLabelFile.ReadOnly = true;
|
||||
this.tbLabelFile.Size = new System.Drawing.Size(195, 26);
|
||||
this.tbLabelFile.TabIndex = 59;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(54, 260);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(65, 20);
|
||||
this.label3.TabIndex = 58;
|
||||
this.label3.Text = "标签文件";
|
||||
//
|
||||
// cmbDefectModelFile
|
||||
//
|
||||
this.cmbDefectModelFile.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbDefectModelFile.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbDefectModelFile.FormattingEnabled = true;
|
||||
this.cmbDefectModelFile.Location = new System.Drawing.Point(125, 219);
|
||||
this.cmbDefectModelFile.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cmbDefectModelFile.Name = "cmbDefectModelFile";
|
||||
this.cmbDefectModelFile.Size = new System.Drawing.Size(195, 28);
|
||||
this.cmbDefectModelFile.TabIndex = 57;
|
||||
this.cmbDefectModelFile.TextChanged += new System.EventHandler(this.cmbDefectModelFile_TextChanged);
|
||||
//
|
||||
// label29
|
||||
//
|
||||
this.label29.AutoSize = true;
|
||||
this.label29.Location = new System.Drawing.Point(54, 222);
|
||||
this.label29.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label29.Name = "label29";
|
||||
this.label29.Size = new System.Drawing.Size(65, 20);
|
||||
this.label29.TabIndex = 56;
|
||||
this.label29.Text = "模型文件";
|
||||
//
|
||||
// tbSpec
|
||||
//
|
||||
this.tbSpec.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbSpec.Location = new System.Drawing.Point(125, 167);
|
||||
this.tbSpec.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbSpec.Name = "tbSpec";
|
||||
this.tbSpec.Size = new System.Drawing.Size(195, 26);
|
||||
this.tbSpec.TabIndex = 55;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(54, 170);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(37, 20);
|
||||
this.label2.TabIndex = 54;
|
||||
this.label2.Text = "规格";
|
||||
//
|
||||
// tbColorName
|
||||
//
|
||||
this.tbColorName.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbColorName.Location = new System.Drawing.Point(125, 122);
|
||||
this.tbColorName.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbColorName.Name = "tbColorName";
|
||||
this.tbColorName.Size = new System.Drawing.Size(195, 26);
|
||||
this.tbColorName.TabIndex = 53;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(54, 125);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(37, 20);
|
||||
this.label1.TabIndex = 52;
|
||||
this.label1.Text = "颜色";
|
||||
//
|
||||
// txtName
|
||||
//
|
||||
this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtName.Location = new System.Drawing.Point(125, 43);
|
||||
this.txtName.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.txtName.Name = "txtName";
|
||||
this.txtName.Size = new System.Drawing.Size(195, 26);
|
||||
this.txtName.TabIndex = 51;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(54, 46);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(37, 20);
|
||||
this.label4.TabIndex = 50;
|
||||
this.label4.Text = "名称";
|
||||
//
|
||||
// cmbClasses
|
||||
//
|
||||
this.cmbClasses.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.cmbClasses.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbClasses.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||
this.cmbClasses.FormattingEnabled = true;
|
||||
this.cmbClasses.Location = new System.Drawing.Point(125, 78);
|
||||
this.cmbClasses.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cmbClasses.Name = "cmbClasses";
|
||||
this.cmbClasses.Size = new System.Drawing.Size(195, 28);
|
||||
this.cmbClasses.TabIndex = 49;
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(54, 81);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(37, 20);
|
||||
this.label17.TabIndex = 48;
|
||||
this.label17.Text = "材质";
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.BackColor = System.Drawing.Color.White;
|
||||
this.groupBox1.Controls.Add(this.numericUpDown3);
|
||||
this.groupBox1.Controls.Add(this.numericUpDown2);
|
||||
this.groupBox1.Controls.Add(this.numericUpDown1);
|
||||
this.groupBox1.Controls.Add(this.btnClearDefect_Path);
|
||||
this.groupBox1.Controls.Add(this.button1);
|
||||
this.groupBox1.Controls.Add(this.textBox4);
|
||||
this.groupBox1.Controls.Add(this.comboBox1);
|
||||
this.groupBox1.Controls.Add(this.label8);
|
||||
this.groupBox1.Controls.Add(this.label7);
|
||||
this.groupBox1.Controls.Add(this.label6);
|
||||
this.groupBox1.Controls.Add(this.label5);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox1.Location = new System.Drawing.Point(816, 2);
|
||||
this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox1.Size = new System.Drawing.Size(406, 323);
|
||||
this.groupBox1.TabIndex = 35;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "告警配置";
|
||||
//
|
||||
// numericUpDown3
|
||||
//
|
||||
this.numericUpDown3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.numericUpDown3.Location = new System.Drawing.Point(184, 49);
|
||||
this.numericUpDown3.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown3.Name = "numericUpDown3";
|
||||
this.numericUpDown3.Size = new System.Drawing.Size(122, 26);
|
||||
this.numericUpDown3.TabIndex = 63;
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(184, 108);
|
||||
this.numericUpDown2.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(122, 26);
|
||||
this.numericUpDown2.TabIndex = 62;
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(184, 173);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(122, 26);
|
||||
this.numericUpDown1.TabIndex = 61;
|
||||
//
|
||||
// btnClearDefect_Path
|
||||
//
|
||||
this.btnClearDefect_Path.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnClearDefect_Path.Image = ((System.Drawing.Image)(resources.GetObject("btnClearDefect_Path.Image")));
|
||||
this.btnClearDefect_Path.Location = new System.Drawing.Point(371, 233);
|
||||
this.btnClearDefect_Path.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnClearDefect_Path.Name = "btnClearDefect_Path";
|
||||
this.btnClearDefect_Path.Size = new System.Drawing.Size(21, 19);
|
||||
this.btnClearDefect_Path.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
this.btnClearDefect_Path.TabIndex = 60;
|
||||
this.btnClearDefect_Path.TabStop = false;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(290, 266);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 31);
|
||||
this.button1.TabIndex = 59;
|
||||
this.button1.Text = "添加";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.textBox4.Location = new System.Drawing.Point(123, 233);
|
||||
this.textBox4.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.ReadOnly = true;
|
||||
this.textBox4.Size = new System.Drawing.Size(244, 26);
|
||||
this.textBox4.TabIndex = 58;
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(123, 269);
|
||||
this.comboBox1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(141, 28);
|
||||
this.comboBox1.TabIndex = 57;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(26, 236);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(93, 20);
|
||||
this.label8.TabIndex = 56;
|
||||
this.label8.Text = "必须告警瑕疵";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(26, 175);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(93, 20);
|
||||
this.label7.TabIndex = 55;
|
||||
this.label7.Text = "告警缺陷个数";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(26, 110);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(134, 20);
|
||||
this.label6.TabIndex = 54;
|
||||
this.label6.Text = "平均缺陷计数长度m";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(26, 51);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(97, 20);
|
||||
this.label5.TabIndex = 53;
|
||||
this.label5.Text = "瑕疵面积mm²";
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer2.Name = "splitContainer2";
|
||||
//
|
||||
// splitContainer2.Panel1
|
||||
//
|
||||
this.splitContainer2.Panel1.Controls.Add(this.groupBox3);
|
||||
//
|
||||
// splitContainer2.Panel2
|
||||
//
|
||||
this.splitContainer2.Panel2.Controls.Add(this.groupBox4);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1224, 223);
|
||||
this.splitContainer2.SplitterDistance = 634;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.BackColor = System.Drawing.Color.White;
|
||||
this.groupBox3.Controls.Add(this.dataGridView1);
|
||||
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox3.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox3.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox3.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox3.Size = new System.Drawing.Size(634, 223);
|
||||
this.groupBox3.TabIndex = 35;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "检测标准设置";
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Code,
|
||||
this.ZXD,
|
||||
this.Area,
|
||||
this.DBDL,
|
||||
this.DBDH,
|
||||
this.OrAnd});
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(2, 21);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.ReadOnly = true;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(630, 200);
|
||||
this.dataGridView1.TabIndex = 49;
|
||||
//
|
||||
// Code
|
||||
//
|
||||
this.Code.HeaderText = "名称";
|
||||
this.Code.Name = "Code";
|
||||
this.Code.ReadOnly = true;
|
||||
//
|
||||
// ZXD
|
||||
//
|
||||
this.ZXD.HeaderText = "置信度";
|
||||
this.ZXD.Name = "ZXD";
|
||||
this.ZXD.ReadOnly = true;
|
||||
//
|
||||
// Area
|
||||
//
|
||||
this.Area.HeaderText = "面积";
|
||||
this.Area.Name = "Area";
|
||||
this.Area.ReadOnly = true;
|
||||
//
|
||||
// DBDL
|
||||
//
|
||||
this.DBDL.HeaderText = "对比度(下限)";
|
||||
this.DBDL.Name = "DBDL";
|
||||
this.DBDL.ReadOnly = true;
|
||||
//
|
||||
// DBDH
|
||||
//
|
||||
this.DBDH.HeaderText = "对比度(上限)";
|
||||
this.DBDH.Name = "DBDH";
|
||||
this.DBDH.ReadOnly = true;
|
||||
//
|
||||
// OrAnd
|
||||
//
|
||||
this.OrAnd.HeaderText = "或向选择";
|
||||
this.OrAnd.Name = "OrAnd";
|
||||
this.OrAnd.ReadOnly = true;
|
||||
//
|
||||
// groupBox4
|
||||
//
|
||||
this.groupBox4.BackColor = System.Drawing.Color.White;
|
||||
this.groupBox4.Controls.Add(this.dataGridView2);
|
||||
this.groupBox4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.groupBox4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox4.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox4.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox4.Size = new System.Drawing.Size(586, 223);
|
||||
this.groupBox4.TabIndex = 36;
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "等级判定";
|
||||
//
|
||||
// dataGridView2
|
||||
//
|
||||
this.dataGridView2.AllowUserToAddRows = false;
|
||||
this.dataGridView2.AllowUserToDeleteRows = false;
|
||||
this.dataGridView2.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Code2,
|
||||
this.Name2,
|
||||
this.A,
|
||||
this.B,
|
||||
this.C,
|
||||
this.D,
|
||||
this.E});
|
||||
this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView2.Location = new System.Drawing.Point(2, 21);
|
||||
this.dataGridView2.Name = "dataGridView2";
|
||||
this.dataGridView2.ReadOnly = true;
|
||||
this.dataGridView2.RowTemplate.Height = 23;
|
||||
this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView2.Size = new System.Drawing.Size(582, 200);
|
||||
this.dataGridView2.TabIndex = 49;
|
||||
//
|
||||
// Code2
|
||||
//
|
||||
this.Code2.HeaderText = "Code";
|
||||
this.Code2.Name = "Code2";
|
||||
this.Code2.ReadOnly = true;
|
||||
this.Code2.Visible = false;
|
||||
//
|
||||
// Name2
|
||||
//
|
||||
this.Name2.HeaderText = "名称";
|
||||
this.Name2.Name = "Name2";
|
||||
this.Name2.ReadOnly = true;
|
||||
//
|
||||
// A
|
||||
//
|
||||
this.A.HeaderText = "A";
|
||||
this.A.Name = "A";
|
||||
this.A.ReadOnly = true;
|
||||
//
|
||||
// B
|
||||
//
|
||||
this.B.HeaderText = "B";
|
||||
this.B.Name = "B";
|
||||
this.B.ReadOnly = true;
|
||||
//
|
||||
// C
|
||||
//
|
||||
this.C.HeaderText = "C";
|
||||
this.C.Name = "C";
|
||||
this.C.ReadOnly = true;
|
||||
//
|
||||
// D
|
||||
//
|
||||
this.D.HeaderText = "D";
|
||||
this.D.Name = "D";
|
||||
this.D.ReadOnly = true;
|
||||
//
|
||||
// E
|
||||
//
|
||||
this.E.HeaderText = "E";
|
||||
this.E.Name = "E";
|
||||
this.E.ReadOnly = true;
|
||||
this.E.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.E.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
//
|
||||
// btnColor
|
||||
//
|
||||
this.btnColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnColor.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnColor.BackgroundImage")));
|
||||
this.btnColor.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||
this.btnColor.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnColor.Location = new System.Drawing.Point(328, 122);
|
||||
this.btnColor.Name = "btnColor";
|
||||
this.btnColor.Size = new System.Drawing.Size(30, 25);
|
||||
this.btnColor.TabIndex = 60;
|
||||
this.btnColor.UseVisualStyleBackColor = true;
|
||||
this.btnColor.Click += new System.EventHandler(this.btnColor_Click);
|
||||
//
|
||||
// ProductInfoFrm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1224, 656);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.uiTitel1);
|
||||
this.Name = "ProductInfoFrm";
|
||||
this.Text = "产品检测";
|
||||
this.Load += new System.EventHandler(this.ProductInfoFrm_Load);
|
||||
this.SizeChanged += new System.EventHandler(this.ProductInfoFrm_SizeChanged);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.tableLayoutPanel1.ResumeLayout(false);
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.groupBox5.ResumeLayout(false);
|
||||
this.groupBox5.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.btnClearDefect_Path)).EndInit();
|
||||
this.splitContainer2.Panel1.ResumeLayout(false);
|
||||
this.splitContainer2.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnSave;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnExit;
|
||||
private MaiMuControl.UIKits.MaiMuMenu.UITitel uiTitel1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.GroupBox groupBox3;
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.GroupBox groupBox5;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private HZH_Controls.Controls.UCTrackBar TrackBarTensionValue;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private HZH_Controls.Controls.UCTrackBar TrackBarGain;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private HZH_Controls.Controls.UCTrackBar TrackBarExposureTime;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private HZH_Controls.Controls.UCTrackBar TrackBarLightValue;
|
||||
private System.Windows.Forms.TextBox tbLabelFile;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox cmbDefectModelFile;
|
||||
private System.Windows.Forms.Label label29;
|
||||
private System.Windows.Forms.TextBox tbSpec;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox tbColorName;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox txtName;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.ComboBox cmbClasses;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown3;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.PictureBox btnClearDefect_Path;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Code;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ZXD;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Area;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DBDL;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn DBDH;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn OrAnd;
|
||||
private System.Windows.Forms.DataGridView dataGridView2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Code2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Name2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn A;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn B;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn C;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn D;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn E;
|
||||
private System.Windows.Forms.Button btnColor;
|
||||
}
|
||||
}
|
141
LeatherProject/GeBoShi/UI/Product/ProductInfoFrm.cs
Normal file
141
LeatherProject/GeBoShi/UI/Product/ProductInfoFrm.cs
Normal file
@ -0,0 +1,141 @@
|
||||
using GeBoShi.SysCtrl;
|
||||
using HZH_Controls.Controls;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace GeBoShi.UI.Product
|
||||
{
|
||||
public partial class ProductInfoFrm : Form
|
||||
{
|
||||
Service.ProductService service = new Service.ProductService();
|
||||
Models.Product model = new Models.Product();
|
||||
|
||||
public ProductInfoFrm(Models.Product m = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
UIStyle.SetUIStyle(this);
|
||||
this.uiTitel1.FatherForm = this;
|
||||
|
||||
#region dataGridView设置
|
||||
dataGridView1.AllowUserToAddRows = dataGridView1.AllowUserToDeleteRows = false;//用户添加删除行
|
||||
dataGridView2.AllowUserToAddRows = dataGridView2.AllowUserToDeleteRows = false;
|
||||
dataGridView1.AllowUserToResizeRows = dataGridView2.AllowUserToResizeRows = false;//用户调整行大小
|
||||
//dataGridView1.AllowUserToResizeColumns = false;//用户调整列大小
|
||||
//显示行号与列宽度自动调整
|
||||
dataGridView1.RowHeadersVisible = dataGridView2.RowHeadersVisible = true;
|
||||
dataGridView1.RowHeadersWidth = dataGridView2.RowHeadersWidth = 50;
|
||||
//dataGridView1.ColumnHeadersHeightSizeMode = dataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
dataGridView1.RowHeadersWidthSizeMode = dataGridView2.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;//数据量过百绑定太变
|
||||
|
||||
#endregion
|
||||
initData();
|
||||
|
||||
if (m != null)
|
||||
{
|
||||
model = m;
|
||||
//显示模型
|
||||
foreach (string onnxFile in this.cmbDefectModelFile.Items)
|
||||
if (!string.IsNullOrWhiteSpace(model.ModelName) && onnxFile.ToLower() == model.ModelName.ToLower())
|
||||
this.cmbDefectModelFile.SelectedItem = model.ModelName;
|
||||
|
||||
txtName.Text = model.Name;
|
||||
cmbClasses.Text = model.Material;
|
||||
tbColorName.Text = model.ColorName;
|
||||
int[] rgb = new int[3];
|
||||
for (int i = 0; i < rgb.Length; i++)
|
||||
rgb[i] = Convert.ToInt32(model.ColorValue.Split(',')[i]);
|
||||
tbColorName.ForeColor = Color.FromArgb(rgb[0], rgb[1], rgb[2]);
|
||||
|
||||
tbSpec.Text = model.Spec;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void initData()
|
||||
{
|
||||
//模型文件
|
||||
string strDefectModelFile = ConfMgr.Instance.SysConfigParams.AIModelPath;
|
||||
if(!Directory.Exists(strDefectModelFile))
|
||||
{
|
||||
MessageBox.Show("模型路径错误:" + strDefectModelFile, "警告");
|
||||
return;
|
||||
}
|
||||
string[] onnxFiles = Directory.GetFiles(strDefectModelFile, "*.trt");
|
||||
//标签文件
|
||||
string[] labelFiles = Directory.GetFiles(strDefectModelFile, "*.json");
|
||||
string errorStr = "";
|
||||
foreach (string onnxFile in onnxFiles)
|
||||
{
|
||||
string onlyName;
|
||||
onlyName = Path.GetFileName(onnxFile);
|
||||
cmbDefectModelFile.Items.Add(onlyName);
|
||||
string findname = onlyName.Replace(".trt", ".json");
|
||||
//存在对应label文件
|
||||
if (labelFiles.Count(p => Path.GetFileName(p) == findname) <= 0)
|
||||
{
|
||||
errorStr += $"{onlyName},";
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(errorStr))
|
||||
MessageBox.Show("模型缺少词典文件:" + errorStr, "警告");
|
||||
}
|
||||
|
||||
private void cmbClasses_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ProductInfoFrm_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ProductInfoFrm_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
this.Top = 0;
|
||||
this.Left = 0;
|
||||
this.Width = SystemInformation.WorkingArea.Width;
|
||||
this.Height = SystemInformation.WorkingArea.Height;
|
||||
}
|
||||
}
|
||||
|
||||
private void tsbtnExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void tsbtnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void cmbDefectModelFile_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
tbLabelFile.Text = cmbDefectModelFile.Text.Replace(".trt", ".json");
|
||||
}
|
||||
|
||||
private void btnColor_Click(object sender, EventArgs e)
|
||||
{
|
||||
ColorDialog dlg = new ColorDialog();
|
||||
DialogResult result = dlg.ShowDialog();
|
||||
if(result == DialogResult.OK)
|
||||
{
|
||||
// 获取用户所选颜色
|
||||
Color selectedColor = dlg.Color;
|
||||
// 在 label1 中显示所选颜色的 RGB 值
|
||||
tbColorName.ForeColor = selectedColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
230
LeatherProject/GeBoShi/UI/Product/ProductInfoFrm.resx
Normal file
230
LeatherProject/GeBoShi/UI/Product/ProductInfoFrm.resx
Normal file
@ -0,0 +1,230 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="tsbtnSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD3SURBVFhH7ZVLDsIwEEN7i0pdsQvcgqNwE46aY/BbAEEe
|
||||
QSdpYwsIqsSTZjEZ2/WuXWI4b64NJvaHsHp80FMQf2vKJUyANaN293h9+uh9j3jPS3iDp3b3lPSzJUqG
|
||||
V9T7lN6XwHO7AgmUGN/nDAn1ruqXX8Aj58mGCnIea1AH9ozszhrUgT0ju9cMn+ZfYFkF+kvY2l2cmLyI
|
||||
GWEarNMF3vi4TbGE3bFOF7D34RR2eKIZjus9/M+/HrBcrPUCWGXoXFooQufSQhE6lxaK0Lm0UITOpYUi
|
||||
dC4tFKFzaaEInUsLRehcWihC59JCETrXHloPPv/LAl13A1LYVlVnNRG8AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="tsbtnExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEySURBVFhH7ZfhDYJADIVJCDoEQR3FUdyEURjFMeCfo2hL
|
||||
HviQEgo9//EljebZvqvlvIvZwUB7Pd+6qnh2l9M7FOKhXrD1I8XNzGx/NLD1Y5iEArZ+uHjPCNsyv7MH
|
||||
ZD+hYhDyCBWDrsxfvYe8QvKTooEQ/2hAvGr3fkrdwHimeM+FlA20VfFgP1cTXAAphPjU7LnaBCdDCiNe
|
||||
/iY4EZIJDhw19sXw0xxiqQlOgmTCeYGY3xWcAMmE83aHTAF2XzgBkgl2uD1uK4xHAKspnAQpjHhNr/il
|
||||
xRVOhBRCfPyLK5wMaTfWQYSPluECSCHGZ+9ZXEndgKKTwNt1/tHAJlI0sHnsTJIGIh5c7Lq/f9Aa9oDs
|
||||
Z3ZiBQO2fqQo3R8T+TKw9dOPUDZPgkk0emXD9mCFLPsAVd5Z/YQOzbIAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnColor.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAABYBJREFUWEet
|
||||
l09MHFUcx4dldmEWloVly+7sLjhWQKiUtFDlX4Ftgm2giaSFhIqHLtAYPWiqIQg1gY0XY1Njmib1BBsT
|
||||
T/agifFIJzFNMDHR6BldEw414VBNNct00Z/v+2bfMLM7UrD+kg+8N/Nmvt/f772ZeSsdIjRGkrHC0D2y
|
||||
vOUNVG+zNsmyZ8vv926wdoaRYvyvAWGIEqhOxPLHUtPUm16kRPI0JYebKLN2nlKXj1N3l/oAYxRFvs/+
|
||||
wwyufaLgwlVqJAfBq/TAAYxAmP5atMj+9Do3pKpVuYIR3OPQAec6g2daLCxwM2A3kl45zauGKSrc80CB
|
||||
gTzrSf1LV2HBfgYEMJJIBPIHNcHFwX6Zz2Z/4OdrtCbStCAvuX532tUAsCpRXvZYE7pUo+ak0XSJCSGK
|
||||
48AbjzzyNMYoEVHy4lg8Vm0svdP7u10c5nAufbGe+lsqcx2NFfOs7xrmSn9DJ+kmkd0EpgJtWY0Y0vxr
|
||||
JP36vcnUS5QajRN9fY6ynw1RZqmD4hHFQMmRtRDPvBol+rS1QAvWlmsVSJrOmOKCggmOXdjFgABG0jPN
|
||||
1nVO8VbKfvQ0Kb4yPB14p1iBZ9YpDmDIzcC3X5n9/lOkRRWeuX7zecsE+uI6NwMfz0TwAnNEafagNpGX
|
||||
WkdI6nplzwRg7VBMNYaHh6m/t3sH/XhDlYHMhfjahXJaGfFSrFbesRsQdB+tRNI88OokaSXrFO9JmaJX
|
||||
WLagYALCq6urtLu76wDHGuORXYyB+N/veennt2WKBcp2UkM1DnFUgd+7MA0ZqevSQ4c4wICht/YMsEqE
|
||||
GqLG+vp6ibhgc3OTGtUju6mTHm4AwEyiTn5kNwAKBngVdJ6tXRxPAgZMre0ZYP39xAWoRCTo+/PujGxV
|
||||
Adfq7yYcBpLtfvL7ytgHzCNv8dVuNyAWnxBHJVjfTdCNns7WhytnzGkA8RqPgfeA3QD65tNQGdiWmpPm
|
||||
nAtCGkmBKC87JxChvr6+nJuYGxir1ZYRpgLAvHbES1gLAlSAJ4k/bQNJGriUsgg3MgPseGgsxfGpGvUN
|
||||
DruKuaFpGjX5FJoOxTloa9VMuKXdIqkmTAPlbGMxvpCmtW2yQF9piBsn7xGBp65lqF6NG25ibuDGt5s6
|
||||
6bcToxy1Qsllhl4kmnvTAn3Zwz5QPsW/gQrYDSx8YS7Clls6N/DcHfaIsv5BFyHG/ngsaRlAPzuVchhA
|
||||
FUIVFXfYOWklGFFzdgPXvzMFkbmoAqYCVcCj5iYMcA7XoexCHJXAMbs4KEwBfwzxMuCidhMvTLz8h30a
|
||||
1FnzuxCNxHaXl5dLxFEdnAeL0RbLQKxCMZBtsYHCWL5/5HsALD67ARiqiyXyyByVwJgTLeMctBvCUQOr
|
||||
HaAP0s+c5aANE6gE2sXimP/CNVZkiqcBzN3KUIAdZ+dpoHOOLo+tcSbOXOf9aiVMmhLiotnBa0Rnb3CE
|
||||
CaCPXSwxoCp+3NP6FiB4FSBYbADHA1Xh3Kn2CcuAoDkxQKkY+woWhAGM2A2ku3oc4rbsS/YEGhPVi8Vn
|
||||
J29wgoHIjr+ydgdTcK5nocSAXTheGzbSF64QQF+YwJOAPsN9pxxr65jHvNvFV9//hfPBwj0aH7kqbsDK
|
||||
HzKqlfo8pkAcAxClT76xsJvoN6cTO6J/DQ0vJvbfIW4HRgDOh+sSpIVVLqIv3XYI2xEmlHL+O2HfTSlC
|
||||
K2cfqLqgmoeQmwnBQPckpQbPu4oKsh9+Tv3Nx3OKr6JkG7ZfcBPBQEMOZXcTB48zIDJnZPldDxkoFd8p
|
||||
oxowUlwRNwPIGMJqMCzeD//pp5k9LCMAZiCMNfDs0V5KtnVxQYA2xgQUPzadTyxcHDCCV2fG51U2fHLl
|
||||
fcD67BdP+ZbfV4mf5xA9xM9zSfoH/G0ZLUBVVuQAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnClearDefect_Path.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="Code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="ZXD.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Area.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="DBDL.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="DBDH.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="OrAnd.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Code2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Name2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="A.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="B.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="C.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="D.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="E.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
371
LeatherProject/GeBoShi/UI/Product/ProductListFrm.Designer.cs
generated
Normal file
371
LeatherProject/GeBoShi/UI/Product/ProductListFrm.Designer.cs
generated
Normal file
@ -0,0 +1,371 @@
|
||||
namespace GeBoShi.UI.Product
|
||||
{
|
||||
partial class ProductListFrm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductListFrm));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.tbSearch = new System.Windows.Forms.TextBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||||
this.tsslCount = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.tsbtnRefresh = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsbtnAdd = new System.Windows.Forms.ToolStripButton();
|
||||
this.tsbtnDel = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsbtnClone = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsbtnExit = new System.Windows.Forms.ToolStripButton();
|
||||
this.uiTitel1 = new MaiMuControl.UIKits.MaiMuMenu.UITitel();
|
||||
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colClasses = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSpec = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colModifyCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colModifyTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tbSearch
|
||||
//
|
||||
this.tbSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tbSearch.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.tbSearch.Location = new System.Drawing.Point(869, 59);
|
||||
this.tbSearch.Name = "tbSearch";
|
||||
this.tbSearch.Size = new System.Drawing.Size(200, 26);
|
||||
this.tbSearch.TabIndex = 33;
|
||||
this.tbSearch.TextChanged += new System.EventHandler(this.tbSearch_TextChanged);
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colId,
|
||||
this.colClasses,
|
||||
this.colCode,
|
||||
this.colName,
|
||||
this.colSpec,
|
||||
this.colModifyCode,
|
||||
this.colModifyTime});
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 102);
|
||||
this.dataGridView1.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.dataGridView1.MultiSelect = false;
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.ReadOnly = true;
|
||||
this.dataGridView1.RowHeadersVisible = false;
|
||||
this.dataGridView1.RowHeadersWidth = 62;
|
||||
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.dataGridView1.RowTemplate.Height = 30;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1156, 466);
|
||||
this.dataGridView1.TabIndex = 32;
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.dataGridView1_DataBindingComplete);
|
||||
//
|
||||
// statusStrip1
|
||||
//
|
||||
this.statusStrip1.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
|
||||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsslCount});
|
||||
this.statusStrip1.Location = new System.Drawing.Point(0, 568);
|
||||
this.statusStrip1.Name = "statusStrip1";
|
||||
this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 9, 0);
|
||||
this.statusStrip1.Size = new System.Drawing.Size(1156, 22);
|
||||
this.statusStrip1.TabIndex = 31;
|
||||
this.statusStrip1.Text = "statusStrip1";
|
||||
//
|
||||
// tsslCount
|
||||
//
|
||||
this.tsslCount.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.tsslCount.Name = "tsslCount";
|
||||
this.tsslCount.Size = new System.Drawing.Size(24, 17);
|
||||
this.tsslCount.Text = "共 ";
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(51)))), ((int)(((byte)(122)))));
|
||||
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsbtnRefresh,
|
||||
this.toolStripSeparator4,
|
||||
this.tsbtnAdd,
|
||||
this.tsbtnDel,
|
||||
this.toolStripSeparator1,
|
||||
this.tsbtnClone,
|
||||
this.toolStripSeparator6,
|
||||
this.tsbtnExit});
|
||||
this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 46);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1156, 56);
|
||||
this.toolStrip1.TabIndex = 30;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
// tsbtnRefresh
|
||||
//
|
||||
this.tsbtnRefresh.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.tsbtnRefresh.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnRefresh.Image")));
|
||||
this.tsbtnRefresh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnRefresh.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnRefresh.Name = "tsbtnRefresh";
|
||||
this.tsbtnRefresh.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnRefresh.Text = " 刷新 ";
|
||||
this.tsbtnRefresh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnRefresh.Click += new System.EventHandler(this.tsbtnRefresh_Click);
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 56);
|
||||
//
|
||||
// tsbtnAdd
|
||||
//
|
||||
this.tsbtnAdd.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.tsbtnAdd.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnAdd.Image")));
|
||||
this.tsbtnAdd.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnAdd.Name = "tsbtnAdd";
|
||||
this.tsbtnAdd.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnAdd.Text = " 添加 ";
|
||||
this.tsbtnAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnAdd.Click += new System.EventHandler(this.tsbtnAdd_Click);
|
||||
//
|
||||
// tsbtnDel
|
||||
//
|
||||
this.tsbtnDel.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.tsbtnDel.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnDel.Image")));
|
||||
this.tsbtnDel.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnDel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnDel.Name = "tsbtnDel";
|
||||
this.tsbtnDel.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnDel.Text = " 删除 ";
|
||||
this.tsbtnDel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnDel.Click += new System.EventHandler(this.tsbtnDel_Click);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 56);
|
||||
//
|
||||
// tsbtnClone
|
||||
//
|
||||
this.tsbtnClone.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.tsbtnClone.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnClone.Image")));
|
||||
this.tsbtnClone.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnClone.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnClone.Name = "tsbtnClone";
|
||||
this.tsbtnClone.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnClone.Text = " 克隆 ";
|
||||
this.tsbtnClone.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnClone.ToolTipText = "克隆当前流程";
|
||||
//
|
||||
// toolStripSeparator6
|
||||
//
|
||||
this.toolStripSeparator6.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
||||
this.toolStripSeparator6.Size = new System.Drawing.Size(6, 56);
|
||||
//
|
||||
// tsbtnExit
|
||||
//
|
||||
this.tsbtnExit.ForeColor = System.Drawing.SystemColors.Control;
|
||||
this.tsbtnExit.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnExit.Image")));
|
||||
this.tsbtnExit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
|
||||
this.tsbtnExit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.tsbtnExit.Name = "tsbtnExit";
|
||||
this.tsbtnExit.Size = new System.Drawing.Size(52, 53);
|
||||
this.tsbtnExit.Text = " 退出 ";
|
||||
this.tsbtnExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
|
||||
this.tsbtnExit.Click += new System.EventHandler(this.tsbtnExit_Click);
|
||||
//
|
||||
// uiTitel1
|
||||
//
|
||||
this.uiTitel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(8)))), ((int)(((byte)(31)))), ((int)(((byte)(120)))));
|
||||
this.uiTitel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.uiTitel1.FatherForm = null;
|
||||
this.uiTitel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.uiTitel1.Name = "uiTitel1";
|
||||
this.uiTitel1.Size = new System.Drawing.Size(1156, 46);
|
||||
this.uiTitel1.TabIndex = 29;
|
||||
//
|
||||
// colId
|
||||
//
|
||||
this.colId.DataPropertyName = "Id";
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colId.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.colId.HeaderText = "ID";
|
||||
this.colId.MinimumWidth = 8;
|
||||
this.colId.Name = "colId";
|
||||
this.colId.ReadOnly = true;
|
||||
this.colId.Width = 35;
|
||||
//
|
||||
// colClasses
|
||||
//
|
||||
this.colClasses.DataPropertyName = "Material";
|
||||
this.colClasses.HeaderText = "产品材质";
|
||||
this.colClasses.MinimumWidth = 8;
|
||||
this.colClasses.Name = "colClasses";
|
||||
this.colClasses.ReadOnly = true;
|
||||
this.colClasses.Width = 150;
|
||||
//
|
||||
// colCode
|
||||
//
|
||||
this.colCode.DataPropertyName = "ColorName";
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.colCode.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colCode.HeaderText = "产品颜色";
|
||||
this.colCode.MinimumWidth = 8;
|
||||
this.colCode.Name = "colCode";
|
||||
this.colCode.ReadOnly = true;
|
||||
this.colCode.Width = 150;
|
||||
//
|
||||
// colName
|
||||
//
|
||||
this.colName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.colName.DataPropertyName = "Name";
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.colName.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.colName.HeaderText = "名称";
|
||||
this.colName.MinimumWidth = 135;
|
||||
this.colName.Name = "colName";
|
||||
this.colName.ReadOnly = true;
|
||||
//
|
||||
// colSpec
|
||||
//
|
||||
this.colSpec.DataPropertyName = "Spec";
|
||||
this.colSpec.HeaderText = "规格长度";
|
||||
this.colSpec.MinimumWidth = 8;
|
||||
this.colSpec.Name = "colSpec";
|
||||
this.colSpec.ReadOnly = true;
|
||||
this.colSpec.Width = 130;
|
||||
//
|
||||
// colModifyCode
|
||||
//
|
||||
this.colModifyCode.DataPropertyName = "ModifyUserCode";
|
||||
this.colModifyCode.HeaderText = "修订人";
|
||||
this.colModifyCode.MinimumWidth = 8;
|
||||
this.colModifyCode.Name = "colModifyCode";
|
||||
this.colModifyCode.ReadOnly = true;
|
||||
this.colModifyCode.Width = 150;
|
||||
//
|
||||
// colModifyTime
|
||||
//
|
||||
this.colModifyTime.DataPropertyName = "ModifyTime";
|
||||
dataGridViewCellStyle5.Format = "g";
|
||||
dataGridViewCellStyle5.NullValue = null;
|
||||
this.colModifyTime.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.colModifyTime.HeaderText = "修订日期";
|
||||
this.colModifyTime.MinimumWidth = 8;
|
||||
this.colModifyTime.Name = "colModifyTime";
|
||||
this.colModifyTime.ReadOnly = true;
|
||||
this.colModifyTime.Width = 150;
|
||||
//
|
||||
// ProductListFrm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1156, 590);
|
||||
this.Controls.Add(this.tbSearch);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.statusStrip1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.uiTitel1);
|
||||
this.Name = "ProductListFrm";
|
||||
this.Text = "产品列表";
|
||||
this.Load += new System.EventHandler(this.ProductListFrm_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.statusStrip1.ResumeLayout(false);
|
||||
this.statusStrip1.PerformLayout();
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox tbSearch;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||||
private System.Windows.Forms.ToolStripStatusLabel tsslCount;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnRefresh;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnAdd;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnDel;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnClone;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
|
||||
private System.Windows.Forms.ToolStripButton tsbtnExit;
|
||||
private MaiMuControl.UIKits.MaiMuMenu.UITitel uiTitel1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colClasses;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colName;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSpec;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colModifyCode;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colModifyTime;
|
||||
}
|
||||
}
|
171
LeatherProject/GeBoShi/UI/Product/ProductListFrm.cs
Normal file
171
LeatherProject/GeBoShi/UI/Product/ProductListFrm.cs
Normal file
@ -0,0 +1,171 @@
|
||||
using GeBoShi.SysCtrl;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace GeBoShi.UI.Product
|
||||
{
|
||||
public partial class ProductListFrm : Form
|
||||
{
|
||||
Service.ProductService PdtService = new Service.ProductService();
|
||||
public Models.Product Product { get; private set; }
|
||||
|
||||
public ProductListFrm()
|
||||
{
|
||||
InitializeComponent();
|
||||
UIStyle.SetUIStyle(this);
|
||||
this.uiTitel1.FatherForm = this;
|
||||
|
||||
#region dataGridView设置
|
||||
dataGridView1.AutoGenerateColumns = false;//自动创建列
|
||||
dataGridView1.AllowUserToAddRows = dataGridView1.AllowUserToDeleteRows = false;//用户添加删除行
|
||||
dataGridView1.AllowUserToResizeRows = true;//用户调整行大小
|
||||
//dataGridView1.AllowUserToResizeColumns = false;//用户调整列大小
|
||||
//显示行号与列宽度自动调整
|
||||
dataGridView1.RowHeadersVisible = true;
|
||||
dataGridView1.RowHeadersWidth = 50;
|
||||
dataGridView1.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders;//数据量过百绑定太变
|
||||
dataGridView1.RowPostPaint += (sender, e) =>//序号列头
|
||||
{
|
||||
SysMgr.showRowNum_onDataGrid_RowPostPaint(this.dataGridView1, sender, e);
|
||||
};
|
||||
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
//for (int i = 0; i < dataGridView1.Columns.Count; i++)//禁止点击列头排序
|
||||
// dataGridView1.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable;
|
||||
|
||||
//行列交叉处标题
|
||||
//if (dataGridView1.RowHeadersVisible) dataGridView1.TopLeftHeaderCell.Value = "SPH/CYL";
|
||||
#endregion
|
||||
|
||||
this.tbSearch.Top = toolStrip1.Top + 15;
|
||||
}
|
||||
|
||||
private void InitDataView(int selIndex = -1)
|
||||
{
|
||||
Product = null;
|
||||
var list = PdtService.GetListNav();
|
||||
tsslCount.Text = $"共 {list.Count} 条记录";
|
||||
int liIndex = 0;
|
||||
if (selIndex > 0) liIndex = selIndex;
|
||||
else if (this.dataGridView1.CurrentRow != null)
|
||||
liIndex = this.dataGridView1.CurrentRow.Index;
|
||||
dataGridView1.DataSource = new BindingSource(list, null);
|
||||
if (dataGridView1.Rows.Count > liIndex)
|
||||
dataGridView1.CurrentCell = dataGridView1[1, liIndex];
|
||||
//如果产品存在设置问题,无流程显示颜色
|
||||
for (int i = 0; i < dataGridView1.Rows.Count; i++)
|
||||
{
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
private void tsbtnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
InitDataView();
|
||||
}
|
||||
|
||||
private void ProductListFrm_Load(object sender, EventArgs e)
|
||||
{
|
||||
InitDataView();
|
||||
}
|
||||
|
||||
private void tsbtnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
ProductInfoFrm frm = new ProductInfoFrm();
|
||||
frm.WindowState = FormWindowState.Maximized;
|
||||
frm.ShowDialog();
|
||||
InitDataView();
|
||||
}
|
||||
|
||||
private void tsbtnDel_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (this.dataGridView1.CurrentRow == null)
|
||||
return;
|
||||
|
||||
if (MessageBox.Show($"确认删除?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
var list = ((BindingSource)dataGridView1.DataSource).DataSource as List<Models.Product>;
|
||||
int liIndex = this.dataGridView1.CurrentRow.Index;//获取当前选中行的索引
|
||||
if (!PdtService.DelNav(list[liIndex]))
|
||||
throw new Exception("删除失败!");
|
||||
MessageBox.Show("删除成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
//initDataView();
|
||||
this.dataGridView1.Rows.RemoveAt(liIndex);
|
||||
if (this.dataGridView1.Rows.Count == 0)
|
||||
InitDataView();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private void tsbtnExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void tbSearch_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (tbSearch.Text != "")
|
||||
{
|
||||
int count = 0;
|
||||
foreach (DataGridViewRow row in dataGridView1.Rows)
|
||||
{
|
||||
for (int i = 0; i < row.Cells.Count; i++)
|
||||
{
|
||||
if (row.Cells[i].Value != null && row.Cells[i].Value.ToString().Contains(tbSearch.Text))
|
||||
{
|
||||
count = count + 1;
|
||||
}
|
||||
}
|
||||
if (count == 0)
|
||||
{
|
||||
CurrencyManager cm = (CurrencyManager)BindingContext[dataGridView1.DataSource];
|
||||
|
||||
cm.SuspendBinding(); //挂起数据绑定
|
||||
row.Visible = false;
|
||||
cm.ResumeBinding(); //恢复数据绑定
|
||||
}
|
||||
count = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < dataGridView1.Rows.Count; i++)
|
||||
{
|
||||
dataGridView1.Rows[i].Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (!this.tsbtnAdd.Enabled) return;
|
||||
var list = ((BindingSource)dataGridView1.DataSource).DataSource as List<Models.Product>;
|
||||
int liIndex = this.dataGridView1.CurrentRow.Index;//获取当前选中行的索引
|
||||
ProductInfoFrm frm = new ProductInfoFrm(list[liIndex]);
|
||||
frm.WindowState = FormWindowState.Maximized;
|
||||
frm.ShowDialog(this);
|
||||
InitDataView();
|
||||
}
|
||||
|
||||
private void dataGridView1_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
|
||||
{
|
||||
var list = ((BindingSource)dataGridView1.DataSource).DataSource as List<Models.Product>;
|
||||
for (int i = 0; i < dataGridView1.Rows.Count; i++)
|
||||
{
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
217
LeatherProject/GeBoShi/UI/Product/ProductListFrm.resx
Normal file
217
LeatherProject/GeBoShi/UI/Product/ProductListFrm.resx
Normal file
@ -0,0 +1,217 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="colId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colClasses.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSpec.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colModifyCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colModifyTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>744, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>867, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="tsbtnRefresh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANFSURBVFhH7ZddSJNRHMafii6C6k4KoovKCoSgkgJBiKC6
|
||||
iupCEIrsQnPZXKM5nR/ZShRMMzKHzOxri0ISAocR2EUQRHd1ExQEXVTQhYbrw2bbzjk9jn+g2/vOVe4i
|
||||
6IEf//fj+Z/neHbe1w3/9U9KX0eBuYViHUJJqoaxTm7lTyaEUhVCXzyMDyYMk04sjE8qjDv6Ng5IS4bU
|
||||
LUTkMHdxwCIGj3ACJleSIbzgylTLECn9uienuUnfQHl0EN/NTTb/ITPjpJ/nJHMdjcQsNDJ8dumrKDOD
|
||||
bMgDEmEvPYjC6ACXfYANeUBi7KUCuGP6aRbG26Bnn/8tEmMtE8BWYuYjFuAjF8AYGSD341f4aFr4rJAo
|
||||
a6leXDa9NGaBnvu6FwXSkpLuwTJeH7PypyMt1kpcxGtziUYbVA9GxZqhb134atWTjtgzxeVZbrppsiHq
|
||||
58bswmqxz5GV3w5pyZTuQJHppMkG1YmHYp0jXo9Y+a2Y8UpbpnQ7dpoOGm1Q7bgm1vxI+7kCbQyzQZ23
|
||||
XoEFk/FzD5xjmA2pPeC33gN24h+1Ul/AilSVY3MPS+R2phIteGNaGWiDasWIWC3FCa7XrShh2HZ9Bltm
|
||||
VpV1M9nI40Ldgg30LBZ7plQT+kwzw7KgmjGsm+a+B0w1lupmHOT1OtYK04RDuhH7eL6LtYTs0D5sYy2U
|
||||
FmuZRhQbH4PmIebjm7ABD1U9+pUPw0kfnrGOkSCDzuoG1LJWsJbpeuxPTaYeuzmhVRJlL1WHIeNl0G8w
|
||||
7cFE0ovnyosI+4OkXXvh1XU4wVrB8HL69vAlsEhi7KVP87+hhxvOw8FzZMqDzwkP3iQ9eKJOY1h5EOT1
|
||||
Tu1BM3FzzOOsayVifulTOGzcHDxHvrgxFXfhXdLNVTiFR8qFIdagcqNbu/mRuLBLhs5dbGoxLgbkwKQL
|
||||
sR8ufEy48CrpxFNViwecxF0S1LXclNl2fjbpkzgareTH4WRQFiaOYHq6ChOJE3ibPMlVqMFj5USE4eUy
|
||||
1J9LO/it2IFRU8MwG8ZrEI85MBk/zo/BgZecQFg7sV2GWBjxWS9V1fxdUMkvHw4Gz2L8GBJxB97zfpAT
|
||||
3ist+RND1pgq/iJiWKpWYZPc+q/fFPATN7p4kuj4bpoAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="tsbtnAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHpSURBVFhH3ZfNSwJBGMaFIIgM3R2/gu5B/0OXDp26eiro
|
||||
UO6OfRD9S921PyCIoi5Cp/DQIVpxZ9ToHH1BNo++qenCuNuI1A8e8B3nfd6H1V12YsPEHZliXJQZv/5k
|
||||
XLbNCF6iDG8aE0yWNzOqoTJqYEwVzKBxo6iUJWy0XXmgPi+bVNcTIUSJxg2Rr87am/LVcvwbWjEOvDED
|
||||
s2ipT3arOa8SvtmuuKAl48AbMzCLlvpgEekY969oSU++PdPRmMAbM4wFYK48g6jUYjxAYlc0ISq1mL8C
|
||||
3PcgKrX8vwA2l/cQlVoiB8gdNtKWI04s1z8dVJzfPUPD69iLHmrvETmA7TZWuk+x8YUeau8ROQBIHHnJ
|
||||
VKG2mN57zH2LFWQdGlzDHuylth/8KkAQau8DRKWWSQSY8m3o1GsQlVqMB0hyvwVRqcX8FeD+GkSlFuMB
|
||||
whIpwNJxfU7dXnF8H0boQS/ZdAgdwC6KfILLF7btfaiHy3soqR70woPswgdIcblqufLc5uIyitALD7L7
|
||||
o/8Bk4QOYBfluvo9b5krqpGkeuFBdlH+A2IDr1yMe09RhF54kJ0+gEo8vddyHBZw20z6YIIZgQcTgGOT
|
||||
Sjilo5kis9PKqk0TPZxiBo0LZmFfMLzXmT6ewxPeNIaIxb4A3VCV3g0TdvYAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="tsbtnDel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACXSURBVFhHYxgFpICfkbn7f0Xm/8eFQfJQpbQBNHfA7/B8
|
||||
B3z4V2T2fWwWwzDIAdj0IWOoVZjge3i+AjZDqY1B9kCtRAWjDhhwByADUGKBafgRkVcPFUbJBTCDkB2O
|
||||
nAtA+mDieBMfNjDqgFEHjDpg1AGjDhh1wKgDRh0wqBwAaYrDMEwMWRybGKo4hQ6gHA89B4wgwMAAAN3T
|
||||
9XRjtYl8AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="tsbtnClone.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIUSURBVFhH7ZNrS9tgGIb7///LQMb2QSbTTTJXMm3XQ9Ic
|
||||
WpK0OfVoutZqrN7LK4/wkrwGfepHb7igFO7nbkKvxkeeo9kp3HTNRvTpFC9OmiF/eGQj+nSKFzvJcLd/
|
||||
ZCP6dIoXO85we//ARvTpFC+D6Bo3+Z6N6NMpXsxwhc3tPRvRp1O8GJMl/u1yNqKvskOm1pTeeIlse8dG
|
||||
9FV2yNSa0g3mWG12bERfZYdMrSl/vRkW6xs2oq+yQ6bWlHZxYJZt2Yi+yg6ZWlOuRlOkqw0b0VfZIVNr
|
||||
yuUwQbxYs9HtUGmHjDCF5qrR3QSTecbCT5fQjEBph4wwheaqadoRgunqzYyiGdxJgrO2o7RDRphCc9X8
|
||||
tkJ4yfJNuJMpLD9GfzjGN91Q2iEjTKG5an4NQozixatxxilML0LPDdAaDPFFayvtkBGm0Fw1mjmBG85f
|
||||
heUn2OR44nq3x3S9g5eulHbICFNorprz4k9kF6+0Doueulu88sU2R7TcFD9ohv4oVJpRRphCc9X87AWw
|
||||
gvRFBsVTG8VQxwlwabjFd0nx2UezYynNKPNsCs1V86PnwyxGVBhe/PTULcuD3ndw0TahXfVwoulKM8rI
|
||||
ptBcNUdNF2ddv8Jpx8NJa4jjPxa+XvTx+byNT991HB2fKs0oUzaF5nh5D1PoFC/vYQqd4uVQU+gMP4eY
|
||||
QicOC9cUqh8ejilU/cgLaTT+A+NY6S8KKsPSAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="tsbtnExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEySURBVFhH7ZfhDYJADIVJCDoEQR3FUdyEURjFMeCfo2hL
|
||||
HviQEgo9//EljebZvqvlvIvZwUB7Pd+6qnh2l9M7FOKhXrD1I8XNzGx/NLD1Y5iEArZ+uHjPCNsyv7MH
|
||||
ZD+hYhDyCBWDrsxfvYe8QvKTooEQ/2hAvGr3fkrdwHimeM+FlA20VfFgP1cTXAAphPjU7LnaBCdDCiNe
|
||||
/iY4EZIJDhw19sXw0xxiqQlOgmTCeYGY3xWcAMmE83aHTAF2XzgBkgl2uD1uK4xHAKspnAQpjHhNr/il
|
||||
xRVOhBRCfPyLK5wMaTfWQYSPluECSCHGZ+9ZXEndgKKTwNt1/tHAJlI0sHnsTJIGIh5c7Lq/f9Aa9oDs
|
||||
Z3ZiBQO2fqQo3R8T+TKw9dOPUDZPgkk0emXD9mCFLPsAVd5Z/YQOzbIAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
1233
LeatherProject/GeBoShi/UI/SysSet/SysSetFrm.Designer.cs
generated
1233
LeatherProject/GeBoShi/UI/SysSet/SysSetFrm.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,10 @@
|
||||
using System;
|
||||
using GeBoShi.SysCtrl;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO.Ports;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@ -18,5 +20,277 @@ namespace GeBoShi.UI.SysSet
|
||||
UIStyle.SetUIStyle(this);
|
||||
this.uiTitel1.FatherForm = this;
|
||||
}
|
||||
|
||||
private void tsbtnExit_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void tsbtnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
GetParamsSave();
|
||||
MessageBox.Show("保存成功,修改硬件参数之后需重启生效!", "保存成功", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "保存出错", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private void SysSetFrm_Load(object sender, EventArgs e)
|
||||
{
|
||||
skinTabControl1.SelectedIndex = 0;
|
||||
var comNameList = SerialPort.GetPortNames().ToList();
|
||||
comNameList.ForEach(comName =>
|
||||
{
|
||||
this.cobLightPortNum.Items.Add(comName);
|
||||
});
|
||||
//显示所有打印机
|
||||
if (SysMgr.Instance.PrintControl != null)
|
||||
{
|
||||
List<string> list = SysMgr.Instance.PrintControl.GetPrintersName();
|
||||
foreach (string printer in list)
|
||||
{
|
||||
cboPrinters.Items.Add(printer);
|
||||
cboPrinters2.Items.Add(printer);
|
||||
}
|
||||
}
|
||||
RefeshParams();
|
||||
}
|
||||
#region 界面刷新&保存
|
||||
private void RefeshParams()
|
||||
{
|
||||
chkBuzzer.Checked = ConfMgr.Instance.SysConfigParams.OpenBuzzer;
|
||||
//chkDoorSensor.Checked = ConfMgr.Instance.SysConfigParams.OpenDoor;
|
||||
cbIODev.Checked = ConfMgr.Instance.SysConfigParams.OpenIO;
|
||||
cbPLC.Checked = ConfMgr.Instance.SysConfigParams.OpenPLC;
|
||||
|
||||
cobLightPortNum.Text = ConfMgr.Instance.SysConfigParams.LightCom;
|
||||
numLightBaud.Value = ConfMgr.Instance.SysConfigParams.LightComBaud;
|
||||
|
||||
tbIODevNum.Text = ConfMgr.Instance.SysConfigParams.IODevName;
|
||||
tbIOCfgPath.Text = ConfMgr.Instance.SysConfigParams.IOCfgPath;
|
||||
tbPLCIP.Text = ConfMgr.Instance.SysConfigParams.PLC_IP;
|
||||
|
||||
tbCamCfgPath.Text = ConfMgr.Instance.SysConfigParams.CamPath_1;
|
||||
tbCamCfgPath2.Text = ConfMgr.Instance.SysConfigParams.CamPath_2;
|
||||
numCamIndex.Value = ConfMgr.Instance.SysConfigParams.CamIndex_1;
|
||||
numCamIndex2.Value = ConfMgr.Instance.SysConfigParams.CamIndex_2;
|
||||
numCamDev.Value = ConfMgr.Instance.SysConfigParams.CamDev_1;
|
||||
numCamDev2.Value = ConfMgr.Instance.SysConfigParams.CamDev_2;
|
||||
|
||||
chkSave1.Checked = ConfMgr.Instance.SysConfigParams.DefectSrcImag.AutoSave;
|
||||
tbDefectPath.Text = ConfMgr.Instance.SysConfigParams.DefectSrcImag.SavePath;
|
||||
chkDefect_Path_AutoClear.Checked = ConfMgr.Instance.SysConfigParams.DefectSrcImag.AutoDelete;
|
||||
numDefect_Path_AutoClear.Value = (decimal)ConfMgr.Instance.SysConfigParams.DefectSrcImag.AutoDeleteDays;
|
||||
|
||||
chkSave2.Checked = ConfMgr.Instance.SysConfigParams.DefectSmallImag.AutoSave;
|
||||
tbDefectSmallPath.Text = ConfMgr.Instance.SysConfigParams.DefectSmallImag.SavePath;
|
||||
chkDefect_Small_Path_AutoClear.Checked = ConfMgr.Instance.SysConfigParams.DefectSmallImag.AutoDelete;
|
||||
numDefect_Small_Path_AutoClear.Value = (decimal)ConfMgr.Instance.SysConfigParams.DefectSmallImag.AutoDeleteDays;
|
||||
|
||||
chkSave3.Checked = ConfMgr.Instance.SysConfigParams.DefectSplicImag.AutoSave;
|
||||
tbDefectCompressSavePath.Text = ConfMgr.Instance.SysConfigParams.DefectSplicImag.SavePath;
|
||||
chkDefect_Compress_SavePath_AutoClear.Checked = ConfMgr.Instance.SysConfigParams.DefectSplicImag.AutoDelete;
|
||||
numDefect_Compress_SavePath_AutoClear.Value = (decimal)ConfMgr.Instance.SysConfigParams.DefectSplicImag.AutoDeleteDays;
|
||||
|
||||
tbModelPath.Text = ConfMgr.Instance.SysConfigParams.AIModelPath;
|
||||
tbPdtPath.Text = ConfMgr.Instance.ProjectDir;
|
||||
tbLogPath.Text = ConfMgr.Instance.SysConfigParams.LogPath;
|
||||
ckbAutoClear.Checked = ConfMgr.Instance.SysConfigParams.AutoDeleteLog;
|
||||
numLogDays.Value = (decimal)ConfMgr.Instance.SysConfigParams.AutoDeleteLogData;
|
||||
|
||||
cbResetBtn.Checked = ConfMgr.Instance.SysConfigParams.ShowResetBtn;
|
||||
cbBuzzShow.Checked = ConfMgr.Instance.SysConfigParams.ShowBuzz;
|
||||
cbDoorAlm.Checked = ConfMgr.Instance.SysConfigParams.ShowDoorAlm;
|
||||
|
||||
numViewX.Value = (decimal)ConfMgr.Instance.SysConfigParams.Cm2px_x;
|
||||
numViewY.Value = (decimal)ConfMgr.Instance.SysConfigParams.Cm2px_y;
|
||||
numMid.Value = (decimal)ConfMgr.Instance.SysConfigParams.MidCoin;
|
||||
numKW.Value = (decimal)ConfMgr.Instance.SysConfigParams.HolePx;
|
||||
numL.Value = (decimal)ConfMgr.Instance.SysConfigParams.LCrop;
|
||||
numR.Value = (decimal)ConfMgr.Instance.SysConfigParams.RCrop;
|
||||
|
||||
/////////////Print////////////////
|
||||
this.cbOpenBarTenderPrint.Checked = ConfMgr.Instance.SysConfigParams.EnableLabelPrint;
|
||||
this.cboPrinters.SelectedItem = ConfMgr.Instance.SysConfigParams.LabelPrinterName;
|
||||
|
||||
this.cbOpenExcelPrint.Checked = ConfMgr.Instance.SysConfigParams.EnableExcelPrint;
|
||||
this.cboPrinters2.SelectedItem = ConfMgr.Instance.SysConfigParams.ExcelPrinterName;
|
||||
////////////////////////////////
|
||||
|
||||
////////////////本地云端////////////////
|
||||
cbOpenCloud.Checked = ConfMgr.Instance.SysConfigParams.OpenCloud;
|
||||
tbCloudName.Text = ConfMgr.Instance.SysConfigParams.CloudThisName;
|
||||
tbCloudIP.Text = ConfMgr.Instance.SysConfigParams.CloudServerIP;
|
||||
numCloudPort.Value = (decimal)ConfMgr.Instance.SysConfigParams.CloudServerPort;
|
||||
tbCloudUser.Text = ConfMgr.Instance.SysConfigParams.CloudUser;
|
||||
tbCloudPassword.Text = ConfMgr.Instance.SysConfigParams.CloudPassword;
|
||||
|
||||
////////////////////////////////////////
|
||||
}
|
||||
|
||||
private void GetParamsSave()
|
||||
{
|
||||
SysConfigParams configParams = new SysConfigParams();
|
||||
configParams = ConfMgr.Instance.SysConfigParams;
|
||||
|
||||
configParams.OpenBuzzer = chkBuzzer.Checked;
|
||||
//configParams.OpenDoor = chkDoorSensor.Checked;
|
||||
configParams.OpenIO = cbIODev.Checked;
|
||||
configParams.OpenPLC = cbPLC.Checked;
|
||||
|
||||
|
||||
configParams.LightCom = cobLightPortNum.Text;
|
||||
configParams.LightComBaud = (int)numLightBaud.Value;
|
||||
|
||||
configParams.IODevName = tbIODevNum.Text;
|
||||
configParams.IOCfgPath = tbIOCfgPath.Text;
|
||||
configParams.PLC_IP = tbPLCIP.Text;
|
||||
configParams.PLC_Rack = 0;
|
||||
configParams.PLC_Solt = 1;
|
||||
|
||||
configParams.CamPath_1 = tbCamCfgPath.Text;
|
||||
configParams.CamPath_2 = tbCamCfgPath2.Text;
|
||||
configParams.CamIndex_1 = (int)numCamIndex.Value;
|
||||
configParams.CamIndex_2 = (int)numCamIndex2.Value;
|
||||
configParams.CamDev_1 = (int)numCamDev.Value;
|
||||
configParams.CamDev_2 = (int)numCamDev2.Value;
|
||||
|
||||
configParams.DefectSrcImag.AutoSave = chkSave1.Checked;
|
||||
configParams.DefectSrcImag.SavePath = tbDefectPath.Text;
|
||||
configParams.DefectSrcImag.AutoDelete = chkDefect_Path_AutoClear.Checked;
|
||||
configParams.DefectSrcImag.AutoDeleteDays = (double)numDefect_Path_AutoClear.Value;
|
||||
|
||||
configParams.DefectSmallImag.AutoSave = chkSave2.Checked;
|
||||
configParams.DefectSmallImag.SavePath = tbDefectSmallPath.Text;
|
||||
configParams.DefectSmallImag.AutoDelete = chkDefect_Small_Path_AutoClear.Checked;
|
||||
configParams.DefectSmallImag.AutoDeleteDays = (double)numDefect_Small_Path_AutoClear.Value;
|
||||
|
||||
configParams.DefectSplicImag.AutoSave = chkSave3.Checked;
|
||||
configParams.DefectSplicImag.SavePath = tbDefectCompressSavePath.Text;
|
||||
configParams.DefectSplicImag.AutoDelete = chkDefect_Compress_SavePath_AutoClear.Checked;
|
||||
configParams.DefectSplicImag.AutoDeleteDays = (double)numDefect_Compress_SavePath_AutoClear.Value;
|
||||
|
||||
configParams.AIModelPath = tbModelPath.Text;
|
||||
configParams.ProductPath = tbPdtPath.Text;
|
||||
configParams.LogPath = tbLogPath.Text;
|
||||
configParams.AutoDeleteLog = ckbAutoClear.Checked;
|
||||
configParams.AutoDeleteLogData = (double)numLogDays.Value;
|
||||
|
||||
configParams.ShowResetBtn = cbResetBtn.Checked;
|
||||
configParams.ShowBuzz = cbBuzzShow.Checked;
|
||||
configParams.ShowDoorAlm = cbDoorAlm.Checked;
|
||||
|
||||
configParams.Cm2px_x = (int)numViewX.Value;
|
||||
configParams.Cm2px_y = (int)numViewY.Value;
|
||||
configParams.MidCoin = (int)numMid.Value;
|
||||
configParams.HolePx = (int)numKW.Value;
|
||||
configParams.LCrop = (int)numL.Value;
|
||||
configParams.RCrop = (int)numR.Value;
|
||||
|
||||
////////////////////Print//////////////////////////
|
||||
configParams.EnableLabelPrint = this.cbOpenBarTenderPrint.Checked;
|
||||
if (this.cboPrinters.SelectedItem != null)
|
||||
configParams.LabelPrinterName = this.cboPrinters.SelectedItem.ToString();
|
||||
|
||||
configParams.EnableExcelPrint = this.cbOpenExcelPrint.Checked;
|
||||
if (this.cboPrinters2.SelectedItem != null)
|
||||
configParams.ExcelPrinterName = this.cboPrinters2.SelectedItem.ToString();
|
||||
/////////////////////////////////////////////////
|
||||
|
||||
///////本地云端////////////////////////////
|
||||
configParams.OpenCloud = this.cbOpenCloud.Checked;
|
||||
configParams.CloudThisName = this.tbCloudName.Text;
|
||||
configParams.CloudServerIP = this.tbCloudIP.Text;
|
||||
configParams.CloudServerPort = (int)this.numCloudPort.Value;
|
||||
configParams.CloudUser = this.tbCloudUser.Text;
|
||||
configParams.CloudPassword = this.tbCloudPassword.Text;
|
||||
///////////////////////////////////////////
|
||||
ConfMgr.Instance.WriteSysConfParams(configParams);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private void tbPath_Click(object sender, EventArgs e)
|
||||
{
|
||||
TextBox tb = (TextBox)sender;
|
||||
string path = ConfMgr.SelectFolder(Application.StartupPath);
|
||||
if (!string.IsNullOrWhiteSpace(path))
|
||||
{
|
||||
tb.Text = path;
|
||||
}
|
||||
|
||||
}
|
||||
private void btnClearPathClick(object sender, EventArgs e)
|
||||
{
|
||||
PictureBox pb = (PictureBox)sender;
|
||||
string path = "";
|
||||
if (pb.Name == btnClearDefect_Compress_SavePath.Name)
|
||||
this.tbDefectCompressSavePath.Text = path;
|
||||
else if (pb.Name == btnClearDefect_Path.Name)
|
||||
this.tbDefectPath.Text = path;
|
||||
else if (pb.Name == btnClearDefect_Small_Path.Name)
|
||||
this.tbDefectSmallPath.Text = path;
|
||||
}
|
||||
private void tbPathFile_Click(object sender, EventArgs e)
|
||||
{
|
||||
TextBox tb = (TextBox)sender;
|
||||
string path = ConfMgr.SelectFile("所有文件|*.*", Application.StartupPath);
|
||||
if (!string.IsNullOrWhiteSpace(path))
|
||||
{
|
||||
if (tb.Name == tbIOCfgPath.Name)
|
||||
this.tbIOCfgPath.Text = path;
|
||||
else if (tb.Name == tbCamCfgPath.Name)
|
||||
this.tbCamCfgPath.Text = path;
|
||||
else if (tb.Name == tbCamCfgPath2.Name)
|
||||
this.tbCamCfgPath2.Text = path;
|
||||
}
|
||||
}
|
||||
|
||||
private void tsbtnDataSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
string lsPath = ConfMgr.SelectFolder();
|
||||
if (string.IsNullOrWhiteSpace(lsPath))
|
||||
return;
|
||||
|
||||
//lsPath += "\\DB" + DateTime.Now.ToString("yyyyMMddHHmm") + ".bak";
|
||||
lsPath += "\\backup_" + DateTime.Now.ToString("yyyyMMddHHmm") + ".sql";
|
||||
Service.InitDB.BackupDataBase(lsPath);
|
||||
MessageBox.Show("备份成功!", "成功", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "失败", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private void tsbtnDatImport_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
string dbPath = ConfMgr.SelectFile();
|
||||
if (string.IsNullOrWhiteSpace(dbPath))
|
||||
return;
|
||||
if (MessageBox.Show($"是否导入{dbPath}?", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Information) == DialogResult.OK)
|
||||
{
|
||||
bool rel = Service.InitDB.RestoreDB(dbPath);
|
||||
if (rel)
|
||||
{
|
||||
MessageBox.Show("导入成功!", "成功", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
else
|
||||
MessageBox.Show("导入失败!", "失败", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "失败", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -118,6 +118,57 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="btnClearDefect_Compress_SavePath.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnClearDefect_Small_Path.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnClearDefect_Path.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="skinTabControl1.PageArrowDown" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABUAAAAiCAYAAACwaJKDAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
|
||||
@ -175,57 +226,6 @@
|
||||
cILdyXiyhxMsx+3UHk6wexkzezjBcsnP7eEEe5DxbA8nWL4tXuzhBDvIeLWHE+xhxps9nGCHGe/2cII9
|
||||
zviwh7Own/YKy1fjlz2cYE8zvu3hBHuW8WMPJ9jzjF97OMFeZCzs4Szs0l5hRxl/9pqmGf0Dp89NtaTt
|
||||
b1AAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnClearDefect_Compress_SavePath.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnClearDefect_Small_Path.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnClearDefect_Path.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
DAAACwwBP0AiyAAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAAJRSURB
|
||||
VFhHxZfNTsMwEISBtyoXKM3TwIUDTa9U4h8BT8CDAiphd+J118nENlCEpU9q7dmZrZ2mzZ6Mg38mfdN1
|
||||
XUTGfpjfBfsDbx06HwVY+Fgujjbt4vR9uTgcCH8DvN+Wi9mmbc4k49h5Q4DuPtvmpVs1nfG5aq530ATC
|
||||
4ZV6v5r3gb6QT3zsBU54o+tBzAImsTp4EG/JnIuuF8q2nzORYjvxnSZcePLJPZop2rgDMyYy5HiwE2HQ
|
||||
UEcfrjXEy9BM1WpBfw1kulU2q+a2ogmEQ0s8DNtVHUnh1HkZ8qnuVBeKffB221VDag1k9PUYY4PCTsj6
|
||||
qAlXWwofXk/bBmxCF2ULSztxH0wwEK5zRGvAc1sT83w4UFEwzJ9j2zw67SPTGPAK2kFe8iYSjctbeqmw
|
||||
NQMePFwZTURqm8hRCFfoZCQ2UThfBmry4QqdTIhNrPLn7IG2HK7QyRGuiex5K9DUhSt0coRrYM1CPdDs
|
||||
sgEX/swCGdDWNUEnIz8JNyqboJPAhSd/VL4DavNN0MnqcPmqrRW2ZhSaGE1sw9vmiRkafovxmmgMeAXt
|
||||
IC95g4lgmL+3h3AbVU2Ee0MYMS+G62IwemAGhqyPttTV5o9MvdPa2IAZZG+5LNyw+Yomkp9yLba/ZFes
|
||||
wJD1qXOM2Dq0xMNAVu/TF71fnBwyoSEFtfd230T2OtJM0fcFhb/lw3Mr4pqYvJ6Gf8unHkxqflIprgl6
|
||||
XWmm6CDGEOGrF8h3F+f0k3AjNqFe3luyZB0jEcqD41wfIN8u/uDhVDzDw+m8z+v2vgCLN08Z7ifCRgAA
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
@ -255,17 +255,17 @@
|
||||
<data name="tsbtnDatImport.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJaSURBVFhHvZfBSxtBGMXzR/QPqJfSFiEsaZOoDRu1ERJq
|
||||
YozQlFLUHoJUQbBIQbDx2EMO6i3nnnspePCUgxcR/wdPnrxJC6WlTPNb9wvjZjfZZGf74C1sdua9tzPz
|
||||
bfgSo6K88ckqre20ujy1i7Xrqerqj8mXpT+pVEoJX9j2X36bmS/+Zky+9u6COc1L9cCVGR2F+sa3dDr7
|
||||
K7ewqOCb/bba+nrpcPfk2mHzXDmUe569P/zujF2oN5xwaKDlyg7H3Mr602nb/okpYmIyDgmFBmHQRNu1
|
||||
CQYDeRM/wSgkCNquTTBYNj8BE0TbtQkGg/T9NUU0Qwdg/5c2D4wEYTvRQjN0ACayZ1IBHCKpAkIJdSPu
|
||||
pQqgmDKXe8aMFMArLKUloSBjhWKGMcTUG/JegGQy+bD7w5UuIkTMO9kE0Xbt7yAhJqq7ncSRUsKp7XYs
|
||||
IfoCgP8VAh3fACAoRGbzOHKIvirgMoiPSo1eAPiksqXS2Wm18rFlpgqci2YQhs8aLZXN5dV8bdURFerB
|
||||
xWxoFYwTAJo4E5ECWHt3HyY/4bAcO4AJc1auF2AQJ2eXjJr3VYEfKEPLsjqPC6/PdPOJt1/U83TGOVyx
|
||||
/RcEmcubi7Dx/wIwzFyfbIL3Aoi5/hbCOMwh2q59MBjkXToTRDN0AFaAfTQRJFQV6GAQEzlETIKxVoEX
|
||||
EsArHEsV+MEbwCRDBZitLN/wtn4CUcgqhmpMTLZmkG1ga9CcKbwqujaDwTei/OFze265fqvvLYH0g6ib
|
||||
QJ7p54UlH7k59ULac1ruoPYc6u05rbx/e55I/AOb0atfg4Jn8AAAAABJRU5ErkJggg==
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJWSURBVFhHvZc9SyNRGIXzI/wBa7OoCGGIO34zfkVIcP2K
|
||||
YEQWP4ogKggusrCgsbRIodultt5mwcLKwkbE/2BlZScKosjVZ5xXrpOZZJLc2QNnYDL3nnPm3vtOeBP1
|
||||
YnLtl5Vd3i698dTJ5G56Z5bu28eyz6lUSgkHHOeF3/pHM0+MGcr9uGRO8Uq1eDL1I51f+2vb9uPg+HcF
|
||||
F3bLavP4yuXOyY3L4oVyKfc8Wz38544dzxfccGig5cnWxsjcSkef4zxgipiYNEJCoUEYNNH2bMLBQN4k
|
||||
SLAZEgRtzyYcLFuQgAmi7dmEg0H6/poimpEDsP/TG/tGgrCdaKEZOQAT2TOpAA6RVAGhhLoR91IFUEyZ
|
||||
yz1j6grgF5bSklCQsUIxwxhi6g/5KUAymfzy9sO1LiJEzD/ZBNH27N8hIVpnds4SR0oJe7fKsYSoCAD+
|
||||
Vwh0AgOAsBDdG3+aDlFRBVyq8Wu28BEAtk9tKrunT839LJmpAveiGURhV6GkegaH1GhuyRUV6sHFrGYV
|
||||
NBIAmjgTTQWwfr9/mIKEo7LhACbMWbmPANXYOTxt1LyiCoJAGVqWddaWnj/XzVsXD9Q3u9s9XLH9F4SZ
|
||||
y5uLsPH/AlDLXJ9sgp8CiLn+FsI4zCHann04GORfOhNEM3IAVoB9NBEkUhXoYBATOURMgrFWgR8SwC8c
|
||||
SxUEwR/AJCMFGJ6aveVtgwSaIasYqTEx2ZpBtoGtQbM/PZHxbKqDb8Tk+l55ZDZ/p+8tgfSDqJtAnunn
|
||||
hSWvuzn1Q9pzWu6w9hzq7TmtfHB7nki8Av1aq01yIVmPAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="tsbtnExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
29053
LeatherProject/GeBoShi/bin/Debug/BouncyCastle.Cryptography.xml
Normal file
29053
LeatherProject/GeBoShi/bin/Debug/BouncyCastle.Cryptography.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,14 @@
|
||||
#DevParamsConfig.ini
|
||||
[LightCST-Light]
|
||||
DeviceName=Light
|
||||
ComName=COM1
|
||||
ComBuad=9600
|
||||
IP=
|
||||
Port=0
|
||||
ChCount=6
|
||||
Lum1=0
|
||||
Lum2=0
|
||||
Lum3=0
|
||||
Lum4=0
|
||||
Lum5=0
|
||||
Lum6=0
|
@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<DAQNavi Profile="1.0.0.0" Version="3.2.1.0">
|
||||
<DaqDevice ModuleIndex="0">
|
||||
<Property ID="8">
|
||||
<Description>Product ID:</Description>
|
||||
<Attribute>0</Attribute>
|
||||
<Type>2</Type>
|
||||
<EnumType>ProductId</EnumType>
|
||||
<Tip>Product ID is used to represent a DAQ Device model and distinguish devices of different models. Each device model owns an unique Product ID.</Tip>
|
||||
<Value>135</Value>
|
||||
</Property>
|
||||
</DaqDevice>
|
||||
<DaqDio ModuleIndex="0">
|
||||
<Property ID="120">
|
||||
<Description>DI Data Mask:</Description>
|
||||
<Attribute>0</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType></EnumType>
|
||||
<Tip>DiDataMask is used to describe whether each channel of a digital port is used DI function or not. The value of DataMask has 8 bits and each bit corresponds to one channel of the digital port. Value 1 means that the corresponding channel can be used for DI function. DiDataMask of this port will be changed when the port direction changing.</Tip>
|
||||
<Value>255,255,255,255</Value>
|
||||
</Property>
|
||||
<Property ID="121">
|
||||
<Description>DO Data Mask:</Description>
|
||||
<Attribute>0</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType></EnumType>
|
||||
<Tip>Do DataMask is used to describe whether each channel of one digital port could be used for digital output. Every DataMask has 8 bits and each bit corresponds to one channel of digital port. When the value of one bit is 1, it means the corresponding channel could be used for digital output.DoDataMask of this port will be changed when the port direction changing.</Tip>
|
||||
<Value>255,255,255,255</Value>
|
||||
</Property>
|
||||
<Property ID="124">
|
||||
<Description>Trigger Edge:</Description>
|
||||
<Attribute>1</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType>ActiveSignal</EnumType>
|
||||
<Tip>Gets or sets the signal edge of trigger source at which the signal is considered as a valid trigger signal.</Tip>
|
||||
<Value>1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0</Value>
|
||||
</Property>
|
||||
<Property ID="354">
|
||||
<Description>DI Inverse Ports:</Description>
|
||||
<Attribute>1</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType></EnumType>
|
||||
<Tip>Gets or sets whether enable the DI value inverse.</Tip>
|
||||
<Value>0,0,0,0</Value>
|
||||
</Property>
|
||||
<Property ID="26">
|
||||
<Description>Channel Number Max:</Description>
|
||||
<Attribute>2</Attribute>
|
||||
<Type>2</Type>
|
||||
<EnumType></EnumType>
|
||||
<Tip> Max number of physical channel.Physical channel refers to visible input/output terminals or pins that can connect wires on a data acquisition card.</Tip>
|
||||
<Value>31</Value>
|
||||
</Property>
|
||||
<Property ID="82">
|
||||
<Description>Ports Type:</Description>
|
||||
<Attribute>0</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType>DioPortType</EnumType>
|
||||
<Tip>The type of all digital port.There are six kinds of port type,the name and meaning, listed in the DioPortType Enumeration.</Tip>
|
||||
<Value>2,2,2,2</Value>
|
||||
</Property>
|
||||
<Property ID="86">
|
||||
<Description>Interrupt Channels</Description>
|
||||
<Attribute>0</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType></EnumType>
|
||||
<Tip>Gets which channels support DI interrupt function. </Tip>
|
||||
<Value>1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0</Value>
|
||||
</Property>
|
||||
<Property ID="85">
|
||||
<Description>Interrupt Trigger Edge:</Description>
|
||||
<Attribute>0</Attribute>
|
||||
<Type>65536</Type>
|
||||
<EnumType>ActiveSignal</EnumType>
|
||||
<Tip>The supported trigger edge type which can be used in DI Interrupt. </Tip>
|
||||
<Value>1,2</Value>
|
||||
</Property>
|
||||
</DaqDio>
|
||||
</DAQNavi>
|
@ -0,0 +1,74 @@
|
||||
[
|
||||
{
|
||||
"id": 0,
|
||||
"code": "jb",
|
||||
"name": "浆斑",
|
||||
"color": "Red"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"code": "wy",
|
||||
"name": "污印",
|
||||
"color": "Lime"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"code": "mj",
|
||||
"name": "棉结",
|
||||
"color": "DarkViolet"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"code": "hy",
|
||||
"name": "黄印",
|
||||
"color": "Magenta"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"code": "lj",
|
||||
"name": "垃圾",
|
||||
"color": "Orange"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"code": "yss",
|
||||
"name": "异色丝",
|
||||
"color": "Brown"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"code": "zy",
|
||||
"name": "皱印",
|
||||
"color": "Olive"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"code": "wc",
|
||||
"name": "蚊虫",
|
||||
"color": "PaleGreen"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"code": "cs",
|
||||
"name": "擦伤",
|
||||
"color": "CadetBlue"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"code": "cy",
|
||||
"name": "重影",
|
||||
"color": "Aqua"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"code": "tcy",
|
||||
"name": "停车印",
|
||||
"color": "YellowGreen"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"code": "jt",
|
||||
"name": "接头",
|
||||
"color": "Blue"
|
||||
}
|
||||
]
|
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
jb
|
||||
wy
|
||||
mj
|
||||
hy
|
||||
lj
|
||||
yss
|
||||
zy
|
||||
wc
|
||||
cs
|
||||
cy
|
||||
tcy
|
||||
jt
|
@ -24,12 +24,12 @@ AutoDeleteDays=0
|
||||
OpenBuzzer=True
|
||||
OpenDoor=True
|
||||
[Dev]
|
||||
LightCom=
|
||||
LightCom=COM1
|
||||
LightComBaud=9600
|
||||
IODevName=
|
||||
IOCfgPath=E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\ConfigFiles\IOCard_default.xml
|
||||
[Sys]
|
||||
AIModelPath=E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\ConfigFiles\onnxFiles
|
||||
AIModelPath=E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\ConfigFiles\Models
|
||||
ProductPath=E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\ConfigFiles\Project
|
||||
[ShowMainWin]
|
||||
ShowResetBtn=True
|
||||
|
@ -31,7 +31,13 @@
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.1.0.0" newVersion="8.1.0.0" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.3.0.0" newVersion="8.3.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.25.1.0" newVersion="3.25.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -393,6 +393,26 @@
|
||||
</summary>
|
||||
<returns>A byte array that contains the results of the XOR operation.</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.MySqlClient.Authentication.WebAuthnAuthenticationPlugin.ParseChallenge(System.Byte[])">
|
||||
<summary>
|
||||
Method that parse the challenge received from server during authentication process.
|
||||
This method extracts salt and relying party name.
|
||||
</summary>
|
||||
<param name="data">Buffer holding the server challenge.</param>
|
||||
<exception cref="T:MySql.Data.MySqlClient.MySqlException">Thrown if an error occurs while parsing the challenge.</exception>
|
||||
</member>
|
||||
<member name="M:MySql.Data.MySqlClient.Authentication.WebAuthnAuthenticationPlugin.SetClientData">
|
||||
<summary>
|
||||
Sets the ClientDataHash for the assertion
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:MySql.Data.MySqlClient.Authentication.WebAuthnAuthenticationPlugin.GetAssertion(MySql.Data.Authentication.FIDO.FidoDevice)">
|
||||
<summary>
|
||||
Method to obtains an assertion from a FIDO device.
|
||||
</summary>
|
||||
<returns>The assertion.</returns>
|
||||
<exception cref="T:MySql.Data.MySqlClient.MySqlException">Thrown if an error occurs while getting the assertion.</exception>
|
||||
</member>
|
||||
<member name="T:MySql.Data.MySqlClient.Authentication.MySqlWindowsAuthenticationPlugin">
|
||||
<summary>
|
||||
Allows connections to a user account set with the authentication_windows authentication plugin.
|
||||
@ -3091,6 +3111,11 @@
|
||||
Occurs when FIDO authentication requests to perform gesture action on a device.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:MySql.Data.MySqlClient.MySqlConnection.WebAuthnActionRequested">
|
||||
<summary>
|
||||
Occurs when WebAuthn authentication makes a request to perform the gesture action on a device.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:MySql.Data.MySqlClient.MySqlConnection.InfoMessage">
|
||||
<summary>
|
||||
Occurs when MySQL returns warnings as a result of executing a command or query.
|
||||
@ -3507,6 +3532,12 @@
|
||||
<see cref="T:MySql.Data.MySqlClient.MySqlConnection"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:MySql.Data.MySqlClient.WebAuthnActionCallback">
|
||||
<summary>
|
||||
Represents the method to handle the <see cref="E:MySql.Data.MySqlClient.MySqlConnection.WebAuthnActionRequested"/> event of a
|
||||
<see cref="T:MySql.Data.MySqlClient.MySqlConnection"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:MySql.Data.MySqlClient.MySqlInfoMessageEventHandler">
|
||||
<summary>
|
||||
Represents the method to handle the <see cref="E:MySql.Data.MySqlClient.MySqlConnection.InfoMessage"/> event of a
|
||||
@ -3790,7 +3821,12 @@
|
||||
</member>
|
||||
<member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.FidoActionRequested">
|
||||
<summary>
|
||||
Gets or sets the event for the callback.
|
||||
Gets or sets the event for the Fido callback.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.WebAuthnActionRequested">
|
||||
<summary>
|
||||
Gets or sets the event for the WebauthN callback.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.MySqlClient.MySqlConnectionStringBuilder.ConnectionLifeTime">
|
||||
@ -8990,6 +9026,13 @@
|
||||
<param name="quotedString">The string to unquote.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.MySqlClient.Utils.GetLengthSize(System.UInt64)">
|
||||
<summary>
|
||||
Gets the length size (in bytes) of a string.
|
||||
</summary>
|
||||
<param name="length">length of string.</param>
|
||||
<returns>Number of bytes needed.</returns>
|
||||
</member>
|
||||
<member name="T:MySql.Data.MySqlClient.X.XDevAPI.Common.ColumnType">
|
||||
<summary>
|
||||
Defines the type of the column.
|
||||
@ -9070,13 +9113,20 @@
|
||||
</summary>
|
||||
<param name="assert">The object to use</param>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.FidoAssertion.GetFidoAssertionStatement">
|
||||
<member name="M:MySql.Data.Authentication.FIDO.FidoAssertion.GetFidoAssertionStatement(System.Int32)">
|
||||
<summary>
|
||||
Gets the assertion statement. Since we're getting only one assertion, the index will always be zero.
|
||||
Gets the assertion statement at the index provided.
|
||||
</summary>
|
||||
<param name="idx">The index of the assertion statement to retrieve</param>
|
||||
<returns>The assertion statement object</returns>
|
||||
<exception cref="T:System.IndexOutOfRangeException">The index is not in the range [0, count)</exception>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.FidoAssertion.GetAssertCount">
|
||||
<summary>
|
||||
Gets the number of assertions contained in the authentication device.
|
||||
</summary>
|
||||
<returns>The number of assertions contained in the authentication device.</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.FidoDevice.#ctor">
|
||||
<summary>
|
||||
Default constructor
|
||||
@ -9101,6 +9151,11 @@
|
||||
</summary>
|
||||
<exception cref="T:MySql.Data.Authentication.FIDO.Utility.CtapException">Thrown if an error occurs while closing</exception>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Authentication.FIDO.FidoDevice.SupportsCredman">
|
||||
<summary>
|
||||
Determines whether this device supports CTAP 2.1 Credential Management.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.FidoDevice.GetAssert(MySql.Data.Authentication.FIDO.FidoAssertion)">
|
||||
<summary>
|
||||
Uses the device to generate an assertion
|
||||
@ -9203,6 +9258,13 @@
|
||||
<param name="pin">The pin of the device</param>
|
||||
<returns><see cref="F:MySql.Data.Authentication.FIDO.Utility.CtapStatus.Ok"/> on success, anything else on failure</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.Native.NativeMethods.fido_dev_supports_credman(MySql.Data.Authentication.FIDO.Native.fido_dev_t*)">
|
||||
<summary>
|
||||
Returns <see langword="true"/> if <paramref name="dev"/> supports CTAP 2.1 Credential Management.
|
||||
</summary>
|
||||
<param name="dev">The device to check.</param>
|
||||
<returns><see langword="true"/> if <paramref name="dev"/> supports CTAP 2.1 Credential Management; otherwise, <see langword="false"/>.</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.Native.NativeMethods.fido_dev_info_new(System.IntPtr)">
|
||||
<summary>
|
||||
Returns a pointer to a newly allocated, empty fido_dev_info_t type.
|
||||
@ -9356,11 +9418,32 @@
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.Native.NativeMethods.fido_assert_id_ptr(MySql.Data.Authentication.FIDO.Native.fido_assert_t*,System.IntPtr)">
|
||||
<summary>
|
||||
Returns a pointer to the ID of statement idx in assert
|
||||
Returns a pointer to the ID of statement idx in assert.
|
||||
</summary>
|
||||
<param name="assert">The assertion object to act on</param>
|
||||
<param name="idx">The index to retrieve</param>
|
||||
<returns>A pointer to the ID of statement idx in assert</returns>
|
||||
<param name="assert">The assertion object to act on.</param>
|
||||
<param name="idx">The index to retrieve.</param>
|
||||
<returns>A pointer to the ID of statement idx in assert.</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.Native.NativeMethods.fido_assert_clientdata_hash_len(MySql.Data.Authentication.FIDO.Native.fido_assert_t*)">
|
||||
<summary>
|
||||
Returns the length of the client data hash of an assertion.
|
||||
</summary>
|
||||
<param name="assert">The assertion object to act on.</param>
|
||||
<returns>The length of the client data hash of statement idx of the assertion.</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.Native.NativeMethods.fido_assert_clientdata_hash_ptr(MySql.Data.Authentication.FIDO.Native.fido_assert_t*)">
|
||||
<summary>
|
||||
Returns a pointer to the client data hash of an assertion.
|
||||
</summary>
|
||||
<param name="assert">The assertion object to act on.</param>
|
||||
<returns>A pointer to the client data hash of the assertion.</returns>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Authentication.FIDO.Native.NativeMethods.fido_assert_count(MySql.Data.Authentication.FIDO.Native.fido_assert_t*)">
|
||||
<summary>
|
||||
Returns the number of statements in assertion.
|
||||
</summary>
|
||||
<param name="assert">The assertion object to act on.</param>
|
||||
<returns>The number of statements in assertion.</returns>
|
||||
</member>
|
||||
<member name="T:MySql.Data.Authentication.FIDO.Native.fido_assert_t">
|
||||
<summary>
|
||||
@ -10937,6 +11020,11 @@
|
||||
Defines the supported TLS protocols.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Common.Ssl.GetCertificateFromPEM(System.String,System.String)">
|
||||
<summary>
|
||||
Retrieves a certificate from PEM file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:MySql.Data.Common.Ssl.GetPFXClientCertificates">
|
||||
<summary>
|
||||
Retrieves a collection containing the client SSL PFX certificates.
|
||||
@ -11481,6 +11569,21 @@
|
||||
Looks up a localized string similar to Fatal error encountered attempting to read the resultset..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.FidoChallengeCorrupt">
|
||||
<summary>
|
||||
Looks up a localized string similar to Challenge received is corrupt..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.FidoMissingHandler">
|
||||
<summary>
|
||||
Looks up a localized string similar to An event handler for FidoActionRequested was not specified..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.FidoRegistrationMissing">
|
||||
<summary>
|
||||
Looks up a localized string similar to FIDO registration is missing..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.FileBasedCertificateNotSupported">
|
||||
<summary>
|
||||
Looks up a localized string similar to File based certificates are only supported when connecting to MySQL Server 5.1 or greater..
|
||||
@ -12206,6 +12309,16 @@
|
||||
Looks up a localized string similar to The requested column value could not be treated as or conveted to a Guid..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.WebAuthnMissingHandler">
|
||||
<summary>
|
||||
Looks up a localized string similar to An event handler for WebAuthnActionRequested was not specified..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.WebAuthnTimeout">
|
||||
<summary>
|
||||
Looks up a localized string similar to The timeout of 15 seconds for user interaction with FIDO device has been exceeded..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:MySql.Data.Resources.WinAuthNotSupportOnPlatform">
|
||||
<summary>
|
||||
Looks up a localized string similar to Windows authentication connections are not supported on {0}.
|
||||
|
@ -1,166 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><doc>
|
||||
<assembly>
|
||||
<name>System.Threading.Tasks.Extensions</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Runtime.CompilerServices.ValueTaskAwaiter`1">
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ValueTaskAwaiter`1.IsCompleted">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.OnCompleted(System.Action)">
|
||||
<param name="continuation"></param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.UnsafeOnCompleted(System.Action)">
|
||||
<param name="continuation"></param>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.ValueTask`1">
|
||||
<summary>Provides a value type that wraps a <see cref="Task{TResult}"></see> and a <typeparamref name="TResult">TResult</typeparamref>, only one of which is used.</summary>
|
||||
<typeparam name="TResult">The result.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(System.Threading.Tasks.Task{`0})">
|
||||
<summary>Initializes a new instance of the <see cref="ValueTask{TResult}"></see> class using the supplied task that represents the operation.</summary>
|
||||
<param name="task">The task.</param>
|
||||
<exception cref="T:System.ArgumentNullException">The <paramref name="task">task</paramref> argument is null.</exception>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(`0)">
|
||||
<summary>Initializes a new instance of the <see cref="ValueTask{TResult}"></see> class using the supplied result of a successful operation.</summary>
|
||||
<param name="result">The result.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.AsTask">
|
||||
<summary>Retrieves a <see cref="Task{TResult}"></see> object that represents this <see cref="ValueTask{TResult}"></see>.</summary>
|
||||
<returns>The <see cref="Task{TResult}"></see> object that is wrapped in this <see cref="ValueTask{TResult}"></see> if one exists, or a new <see cref="Task{TResult}"></see> object that represents the result.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.ConfigureAwait(System.Boolean)">
|
||||
<summary>Configures an awaiter for this value.</summary>
|
||||
<param name="continueOnCapturedContext">true to attempt to marshal the continuation back to the captured context; otherwise, false.</param>
|
||||
<returns>The configured awaiter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.CreateAsyncMethodBuilder">
|
||||
<summary>Creates a method builder for use with an async method.</summary>
|
||||
<returns>The created builder.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Object)">
|
||||
<summary>Determines whether the specified object is equal to the current object.</summary>
|
||||
<param name="obj">The object to compare with the current object.</param>
|
||||
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Determines whether the specified <see cref="ValueTask{TResult}"></see> object is equal to the current <see cref="ValueTask{TResult}"></see> object.</summary>
|
||||
<param name="other">The object to compare with the current object.</param>
|
||||
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.GetAwaiter">
|
||||
<summary>Creates an awaiter for this value.</summary>
|
||||
<returns>The awaiter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.GetHashCode">
|
||||
<summary>Returns the hash code for this instance.</summary>
|
||||
<returns>The hash code for the current object.</returns>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCanceled">
|
||||
<summary>Gets a value that indicates whether this object represents a canceled operation.</summary>
|
||||
<returns>true if this object represents a canceled operation; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompleted">
|
||||
<summary>Gets a value that indicates whether this object represents a completed operation.</summary>
|
||||
<returns>true if this object represents a completed operation; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompletedSuccessfully">
|
||||
<summary>Gets a value that indicates whether this object represents a successfully completed operation.</summary>
|
||||
<returns>true if this object represents a successfully completed operation; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.IsFaulted">
|
||||
<summary>Gets a value that indicates whether this object represents a failed operation.</summary>
|
||||
<returns>true if this object represents a failed operation; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.op_Equality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Compares two values for equality.</summary>
|
||||
<param name="left">The first value to compare.</param>
|
||||
<param name="right">The second value to compare.</param>
|
||||
<returns>true if the two <see cref="ValueTask{TResult}"></see> values are equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.op_Inequality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||
<summary>Determines whether two <see cref="ValueTask{TResult}"></see> values are unequal.</summary>
|
||||
<param name="left">The first value to compare.</param>
|
||||
<param name="right">The seconed value to compare.</param>
|
||||
<returns>true if the two <see cref="ValueTask{TResult}"></see> values are not equal; otherwise, false.</returns>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.ValueTask`1.Result">
|
||||
<summary>Gets the result.</summary>
|
||||
<returns>The result.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.ValueTask`1.ToString">
|
||||
<summary>Returns a string that represents the current object.</summary>
|
||||
<returns>A string that represents the current object.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute">
|
||||
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.#ctor(System.Type)">
|
||||
<param name="builderType"></param>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.BuilderType">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1">
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.AwaitOnCompleted``2(``0@,``1@)">
|
||||
<param name="awaiter"></param>
|
||||
<param name="stateMachine"></param>
|
||||
<typeparam name="TAwaiter"></typeparam>
|
||||
<typeparam name="TStateMachine"></typeparam>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.AwaitUnsafeOnCompleted``2(``0@,``1@)">
|
||||
<param name="awaiter"></param>
|
||||
<param name="stateMachine"></param>
|
||||
<typeparam name="TAwaiter"></typeparam>
|
||||
<typeparam name="TStateMachine"></typeparam>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Create">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetException(System.Exception)">
|
||||
<param name="exception"></param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(`0)">
|
||||
<param name="result"></param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
|
||||
<param name="stateMachine"></param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Start``1(``0@)">
|
||||
<param name="stateMachine"></param>
|
||||
<typeparam name="TStateMachine"></typeparam>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Task">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter">
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.IsCompleted">
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.OnCompleted(System.Action)">
|
||||
<param name="continuation"></param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.UnsafeOnCompleted(System.Action)">
|
||||
<param name="continuation"></param>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1">
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.GetAwaiter">
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -49,7 +49,6 @@ E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\Google.Protobuf.pdb
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\Google.Protobuf.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\K4os.Compression.LZ4.Streams.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\System.Threading.Tasks.Extensions.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\System.Numerics.Vectors.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\K4os.Compression.LZ4.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\System.IO.Pipelines.xml
|
||||
@ -81,3 +80,7 @@ E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\OpenCvSharp.Extensions.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\System.ValueTuple.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\obj\Debug\GeBoShi.UI.SysSet.SysSetFrm.resources
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\obj\Debug\GeBoShi.UI.Product.ProductInfoFrm.resources
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\obj\Debug\GeBoShi.UI.Product.ProductListFrm.resources
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\BouncyCastle.Cryptography.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\GeBoShi\bin\Debug\BouncyCastle.Cryptography.xml
|
||||
|
@ -31,7 +31,13 @@
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.1.0.0" newVersion="8.1.0.0" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.3.0.0" newVersion="8.3.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Google.Protobuf" publicKeyToken="a7d26565bac4d604" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.25.1.0" newVersion="3.25.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
@ -2,6 +2,7 @@
|
||||
<packages>
|
||||
<package id="OpenCvSharp4" version="4.8.0.20230708" targetFramework="net48" />
|
||||
<package id="OpenCvSharp4.Extensions" version="4.7.0.20230115" targetFramework="net48" />
|
||||
<package id="SqlSugar" version="5.1.4.105" targetFramework="net48" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
|
||||
<package id="System.Drawing.Common" version="5.0.3" targetFramework="net48" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
|
||||
|
@ -118,7 +118,13 @@
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="textBox1.Text" xml:space="preserve">
|
||||
<value>v1.0.2.5(2024-04-08)
|
||||
<value>v1.0.2.6(2024-04-26)
|
||||
1、修复裁剪之后图片拉伸
|
||||
v1.0.2.6(2024-04-12)
|
||||
1、修复打印报表有数据没显示
|
||||
2、报表幅宽范围放大
|
||||
3、剩余不足添加报警
|
||||
v1.0.2.5(2024-04-08)
|
||||
1、更新显示单位cm=》mm
|
||||
v1.0.2.4 (2024-03-15:03-19)
|
||||
1、更新车用革情况,接头处过滤横档缺陷;
|
||||
|
229
LeatherProject/LeatherApp/Page/FHome.Designer.cs
generated
229
LeatherProject/LeatherApp/Page/FHome.Designer.cs
generated
@ -61,6 +61,17 @@
|
||||
this.lineChartDefect = new Sunny.UI.UILineChart();
|
||||
this.uiTitlePanel3 = new Sunny.UI.UITitlePanel();
|
||||
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
|
||||
this.colUid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colIndex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDefectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colX = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colY = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colW = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colH = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colArea = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colZXD = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colTarget = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.uiMiniPagination1 = new Sunny.UI.UIMiniPagination();
|
||||
this.uiTitlePanel4 = new Sunny.UI.UITitlePanel();
|
||||
this.lineChartFaceWidth = new Sunny.UI.UILineChart();
|
||||
@ -86,17 +97,6 @@
|
||||
this.uiLabel8 = new Sunny.UI.UILabel();
|
||||
this.uiLabel7 = new Sunny.UI.UILabel();
|
||||
this.uiLabel6 = new Sunny.UI.UILabel();
|
||||
this.colUid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colIndex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDefectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colX = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colY = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colW = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colH = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colArea = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colZXD = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colTarget = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.picDefectImage = new LeatherApp.UIExtend.UCImageView();
|
||||
this.ucColorListDefect = new LeatherApp.UIExtend.UCColorList();
|
||||
this.uiPanel1.SuspendLayout();
|
||||
@ -447,6 +447,7 @@
|
||||
this.button1.TabIndex = 1;
|
||||
this.button1.Text = "button1";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Visible = false;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// btnPause
|
||||
@ -720,7 +721,7 @@
|
||||
this.uiDataGridView1.EnableHeadersVisualStyles = false;
|
||||
this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiDataGridView1.GridColor = System.Drawing.Color.CornflowerBlue;
|
||||
this.uiDataGridView1.Location = new System.Drawing.Point(3, 36);
|
||||
this.uiDataGridView1.Location = new System.Drawing.Point(3, 31);
|
||||
this.uiDataGridView1.MultiSelect = false;
|
||||
this.uiDataGridView1.Name = "uiDataGridView1";
|
||||
this.uiDataGridView1.RectColor = System.Drawing.Color.DodgerBlue;
|
||||
@ -746,12 +747,113 @@
|
||||
this.uiDataGridView1.ScrollBarStyleInherited = false;
|
||||
this.uiDataGridView1.SelectedIndex = -1;
|
||||
this.uiDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.uiDataGridView1.Size = new System.Drawing.Size(677, 348);
|
||||
this.uiDataGridView1.Size = new System.Drawing.Size(676, 349);
|
||||
this.uiDataGridView1.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
|
||||
this.uiDataGridView1.Style = Sunny.UI.UIStyle.Custom;
|
||||
this.uiDataGridView1.StyleCustomMode = true;
|
||||
this.uiDataGridView1.TabIndex = 1;
|
||||
//
|
||||
// colUid
|
||||
//
|
||||
this.colUid.HeaderText = "uid";
|
||||
this.colUid.MinimumWidth = 8;
|
||||
this.colUid.Name = "colUid";
|
||||
this.colUid.ReadOnly = true;
|
||||
this.colUid.Visible = false;
|
||||
this.colUid.Width = 150;
|
||||
//
|
||||
// colCode
|
||||
//
|
||||
this.colCode.HeaderText = "Code";
|
||||
this.colCode.MinimumWidth = 8;
|
||||
this.colCode.Name = "colCode";
|
||||
this.colCode.Visible = false;
|
||||
this.colCode.Width = 150;
|
||||
//
|
||||
// colIndex
|
||||
//
|
||||
this.colIndex.DataPropertyName = "Index";
|
||||
this.colIndex.HeaderText = "图号";
|
||||
this.colIndex.MinimumWidth = 8;
|
||||
this.colIndex.Name = "colIndex";
|
||||
this.colIndex.Width = 50;
|
||||
//
|
||||
// colDefectName
|
||||
//
|
||||
this.colDefectName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.colDefectName.DataPropertyName = "Name";
|
||||
this.colDefectName.HeaderText = "名称";
|
||||
this.colDefectName.MinimumWidth = 50;
|
||||
this.colDefectName.Name = "colDefectName";
|
||||
this.colDefectName.ReadOnly = true;
|
||||
//
|
||||
// colX
|
||||
//
|
||||
this.colX.DataPropertyName = "X";
|
||||
dataGridViewCellStyle3.Format = "N1";
|
||||
dataGridViewCellStyle3.NullValue = null;
|
||||
this.colX.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colX.HeaderText = "X(cm)";
|
||||
this.colX.MinimumWidth = 8;
|
||||
this.colX.Name = "colX";
|
||||
this.colX.ReadOnly = true;
|
||||
this.colX.Width = 75;
|
||||
//
|
||||
// colY
|
||||
//
|
||||
this.colY.DataPropertyName = "Y";
|
||||
dataGridViewCellStyle4.Format = "N2";
|
||||
dataGridViewCellStyle4.NullValue = null;
|
||||
this.colY.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.colY.HeaderText = "Y(米)";
|
||||
this.colY.MinimumWidth = 8;
|
||||
this.colY.Name = "colY";
|
||||
this.colY.ReadOnly = true;
|
||||
this.colY.Width = 75;
|
||||
//
|
||||
// colW
|
||||
//
|
||||
this.colW.HeaderText = "宽(mm)";
|
||||
this.colW.MinimumWidth = 8;
|
||||
this.colW.Name = "colW";
|
||||
this.colW.Width = 75;
|
||||
//
|
||||
// colH
|
||||
//
|
||||
this.colH.HeaderText = "高(mm)";
|
||||
this.colH.MinimumWidth = 8;
|
||||
this.colH.Name = "colH";
|
||||
this.colH.Width = 75;
|
||||
//
|
||||
// colArea
|
||||
//
|
||||
dataGridViewCellStyle5.Format = "N2";
|
||||
dataGridViewCellStyle5.NullValue = null;
|
||||
this.colArea.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.colArea.HeaderText = "面积(mm²)";
|
||||
this.colArea.MinimumWidth = 8;
|
||||
this.colArea.Name = "colArea";
|
||||
this.colArea.ReadOnly = true;
|
||||
this.colArea.Width = 95;
|
||||
//
|
||||
// colZXD
|
||||
//
|
||||
this.colZXD.DataPropertyName = "ZXD";
|
||||
this.colZXD.HeaderText = "置信度";
|
||||
this.colZXD.MinimumWidth = 8;
|
||||
this.colZXD.Name = "colZXD";
|
||||
this.colZXD.ReadOnly = true;
|
||||
this.colZXD.Width = 67;
|
||||
//
|
||||
// colTarget
|
||||
//
|
||||
this.colTarget.DataPropertyName = "Contrast";
|
||||
this.colTarget.HeaderText = "对比度";
|
||||
this.colTarget.MinimumWidth = 8;
|
||||
this.colTarget.Name = "colTarget";
|
||||
this.colTarget.ReadOnly = true;
|
||||
this.colTarget.Width = 67;
|
||||
//
|
||||
// uiMiniPagination1
|
||||
//
|
||||
this.uiMiniPagination1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
@ -1209,107 +1311,6 @@
|
||||
this.uiLabel6.Text = "光源";
|
||||
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// colUid
|
||||
//
|
||||
this.colUid.HeaderText = "uid";
|
||||
this.colUid.MinimumWidth = 8;
|
||||
this.colUid.Name = "colUid";
|
||||
this.colUid.ReadOnly = true;
|
||||
this.colUid.Visible = false;
|
||||
this.colUid.Width = 150;
|
||||
//
|
||||
// colCode
|
||||
//
|
||||
this.colCode.HeaderText = "Code";
|
||||
this.colCode.MinimumWidth = 8;
|
||||
this.colCode.Name = "colCode";
|
||||
this.colCode.Visible = false;
|
||||
this.colCode.Width = 150;
|
||||
//
|
||||
// colIndex
|
||||
//
|
||||
this.colIndex.DataPropertyName = "Index";
|
||||
this.colIndex.HeaderText = "图号";
|
||||
this.colIndex.MinimumWidth = 8;
|
||||
this.colIndex.Name = "colIndex";
|
||||
this.colIndex.Width = 50;
|
||||
//
|
||||
// colDefectName
|
||||
//
|
||||
this.colDefectName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.colDefectName.DataPropertyName = "Name";
|
||||
this.colDefectName.HeaderText = "名称";
|
||||
this.colDefectName.MinimumWidth = 50;
|
||||
this.colDefectName.Name = "colDefectName";
|
||||
this.colDefectName.ReadOnly = true;
|
||||
//
|
||||
// colX
|
||||
//
|
||||
this.colX.DataPropertyName = "X";
|
||||
dataGridViewCellStyle3.Format = "N1";
|
||||
dataGridViewCellStyle3.NullValue = null;
|
||||
this.colX.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.colX.HeaderText = "X(cm)";
|
||||
this.colX.MinimumWidth = 8;
|
||||
this.colX.Name = "colX";
|
||||
this.colX.ReadOnly = true;
|
||||
this.colX.Width = 75;
|
||||
//
|
||||
// colY
|
||||
//
|
||||
this.colY.DataPropertyName = "Y";
|
||||
dataGridViewCellStyle4.Format = "N2";
|
||||
dataGridViewCellStyle4.NullValue = null;
|
||||
this.colY.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.colY.HeaderText = "Y(米)";
|
||||
this.colY.MinimumWidth = 8;
|
||||
this.colY.Name = "colY";
|
||||
this.colY.ReadOnly = true;
|
||||
this.colY.Width = 75;
|
||||
//
|
||||
// colW
|
||||
//
|
||||
this.colW.HeaderText = "宽(mm)";
|
||||
this.colW.MinimumWidth = 8;
|
||||
this.colW.Name = "colW";
|
||||
this.colW.Width = 75;
|
||||
//
|
||||
// colH
|
||||
//
|
||||
this.colH.HeaderText = "高(mm)";
|
||||
this.colH.MinimumWidth = 8;
|
||||
this.colH.Name = "colH";
|
||||
this.colH.Width = 75;
|
||||
//
|
||||
// colArea
|
||||
//
|
||||
dataGridViewCellStyle5.Format = "N2";
|
||||
dataGridViewCellStyle5.NullValue = null;
|
||||
this.colArea.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.colArea.HeaderText = "面积(mm²)";
|
||||
this.colArea.MinimumWidth = 8;
|
||||
this.colArea.Name = "colArea";
|
||||
this.colArea.ReadOnly = true;
|
||||
this.colArea.Width = 95;
|
||||
//
|
||||
// colZXD
|
||||
//
|
||||
this.colZXD.DataPropertyName = "ZXD";
|
||||
this.colZXD.HeaderText = "置信度";
|
||||
this.colZXD.MinimumWidth = 8;
|
||||
this.colZXD.Name = "colZXD";
|
||||
this.colZXD.ReadOnly = true;
|
||||
this.colZXD.Width = 67;
|
||||
//
|
||||
// colTarget
|
||||
//
|
||||
this.colTarget.DataPropertyName = "Contrast";
|
||||
this.colTarget.HeaderText = "对比度";
|
||||
this.colTarget.MinimumWidth = 8;
|
||||
this.colTarget.Name = "colTarget";
|
||||
this.colTarget.ReadOnly = true;
|
||||
this.colTarget.Width = 67;
|
||||
//
|
||||
// picDefectImage
|
||||
//
|
||||
this.picDefectImage.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
|
@ -1040,6 +1040,7 @@ namespace LeatherApp.Page
|
||||
if (Config.residueWarnningLen > 0 && curRecord.ErpLen > 0 && Config.residueWarnningLen >= curRecord.ErpLen - curRecord.Len)
|
||||
{
|
||||
AddTextEvent(DateTime.Now, $"告警{Thread.CurrentThread.ManagedThreadId}", $"已达剩余长度不足提醒!({curRecord.ErpLen - curRecord.Len}<={Config.residueWarnningLen})", WarningEnum.High);
|
||||
//warning(WarningEnum.Low, true);//暂停
|
||||
}
|
||||
errStep = 6;
|
||||
//
|
||||
@ -1579,6 +1580,7 @@ namespace LeatherApp.Page
|
||||
{
|
||||
if (!compareIOInput(CMDName.暂停按钮))//硬件急停
|
||||
{
|
||||
AddTextEvent(DateTime.Now, "启动", "下发IO指令...");
|
||||
this.devContainer.devIOCard.writeBitState(0, 0, true);
|
||||
this.startCommand();
|
||||
Task.Run(async () =>
|
||||
@ -1587,6 +1589,8 @@ namespace LeatherApp.Page
|
||||
this.devContainer.devIOCard.writeBitState(0, 0, false);
|
||||
});
|
||||
}
|
||||
else
|
||||
AddTextEvent(DateTime.Now, "启动", "设备急停!");
|
||||
}
|
||||
}
|
||||
private void btnPause_Click(object sender, EventArgs e)
|
||||
@ -1718,6 +1722,11 @@ namespace LeatherApp.Page
|
||||
this.btnStart.Enabled = true;
|
||||
this.btnEnd.Enabled = this.btnPause.Enabled = false;//这里有问题,应该是devPlc回调设置
|
||||
}
|
||||
else
|
||||
{
|
||||
AddTextEvent(DateTime.Now, "结束验布", "无数据结束验布!");
|
||||
_isDefect = false;
|
||||
}
|
||||
}
|
||||
private void lstboxLog_DrawItem(object sender, DrawItemEventArgs e)
|
||||
{
|
||||
|
626
LeatherProject/LeatherApp/Page/FReport.Designer.cs
generated
626
LeatherProject/LeatherApp/Page/FReport.Designer.cs
generated
@ -28,29 +28,15 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.uiPagination1 = new Sunny.UI.UIPagination();
|
||||
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
|
||||
this.uiPanel1 = new Sunny.UI.UIPanel();
|
||||
this.btnExport = new Sunny.UI.UISymbolButton();
|
||||
this.btnChar = new Sunny.UI.UISymbolButton();
|
||||
this.btnQuery = new Sunny.UI.UISymbolButton();
|
||||
this.uiLabel1 = new Sunny.UI.UILabel();
|
||||
this.uiDatePicker2 = new Sunny.UI.UIDatePicker();
|
||||
this.uiDatePicker1 = new Sunny.UI.UIDatePicker();
|
||||
this.uiLabel5 = new Sunny.UI.UILabel();
|
||||
this.txtReelId = new Sunny.UI.UITextBox();
|
||||
this.uiLabel4 = new Sunny.UI.UILabel();
|
||||
this.txtBatchId = new Sunny.UI.UITextBox();
|
||||
this.uiLabel3 = new Sunny.UI.UILabel();
|
||||
this.lineChartDefect = new Sunny.UI.UILineChart();
|
||||
this.lineChartFaceWidth = new Sunny.UI.UILineChart();
|
||||
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colBarCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@ -61,8 +47,22 @@
|
||||
this.colLen = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colDefectCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colGrade = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.uiLabel2 = new Sunny.UI.UILabel();
|
||||
this.uiPanel1 = new Sunny.UI.UIPanel();
|
||||
this.btnExport = new Sunny.UI.UISymbolButton();
|
||||
this.btnChar = new Sunny.UI.UISymbolButton();
|
||||
this.btnQuery = new Sunny.UI.UISymbolButton();
|
||||
this.uiLabel1 = new Sunny.UI.UILabel();
|
||||
this.uiDatePicker2 = new Sunny.UI.UIDatePicker();
|
||||
this.uiDatePicker1 = new Sunny.UI.UIDatePicker();
|
||||
this.uiLabel5 = new Sunny.UI.UILabel();
|
||||
this.txtReelId = new Sunny.UI.UITextBox();
|
||||
this.uiLabel4 = new Sunny.UI.UILabel();
|
||||
this.txtBarcode = new Sunny.UI.UITextBox();
|
||||
this.txtBatchId = new Sunny.UI.UITextBox();
|
||||
this.uiLabel2 = new Sunny.UI.UILabel();
|
||||
this.uiLabel3 = new Sunny.UI.UILabel();
|
||||
this.lineChartDefect = new Sunny.UI.UILineChart();
|
||||
this.lineChartFaceWidth = new Sunny.UI.UILineChart();
|
||||
((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).BeginInit();
|
||||
this.uiPanel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@ -85,21 +85,21 @@
|
||||
//
|
||||
// uiDataGridView1
|
||||
//
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
||||
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
|
||||
dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
||||
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22;
|
||||
this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.uiDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
||||
this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
||||
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle16.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
|
||||
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle23.ForeColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle23.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23;
|
||||
this.uiDataGridView1.ColumnHeadersHeight = 32;
|
||||
this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
||||
this.uiDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
@ -113,284 +113,41 @@
|
||||
this.colLen,
|
||||
this.colDefectCount,
|
||||
this.colGrade});
|
||||
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle19.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle19;
|
||||
dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle26.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle26.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle26.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle26;
|
||||
this.uiDataGridView1.EnableHeadersVisualStyles = false;
|
||||
this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
|
||||
this.uiDataGridView1.Location = new System.Drawing.Point(3, 83);
|
||||
this.uiDataGridView1.MultiSelect = false;
|
||||
this.uiDataGridView1.Name = "uiDataGridView1";
|
||||
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle20;
|
||||
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle27.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle27.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle27;
|
||||
this.uiDataGridView1.RowHeadersVisible = false;
|
||||
this.uiDataGridView1.RowHeadersWidth = 62;
|
||||
dataGridViewCellStyle21.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle21;
|
||||
dataGridViewCellStyle28.BackColor = System.Drawing.Color.White;
|
||||
dataGridViewCellStyle28.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
dataGridViewCellStyle28.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle28.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle28;
|
||||
this.uiDataGridView1.RowTemplate.Height = 30;
|
||||
this.uiDataGridView1.ScrollBarStyleInherited = false;
|
||||
this.uiDataGridView1.SelectedIndex = -1;
|
||||
this.uiDataGridView1.Size = new System.Drawing.Size(1492, 481);
|
||||
this.uiDataGridView1.TabIndex = 2;
|
||||
//
|
||||
// uiPanel1
|
||||
//
|
||||
this.uiPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.uiPanel1.Controls.Add(this.btnExport);
|
||||
this.uiPanel1.Controls.Add(this.btnChar);
|
||||
this.uiPanel1.Controls.Add(this.btnQuery);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel1);
|
||||
this.uiPanel1.Controls.Add(this.uiDatePicker2);
|
||||
this.uiPanel1.Controls.Add(this.uiDatePicker1);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel5);
|
||||
this.uiPanel1.Controls.Add(this.txtReelId);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel4);
|
||||
this.uiPanel1.Controls.Add(this.txtBarcode);
|
||||
this.uiPanel1.Controls.Add(this.txtBatchId);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel2);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel3);
|
||||
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiPanel1.Location = new System.Drawing.Point(3, 6);
|
||||
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiPanel1.Name = "uiPanel1";
|
||||
this.uiPanel1.Size = new System.Drawing.Size(1492, 69);
|
||||
this.uiPanel1.TabIndex = 4;
|
||||
this.uiPanel1.Text = null;
|
||||
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// btnExport
|
||||
//
|
||||
this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExport.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnExport.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
|
||||
this.btnExport.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
|
||||
this.btnExport.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(171)))), ((int)(((byte)(160)))));
|
||||
this.btnExport.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnExport.LightColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
|
||||
this.btnExport.Location = new System.Drawing.Point(1234, 8);
|
||||
this.btnExport.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
|
||||
this.btnExport.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(171)))), ((int)(((byte)(160)))));
|
||||
this.btnExport.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.Size = new System.Drawing.Size(100, 55);
|
||||
this.btnExport.Style = Sunny.UI.UIStyle.Custom;
|
||||
this.btnExport.StyleCustomMode = true;
|
||||
this.btnExport.Symbol = 61509;
|
||||
this.btnExport.SymbolSize = 26;
|
||||
this.btnExport.TabIndex = 10;
|
||||
this.btnExport.Text = "导出";
|
||||
this.btnExport.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
|
||||
//
|
||||
// btnChar
|
||||
//
|
||||
this.btnChar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnChar.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnChar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnChar.Location = new System.Drawing.Point(1340, 8);
|
||||
this.btnChar.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.btnChar.Name = "btnChar";
|
||||
this.btnChar.Size = new System.Drawing.Size(144, 55);
|
||||
this.btnChar.Symbol = 61568;
|
||||
this.btnChar.SymbolSize = 26;
|
||||
this.btnChar.TabIndex = 9;
|
||||
this.btnChar.Text = "统计图表";
|
||||
this.btnChar.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnChar.Click += new System.EventHandler(this.btnChar_Click);
|
||||
//
|
||||
// btnQuery
|
||||
//
|
||||
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnQuery.Location = new System.Drawing.Point(1117, 8);
|
||||
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.btnQuery.Name = "btnQuery";
|
||||
this.btnQuery.Size = new System.Drawing.Size(100, 55);
|
||||
this.btnQuery.Symbol = 61442;
|
||||
this.btnQuery.SymbolSize = 26;
|
||||
this.btnQuery.TabIndex = 9;
|
||||
this.btnQuery.Text = "查询";
|
||||
this.btnQuery.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
|
||||
//
|
||||
// uiLabel1
|
||||
//
|
||||
this.uiLabel1.AutoSize = true;
|
||||
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel1.Location = new System.Drawing.Point(945, 18);
|
||||
this.uiLabel1.Name = "uiLabel1";
|
||||
this.uiLabel1.Size = new System.Drawing.Size(24, 31);
|
||||
this.uiLabel1.TabIndex = 8;
|
||||
this.uiLabel1.Text = "-";
|
||||
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// uiDatePicker2
|
||||
//
|
||||
this.uiDatePicker2.FillColor = System.Drawing.Color.White;
|
||||
this.uiDatePicker2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiDatePicker2.Location = new System.Drawing.Point(971, 21);
|
||||
this.uiDatePicker2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiDatePicker2.MaxLength = 10;
|
||||
this.uiDatePicker2.MinimumSize = new System.Drawing.Size(63, 0);
|
||||
this.uiDatePicker2.Name = "uiDatePicker2";
|
||||
this.uiDatePicker2.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
|
||||
this.uiDatePicker2.Size = new System.Drawing.Size(139, 29);
|
||||
this.uiDatePicker2.SymbolDropDown = 61555;
|
||||
this.uiDatePicker2.SymbolNormal = 61555;
|
||||
this.uiDatePicker2.TabIndex = 6;
|
||||
this.uiDatePicker2.Text = "2023-09-17";
|
||||
this.uiDatePicker2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.uiDatePicker2.Value = new System.DateTime(2023, 9, 17, 18, 54, 16, 519);
|
||||
this.uiDatePicker2.Watermark = "";
|
||||
//
|
||||
// uiDatePicker1
|
||||
//
|
||||
this.uiDatePicker1.FillColor = System.Drawing.Color.White;
|
||||
this.uiDatePicker1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiDatePicker1.Location = new System.Drawing.Point(804, 21);
|
||||
this.uiDatePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiDatePicker1.MaxLength = 10;
|
||||
this.uiDatePicker1.MinimumSize = new System.Drawing.Size(63, 0);
|
||||
this.uiDatePicker1.Name = "uiDatePicker1";
|
||||
this.uiDatePicker1.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
|
||||
this.uiDatePicker1.Size = new System.Drawing.Size(139, 29);
|
||||
this.uiDatePicker1.SymbolDropDown = 61555;
|
||||
this.uiDatePicker1.SymbolNormal = 61555;
|
||||
this.uiDatePicker1.TabIndex = 5;
|
||||
this.uiDatePicker1.Text = "2023-09-17";
|
||||
this.uiDatePicker1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.uiDatePicker1.Value = new System.DateTime(2023, 9, 17, 18, 54, 16, 519);
|
||||
this.uiDatePicker1.Watermark = "";
|
||||
//
|
||||
// uiLabel5
|
||||
//
|
||||
this.uiLabel5.AutoSize = true;
|
||||
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel5.Location = new System.Drawing.Point(736, 23);
|
||||
this.uiLabel5.Name = "uiLabel5";
|
||||
this.uiLabel5.Size = new System.Drawing.Size(62, 31);
|
||||
this.uiLabel5.TabIndex = 2;
|
||||
this.uiLabel5.Text = "日期";
|
||||
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// txtReelId
|
||||
//
|
||||
this.txtReelId.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
|
||||
this.txtReelId.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
this.txtReelId.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtReelId.Location = new System.Drawing.Point(562, 21);
|
||||
this.txtReelId.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtReelId.MinimumSize = new System.Drawing.Size(1, 16);
|
||||
this.txtReelId.Name = "txtReelId";
|
||||
this.txtReelId.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.txtReelId.ShowText = false;
|
||||
this.txtReelId.Size = new System.Drawing.Size(156, 29);
|
||||
this.txtReelId.TabIndex = 3;
|
||||
this.txtReelId.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.txtReelId.Watermark = "";
|
||||
//
|
||||
// uiLabel4
|
||||
//
|
||||
this.uiLabel4.AutoSize = true;
|
||||
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel4.Location = new System.Drawing.Point(496, 23);
|
||||
this.uiLabel4.Name = "uiLabel4";
|
||||
this.uiLabel4.Size = new System.Drawing.Size(62, 31);
|
||||
this.uiLabel4.TabIndex = 3;
|
||||
this.uiLabel4.Text = "卷号";
|
||||
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// txtBatchId
|
||||
//
|
||||
this.txtBatchId.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
|
||||
this.txtBatchId.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
this.txtBatchId.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtBatchId.Location = new System.Drawing.Point(320, 21);
|
||||
this.txtBatchId.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtBatchId.MinimumSize = new System.Drawing.Size(1, 16);
|
||||
this.txtBatchId.Name = "txtBatchId";
|
||||
this.txtBatchId.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.txtBatchId.ShowText = false;
|
||||
this.txtBatchId.Size = new System.Drawing.Size(156, 29);
|
||||
this.txtBatchId.TabIndex = 2;
|
||||
this.txtBatchId.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.txtBatchId.Watermark = "";
|
||||
//
|
||||
// uiLabel3
|
||||
//
|
||||
this.uiLabel3.AutoSize = true;
|
||||
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel3.Location = new System.Drawing.Point(255, 23);
|
||||
this.uiLabel3.Name = "uiLabel3";
|
||||
this.uiLabel3.Size = new System.Drawing.Size(62, 31);
|
||||
this.uiLabel3.TabIndex = 4;
|
||||
this.uiLabel3.Text = "批号";
|
||||
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// lineChartDefect
|
||||
//
|
||||
this.lineChartDefect.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lineChartDefect.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
|
||||
this.lineChartDefect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartDefect.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartDefect.Location = new System.Drawing.Point(12, 14);
|
||||
this.lineChartDefect.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.lineChartDefect.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
|
||||
this.lineChartDefect.Name = "lineChartDefect";
|
||||
this.lineChartDefect.Radius = 0;
|
||||
this.lineChartDefect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
||||
this.lineChartDefect.Size = new System.Drawing.Size(375, 533);
|
||||
this.lineChartDefect.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartDefect.TabIndex = 5;
|
||||
this.lineChartDefect.Visible = false;
|
||||
//
|
||||
// lineChartFaceWidth
|
||||
//
|
||||
this.lineChartFaceWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lineChartFaceWidth.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
|
||||
this.lineChartFaceWidth.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartFaceWidth.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartFaceWidth.Location = new System.Drawing.Point(410, 216);
|
||||
this.lineChartFaceWidth.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.lineChartFaceWidth.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
|
||||
this.lineChartFaceWidth.Name = "lineChartFaceWidth";
|
||||
this.lineChartFaceWidth.Radius = 0;
|
||||
this.lineChartFaceWidth.Size = new System.Drawing.Size(971, 281);
|
||||
this.lineChartFaceWidth.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartFaceWidth.TabIndex = 6;
|
||||
this.lineChartFaceWidth.TouchPressClick = true;
|
||||
//
|
||||
// colId
|
||||
//
|
||||
this.colId.DataPropertyName = "Id";
|
||||
@ -403,9 +160,9 @@
|
||||
// colCreateTime
|
||||
//
|
||||
this.colCreateTime.DataPropertyName = "CreateTime";
|
||||
dataGridViewCellStyle17.Format = "f";
|
||||
dataGridViewCellStyle17.NullValue = null;
|
||||
this.colCreateTime.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
dataGridViewCellStyle24.Format = "f";
|
||||
dataGridViewCellStyle24.NullValue = null;
|
||||
this.colCreateTime.DefaultCellStyle = dataGridViewCellStyle24;
|
||||
this.colCreateTime.HeaderText = "检验日期";
|
||||
this.colCreateTime.MinimumWidth = 8;
|
||||
this.colCreateTime.Name = "colCreateTime";
|
||||
@ -477,8 +234,8 @@
|
||||
//
|
||||
// colGrade
|
||||
//
|
||||
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colGrade.DefaultCellStyle = dataGridViewCellStyle18;
|
||||
dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colGrade.DefaultCellStyle = dataGridViewCellStyle25;
|
||||
this.colGrade.HeaderText = "等级";
|
||||
this.colGrade.MinimumWidth = 8;
|
||||
this.colGrade.Name = "colGrade";
|
||||
@ -487,17 +244,183 @@
|
||||
this.colGrade.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.colGrade.Width = 150;
|
||||
//
|
||||
// uiLabel2
|
||||
// uiPanel1
|
||||
//
|
||||
this.uiLabel2.AutoSize = true;
|
||||
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel2.Location = new System.Drawing.Point(9, 23);
|
||||
this.uiLabel2.Name = "uiLabel2";
|
||||
this.uiLabel2.Size = new System.Drawing.Size(62, 31);
|
||||
this.uiLabel2.TabIndex = 4;
|
||||
this.uiLabel2.Text = "条码";
|
||||
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.uiPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.uiPanel1.Controls.Add(this.btnExport);
|
||||
this.uiPanel1.Controls.Add(this.btnChar);
|
||||
this.uiPanel1.Controls.Add(this.btnQuery);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel1);
|
||||
this.uiPanel1.Controls.Add(this.uiDatePicker2);
|
||||
this.uiPanel1.Controls.Add(this.uiDatePicker1);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel5);
|
||||
this.uiPanel1.Controls.Add(this.txtReelId);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel4);
|
||||
this.uiPanel1.Controls.Add(this.txtBarcode);
|
||||
this.uiPanel1.Controls.Add(this.txtBatchId);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel2);
|
||||
this.uiPanel1.Controls.Add(this.uiLabel3);
|
||||
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiPanel1.Location = new System.Drawing.Point(3, 6);
|
||||
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.uiPanel1.Name = "uiPanel1";
|
||||
this.uiPanel1.Size = new System.Drawing.Size(1492, 69);
|
||||
this.uiPanel1.TabIndex = 4;
|
||||
this.uiPanel1.Text = null;
|
||||
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// btnExport
|
||||
//
|
||||
this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnExport.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnExport.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
|
||||
this.btnExport.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
|
||||
this.btnExport.FillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(171)))), ((int)(((byte)(160)))));
|
||||
this.btnExport.FillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.FillSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnExport.LightColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(248)))), ((int)(((byte)(248)))));
|
||||
this.btnExport.Location = new System.Drawing.Point(1234, 8);
|
||||
this.btnExport.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.btnExport.Name = "btnExport";
|
||||
this.btnExport.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(150)))), ((int)(((byte)(136)))));
|
||||
this.btnExport.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(171)))), ((int)(((byte)(160)))));
|
||||
this.btnExport.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(109)))));
|
||||
this.btnExport.Size = new System.Drawing.Size(100, 55);
|
||||
this.btnExport.Style = Sunny.UI.UIStyle.Custom;
|
||||
this.btnExport.StyleCustomMode = true;
|
||||
this.btnExport.Symbol = 61509;
|
||||
this.btnExport.SymbolSize = 26;
|
||||
this.btnExport.TabIndex = 10;
|
||||
this.btnExport.Text = "导出";
|
||||
this.btnExport.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
|
||||
//
|
||||
// btnChar
|
||||
//
|
||||
this.btnChar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnChar.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnChar.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnChar.Location = new System.Drawing.Point(1340, 8);
|
||||
this.btnChar.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.btnChar.Name = "btnChar";
|
||||
this.btnChar.Size = new System.Drawing.Size(144, 55);
|
||||
this.btnChar.Symbol = 61568;
|
||||
this.btnChar.SymbolSize = 26;
|
||||
this.btnChar.TabIndex = 9;
|
||||
this.btnChar.Text = "统计图表";
|
||||
this.btnChar.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnChar.Visible = false;
|
||||
this.btnChar.Click += new System.EventHandler(this.btnChar_Click);
|
||||
//
|
||||
// btnQuery
|
||||
//
|
||||
this.btnQuery.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnQuery.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnQuery.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnQuery.Location = new System.Drawing.Point(1117, 8);
|
||||
this.btnQuery.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.btnQuery.Name = "btnQuery";
|
||||
this.btnQuery.Size = new System.Drawing.Size(100, 55);
|
||||
this.btnQuery.Symbol = 61442;
|
||||
this.btnQuery.SymbolSize = 26;
|
||||
this.btnQuery.TabIndex = 9;
|
||||
this.btnQuery.Text = "查询";
|
||||
this.btnQuery.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
|
||||
//
|
||||
// uiLabel1
|
||||
//
|
||||
this.uiLabel1.AutoSize = true;
|
||||
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel1.Location = new System.Drawing.Point(945, 18);
|
||||
this.uiLabel1.Name = "uiLabel1";
|
||||
this.uiLabel1.Size = new System.Drawing.Size(17, 21);
|
||||
this.uiLabel1.TabIndex = 8;
|
||||
this.uiLabel1.Text = "-";
|
||||
this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// uiDatePicker2
|
||||
//
|
||||
this.uiDatePicker2.FillColor = System.Drawing.Color.White;
|
||||
this.uiDatePicker2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiDatePicker2.Location = new System.Drawing.Point(971, 21);
|
||||
this.uiDatePicker2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiDatePicker2.MaxLength = 10;
|
||||
this.uiDatePicker2.MinimumSize = new System.Drawing.Size(63, 0);
|
||||
this.uiDatePicker2.Name = "uiDatePicker2";
|
||||
this.uiDatePicker2.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
|
||||
this.uiDatePicker2.Size = new System.Drawing.Size(139, 29);
|
||||
this.uiDatePicker2.SymbolDropDown = 61555;
|
||||
this.uiDatePicker2.SymbolNormal = 61555;
|
||||
this.uiDatePicker2.TabIndex = 6;
|
||||
this.uiDatePicker2.Text = "2023-09-17";
|
||||
this.uiDatePicker2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.uiDatePicker2.Value = new System.DateTime(2023, 9, 17, 18, 54, 16, 519);
|
||||
this.uiDatePicker2.Watermark = "";
|
||||
//
|
||||
// uiDatePicker1
|
||||
//
|
||||
this.uiDatePicker1.FillColor = System.Drawing.Color.White;
|
||||
this.uiDatePicker1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiDatePicker1.Location = new System.Drawing.Point(804, 21);
|
||||
this.uiDatePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.uiDatePicker1.MaxLength = 10;
|
||||
this.uiDatePicker1.MinimumSize = new System.Drawing.Size(63, 0);
|
||||
this.uiDatePicker1.Name = "uiDatePicker1";
|
||||
this.uiDatePicker1.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
|
||||
this.uiDatePicker1.Size = new System.Drawing.Size(139, 29);
|
||||
this.uiDatePicker1.SymbolDropDown = 61555;
|
||||
this.uiDatePicker1.SymbolNormal = 61555;
|
||||
this.uiDatePicker1.TabIndex = 5;
|
||||
this.uiDatePicker1.Text = "2023-09-17";
|
||||
this.uiDatePicker1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.uiDatePicker1.Value = new System.DateTime(2023, 9, 17, 18, 54, 16, 519);
|
||||
this.uiDatePicker1.Watermark = "";
|
||||
//
|
||||
// uiLabel5
|
||||
//
|
||||
this.uiLabel5.AutoSize = true;
|
||||
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel5.Location = new System.Drawing.Point(736, 23);
|
||||
this.uiLabel5.Name = "uiLabel5";
|
||||
this.uiLabel5.Size = new System.Drawing.Size(42, 21);
|
||||
this.uiLabel5.TabIndex = 2;
|
||||
this.uiLabel5.Text = "日期";
|
||||
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// txtReelId
|
||||
//
|
||||
this.txtReelId.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
|
||||
this.txtReelId.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
this.txtReelId.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtReelId.Location = new System.Drawing.Point(562, 21);
|
||||
this.txtReelId.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtReelId.MinimumSize = new System.Drawing.Size(1, 16);
|
||||
this.txtReelId.Name = "txtReelId";
|
||||
this.txtReelId.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.txtReelId.ShowText = false;
|
||||
this.txtReelId.Size = new System.Drawing.Size(156, 29);
|
||||
this.txtReelId.TabIndex = 3;
|
||||
this.txtReelId.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.txtReelId.Watermark = "";
|
||||
//
|
||||
// uiLabel4
|
||||
//
|
||||
this.uiLabel4.AutoSize = true;
|
||||
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel4.Location = new System.Drawing.Point(496, 23);
|
||||
this.uiLabel4.Name = "uiLabel4";
|
||||
this.uiLabel4.Size = new System.Drawing.Size(42, 21);
|
||||
this.uiLabel4.TabIndex = 3;
|
||||
this.uiLabel4.Text = "卷号";
|
||||
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// txtBarcode
|
||||
//
|
||||
@ -515,6 +438,83 @@
|
||||
this.txtBarcode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.txtBarcode.Watermark = "";
|
||||
//
|
||||
// txtBatchId
|
||||
//
|
||||
this.txtBatchId.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
|
||||
this.txtBatchId.Cursor = System.Windows.Forms.Cursors.IBeam;
|
||||
this.txtBatchId.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.txtBatchId.Location = new System.Drawing.Point(320, 21);
|
||||
this.txtBatchId.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtBatchId.MinimumSize = new System.Drawing.Size(1, 16);
|
||||
this.txtBatchId.Name = "txtBatchId";
|
||||
this.txtBatchId.Padding = new System.Windows.Forms.Padding(5);
|
||||
this.txtBatchId.ShowText = false;
|
||||
this.txtBatchId.Size = new System.Drawing.Size(156, 29);
|
||||
this.txtBatchId.TabIndex = 2;
|
||||
this.txtBatchId.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.txtBatchId.Watermark = "";
|
||||
//
|
||||
// uiLabel2
|
||||
//
|
||||
this.uiLabel2.AutoSize = true;
|
||||
this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel2.Location = new System.Drawing.Point(9, 23);
|
||||
this.uiLabel2.Name = "uiLabel2";
|
||||
this.uiLabel2.Size = new System.Drawing.Size(42, 21);
|
||||
this.uiLabel2.TabIndex = 4;
|
||||
this.uiLabel2.Text = "条码";
|
||||
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// uiLabel3
|
||||
//
|
||||
this.uiLabel3.AutoSize = true;
|
||||
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
||||
this.uiLabel3.Location = new System.Drawing.Point(255, 23);
|
||||
this.uiLabel3.Name = "uiLabel3";
|
||||
this.uiLabel3.Size = new System.Drawing.Size(42, 21);
|
||||
this.uiLabel3.TabIndex = 4;
|
||||
this.uiLabel3.Text = "批号";
|
||||
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// lineChartDefect
|
||||
//
|
||||
this.lineChartDefect.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lineChartDefect.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
|
||||
this.lineChartDefect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartDefect.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartDefect.Location = new System.Drawing.Point(12, 14);
|
||||
this.lineChartDefect.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.lineChartDefect.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
|
||||
this.lineChartDefect.Name = "lineChartDefect";
|
||||
this.lineChartDefect.Radius = 0;
|
||||
this.lineChartDefect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
|
||||
this.lineChartDefect.Size = new System.Drawing.Size(375, 533);
|
||||
this.lineChartDefect.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartDefect.TabIndex = 5;
|
||||
this.lineChartDefect.Visible = false;
|
||||
//
|
||||
// lineChartFaceWidth
|
||||
//
|
||||
this.lineChartFaceWidth.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lineChartFaceWidth.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
|
||||
this.lineChartFaceWidth.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartFaceWidth.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartFaceWidth.Location = new System.Drawing.Point(410, 216);
|
||||
this.lineChartFaceWidth.MinimumSize = new System.Drawing.Size(1, 1);
|
||||
this.lineChartFaceWidth.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
|
||||
this.lineChartFaceWidth.Name = "lineChartFaceWidth";
|
||||
this.lineChartFaceWidth.Radius = 0;
|
||||
this.lineChartFaceWidth.Size = new System.Drawing.Size(971, 281);
|
||||
this.lineChartFaceWidth.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lineChartFaceWidth.TabIndex = 6;
|
||||
this.lineChartFaceWidth.TouchPressClick = true;
|
||||
//
|
||||
// FReport
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@ -522,8 +522,8 @@
|
||||
this.Controls.Add(this.uiPanel1);
|
||||
this.Controls.Add(this.uiPagination1);
|
||||
this.Controls.Add(this.uiDataGridView1);
|
||||
this.Controls.Add(this.lineChartDefect);
|
||||
this.Controls.Add(this.lineChartFaceWidth);
|
||||
this.Controls.Add(this.lineChartDefect);
|
||||
this.Name = "FReport";
|
||||
this.PageIndex = 2;
|
||||
((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).EndInit();
|
||||
|
@ -149,9 +149,12 @@ namespace LeatherApp.Page
|
||||
this.reDrawDefectPoints(record.DefectInfoList, new double[] { 0, Math.Round(record.FaceWidthMax + 0.005f, 2) }, new double[] { 0, len });
|
||||
//绘图2
|
||||
//var points = Array.ConvertAll(record.FaceWidthListStr.Split(new[] { ',', }, StringSplitOptions.RemoveEmptyEntries),Double.Parse).ToList();
|
||||
//reDrawFaceWidth(record.FacePointList,
|
||||
// new double[] { 0, Math.Round(len + 0.005f, 2) },
|
||||
// new double[] { record.FaceWidthMin, Math.Round(record.FaceWidthMax + 0.005f, 2) });
|
||||
reDrawFaceWidth(record.FacePointList,
|
||||
new double[] { 0, Math.Round(len + 0.005f, 2) },
|
||||
new double[] { record.FaceWidthMin, Math.Round(record.FaceWidthMax + 0.005f, 2) });
|
||||
new double[] { 130, 160 });
|
||||
|
||||
//
|
||||
foreach (var item in list) {
|
||||
@ -545,16 +548,16 @@ namespace LeatherApp.Page
|
||||
case "Y(米)":
|
||||
temp_row6_cell.Value = ProductDefects.DefectDetail[i].Y;
|
||||
break;
|
||||
case "宽(cm)":
|
||||
case "宽(mm)":
|
||||
temp_row6_cell.Value = ProductDefects.DefectDetail[i].Width;
|
||||
break;
|
||||
case "高(cm)":
|
||||
case "高(mm)":
|
||||
temp_row6_cell.Value = ProductDefects.DefectDetail[i].Height;
|
||||
break;
|
||||
case "置信度":
|
||||
temp_row6_cell.Value = ProductDefects.DefectDetail[i].ZXD;
|
||||
break;
|
||||
case "面积(cm^2)":
|
||||
case "面积(mm^2)":
|
||||
temp_row6_cell.Value = ProductDefects.DefectDetail[i].Area;
|
||||
break;
|
||||
case "对比度":
|
||||
|
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.2.5")]
|
||||
[assembly: AssemblyFileVersion("1.0.2.5")]
|
||||
[assembly: AssemblyVersion("1.0.2.6")]
|
||||
[assembly: AssemblyFileVersion("1.0.2.6")]
|
||||
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using DocumentFormat.OpenXml.Vml;
|
||||
using OpenCvSharp;
|
||||
namespace LeatherApp.Utils
|
||||
{
|
||||
@ -12,9 +13,77 @@ namespace LeatherApp.Utils
|
||||
{
|
||||
OpenCvSharp.Size dsize = new OpenCvSharp.Size(width, height);
|
||||
Mat mat2 = new Mat();
|
||||
Cv2.Resize(mat, mat2, dsize);
|
||||
//Cv2.Resize(mat, mat2, dsize);
|
||||
ResizeUniform(mat, dsize, out mat2);
|
||||
return mat2;
|
||||
}
|
||||
public static int ResizeUniform(Mat src, Size dst_size, out Mat dst)
|
||||
{
|
||||
int w = src.Cols;
|
||||
int h = src.Rows;
|
||||
int dst_w = dst_size.Width;
|
||||
int dst_h = dst_size.Height;
|
||||
//std::cout << "src: (" << h << ", " << w << ")" << std::endl;
|
||||
dst = new Mat(dst_h, dst_w, MatType.CV_8UC3, new Scalar(114, 114, 114));
|
||||
|
||||
float[] ratio = new float[2];
|
||||
float ratio_src = w * 1.0f / h;
|
||||
float ratio_dst = dst_w * 1.0f / dst_h;
|
||||
|
||||
int tmp_w = 0;
|
||||
int tmp_h = 0;
|
||||
if (ratio_src > ratio_dst)
|
||||
{
|
||||
tmp_w = dst_w;
|
||||
tmp_h = (int)(dst_w * 1.0f / w) * h;
|
||||
|
||||
ratio[0] = (float)w / (float)tmp_w;
|
||||
ratio[1] = (float)h / (float)tmp_h;
|
||||
}
|
||||
else if (ratio_src < ratio_dst)
|
||||
{
|
||||
tmp_h = dst_h;
|
||||
tmp_w = (int)((dst_h * 1.0f / h) * w);
|
||||
|
||||
ratio[0] = (float)w / (float)tmp_w;
|
||||
ratio[1] = (float)h / (float)tmp_h;
|
||||
}
|
||||
else
|
||||
{
|
||||
Cv2.Resize(src, dst, dst_size);
|
||||
|
||||
ratio[0] = (float)w / (float)tmp_w;
|
||||
ratio[1] = (float)h / (float)tmp_h;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//std::cout << "tmp: (" << tmp_h << ", " << tmp_w << ")" << std::endl;
|
||||
Mat tmp = new Mat();
|
||||
Cv2.Resize(src, tmp, new Size(tmp_w, tmp_h));
|
||||
|
||||
unsafe
|
||||
{
|
||||
if (tmp_w != dst_w)
|
||||
{ //高对齐,宽没对齐
|
||||
int index_w = (int)((dst_w - tmp_w) / 2.0);
|
||||
//std::cout << "index_w: " << index_w << std::endl;
|
||||
for (int i = 0; i < dst_h; i++)
|
||||
{
|
||||
Buffer.MemoryCopy(IntPtr.Add(tmp.Data, i * tmp_w * 3).ToPointer(), IntPtr.Add(dst.Data, i * dst_w * 3 + index_w * 3).ToPointer(), tmp_w * 3, tmp_w * 3);
|
||||
}
|
||||
}
|
||||
else if (tmp_h != dst_h)
|
||||
{ //宽对齐, 高没有对齐
|
||||
int index_h = (int)((dst_h - tmp_h) / 2.0);
|
||||
//std::cout << "index_h: " << index_h << std::endl;
|
||||
Buffer.MemoryCopy(tmp.Data.ToPointer(), IntPtr.Add(dst.Data, index_h * dst_w * 3).ToPointer(), tmp_w * tmp_h * 3, tmp_w * tmp_h * 3);
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static Mat CreateLetterbox(Mat mat, OpenCvSharp.Size sz, Scalar color, out float ratio, out OpenCvSharp.Point diff, out OpenCvSharp.Point diff2, bool auto = true, bool scaleFill = false, bool scaleup = true)
|
||||
{
|
||||
@ -288,6 +357,15 @@ namespace LeatherApp.Utils
|
||||
}
|
||||
public static Mat getMaxInsetRect2(Mat mat_rgb,bool isLeft,int marginHoleWidth,out int marginWidth)
|
||||
{
|
||||
int bian = 3500;
|
||||
Rect Roi;
|
||||
if (!isLeft)
|
||||
Roi = new Rect(mat_rgb.Width - bian, 0, bian, mat_rgb.Height);
|
||||
else
|
||||
Roi = new Rect(0, 0, bian, mat_rgb.Height);
|
||||
int type = isLeft ? 1 : 0;
|
||||
int len = EdgeClipping2(mat_rgb, type, Roi, isLeft);
|
||||
#if false
|
||||
//Mat mat_rgb = new Mat("E:\\CPL\\测试代码\\边缘检测\\test\\test\\test\\img\\19.bmp");
|
||||
Mat image_gray = new Mat();
|
||||
Cv2.CvtColor(mat_rgb, image_gray, ColorConversionCodes.BGR2GRAY);
|
||||
@ -336,10 +414,12 @@ namespace LeatherApp.Utils
|
||||
total[i] = (length_t);
|
||||
API.OutputDebugString($"getMaxInsetRect2: 【{i + 1}】{length_t}={num_255}|{width}");
|
||||
}
|
||||
|
||||
// 取平均值作为宽度
|
||||
int length = (int)total.Average();
|
||||
marginWidth = width-length;
|
||||
#endif
|
||||
int length = (len > mat_rgb.Width / 2) ? len : mat_rgb.Width - len;
|
||||
marginWidth = mat_rgb.Width - length;
|
||||
// 判断数据是否异常,判断当前线段的宽度是否大于设定像素的偏差
|
||||
//int abnormal_pxl = 200;
|
||||
//for (int i = 0; i < num_rows; i++)
|
||||
@ -359,11 +439,373 @@ namespace LeatherApp.Utils
|
||||
//else
|
||||
// return cutImage(mat_rgb, 0, 0, width - decWidth, height);
|
||||
|
||||
API.OutputDebugString($"getMaxInsetRect2:margin={marginWidth},length={length}({marginHoleWidth}),isLeft={isLeft},mat_rgb={mat_rgb.Width}*{mat_rgb.Height},w={length - marginHoleWidth},h={height}");
|
||||
API.OutputDebugString($"getMaxInsetRect2:margin={marginWidth},length={length}({marginHoleWidth}),isLeft={isLeft},mat_rgb={mat_rgb.Width}*{mat_rgb.Height},w={length - marginHoleWidth},h={mat_rgb.Height}");
|
||||
if (isLeft)
|
||||
return cutImage(mat_rgb, width - length+ marginHoleWidth, 0, length- marginHoleWidth, height);
|
||||
return cutImage(mat_rgb, mat_rgb.Width - length+ marginHoleWidth, 0, length- marginHoleWidth, mat_rgb.Height);
|
||||
else
|
||||
return cutImage(mat_rgb, 0, 0, length- marginHoleWidth, height);
|
||||
return cutImage(mat_rgb, 0, 0, length- marginHoleWidth, mat_rgb.Height);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="image">图片</param>
|
||||
/// <param name="FindType">0:从左往右找边,1:从右往左找边</param>
|
||||
/// <param name="Roi">寻找区域</param>
|
||||
/// <returns></returns>
|
||||
public static int EdgeClipping(Mat image, int FindType, Rect Roi)
|
||||
{
|
||||
DateTimeOffset startTime = DateTimeOffset.Now;
|
||||
Mat mat_rgb = image.Clone(Roi);
|
||||
int height = mat_rgb.Rows;
|
||||
int width = mat_rgb.Cols;
|
||||
int sf = 10; //缩放比例
|
||||
int pix = 5; //获取均值区域长宽像素
|
||||
int pointNum = 15; //获取找遍点数
|
||||
|
||||
|
||||
//按比例缩放
|
||||
int sf_height = height / sf;
|
||||
int sf_width = width / sf;
|
||||
Cv2.Resize(mat_rgb, mat_rgb, new Size(sf_width, sf_height), 0, 0, InterpolationFlags.Linear);
|
||||
Mat himg = new Mat();
|
||||
himg = mat_rgb.Clone();
|
||||
DateTimeOffset endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("图片缩小(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
startTime = DateTimeOffset.Now;
|
||||
|
||||
//滤过去除多余噪声
|
||||
//Cv2.EdgePreservingFilter(himg, himg, EdgePreservingMethods.RecursFilter);
|
||||
//Cv2.PyrMeanShiftFiltering(himg, himg, 10, 500, 3);
|
||||
Cv2.PyrMeanShiftFiltering(himg, himg, 1, 2, 1);
|
||||
//himg.ImWrite("himg.jpg");
|
||||
endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("滤过去除多余噪声(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
|
||||
startTime = DateTimeOffset.Now;
|
||||
//转灰度图
|
||||
Mat image_gray = new Mat();
|
||||
Cv2.CvtColor(himg, image_gray, ColorConversionCodes.BGR2GRAY);
|
||||
//image_gray.ImWrite("image_gray.jpg");
|
||||
|
||||
//二值化
|
||||
Mat image_Otsu = new Mat();
|
||||
int hDis = sf_height / (pointNum + 2); //去除边缘两点
|
||||
#if false
|
||||
List<double> LeftAvg = new List<double>();
|
||||
List<double> RightAvg = new List<double>();
|
||||
//double thb = Cv2.Threshold(image_gray, image_Otsu, 0, 255, ThresholdTypes.Binary | ThresholdTypes.Otsu);
|
||||
#region 多点获取二值化均值
|
||||
for (int i = 0; i < pointNum; i++)
|
||||
{
|
||||
Rect roiLeft = new Rect(0, hDis + hDis * i, pix, pix);
|
||||
Mat current_segmentL = image_gray.Clone(roiLeft);
|
||||
//Scalar ttr = current_segmentL.Mean();
|
||||
LeftAvg.Add(current_segmentL.Mean().Val0);
|
||||
|
||||
Rect roiRight = new Rect(sf_width - pix, hDis + hDis * i, pix, pix);
|
||||
Mat current_segmentR = image_gray.Clone(roiRight);
|
||||
RightAvg.Add(current_segmentR.Mean().Val0);
|
||||
}
|
||||
double thres = (RightAvg.Average() + LeftAvg.Average())/2;
|
||||
#endregion
|
||||
#else
|
||||
double min, max;
|
||||
image_gray.MinMaxLoc(out min, out max);
|
||||
double thres = (min + max) / 2;
|
||||
#endif
|
||||
//Cv2.Threshold(image_gray, image_Otsu, 0, 255, ThresholdTypes.Otsu);
|
||||
double thb = Cv2.Threshold(image_gray, image_Otsu, thres, 255, ThresholdTypes.Binary);
|
||||
//image_Otsu.ImWrite("Otsu1.jpg");
|
||||
endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("灰度图二值化(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
startTime = DateTimeOffset.Now;
|
||||
|
||||
// 定义空数组保存结果
|
||||
int[] total = new int[pointNum];
|
||||
List<int> total_t = new List<int>();
|
||||
bool isLeft = FindType == 0 ? true : false;
|
||||
// 平均截取pointNum行数据并处理图像
|
||||
for (int i = 0; i < pointNum; i++)
|
||||
{
|
||||
// 截取当前行的图像
|
||||
Rect roi = new Rect(0, hDis + hDis * i, sf_width, 1);
|
||||
Mat current_segment = image_Otsu.Clone(roi);
|
||||
|
||||
#if false
|
||||
#region 预处理
|
||||
// 对当前行的图像进行平滑处理
|
||||
Mat smoothed_image2 = new Mat();
|
||||
Cv2.GaussianBlur(current_segment, smoothed_image2, new Size(5, 1), 0);
|
||||
|
||||
// 计算当前行的灰度直方图
|
||||
Mat absolute_histo2 = new Mat();
|
||||
|
||||
Cv2.CalcHist(new Mat[] { smoothed_image2 }, new int[] { 0 }, new Mat(), absolute_histo2, 1, new int[] { 256 }, new Rangef[] { new Rangef(0, 256) });
|
||||
Cv2.GaussianBlur(current_segment, smoothed_image2, new Size(9, 1), 0);
|
||||
|
||||
// 对图片进行分割
|
||||
//double otsu_threshold;
|
||||
//threshold(smoothed_image, smoothed_image, 0, 255, THRESH_BINARY + THRESH_OTSU, &otsu_threshold);
|
||||
double otsu_threshold2 = Cv2.Threshold(smoothed_image2, smoothed_image2, 0, 255, ThresholdTypes.Binary | ThresholdTypes.Otsu);
|
||||
|
||||
// 使用形态学操作进行孔洞填充
|
||||
Mat kernel3 = Cv2.GetStructuringElement(MorphShapes.Rect, new Size(5, 1));
|
||||
Mat filled_image3 = new Mat();
|
||||
Cv2.MorphologyEx(smoothed_image2, filled_image3, MorphTypes.Close, kernel3);
|
||||
#endregion
|
||||
#else
|
||||
Mat filled_image3 = current_segment.Clone();
|
||||
#endif
|
||||
#if true
|
||||
//从左到右判断边和从右到左判断边
|
||||
int numX = 0;
|
||||
byte tempVal = 0;
|
||||
if (isLeft)
|
||||
{
|
||||
tempVal = filled_image3.At<byte>(0, 0);
|
||||
for (int j = 0; j < filled_image3.Cols; j++)
|
||||
{
|
||||
if (filled_image3.At<byte>(0, j) != tempVal)
|
||||
{
|
||||
numX = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
tempVal = filled_image3.At<byte>(0, filled_image3.Cols - 1);
|
||||
for (int j = filled_image3.Cols - 1; j >= 0; j--)
|
||||
{
|
||||
if (filled_image3.At<byte>(0, j) != tempVal)
|
||||
{
|
||||
numX = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
int numX = Cv2.CountNonZero(filled_image3);
|
||||
#endif
|
||||
//int length_t = (numX > (sf_width / 2)) ? numX :sf_width - numX;
|
||||
int length_t = numX;
|
||||
total[i] = (length_t);
|
||||
if (length_t > 0)
|
||||
total_t.Add(length_t);
|
||||
}
|
||||
|
||||
|
||||
// 取平均值作为宽度
|
||||
int length = (int)total_t.Average();
|
||||
|
||||
endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("计算边(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
|
||||
// 判断数据是否异常,判断当前线段的宽度是否大于设定像素的偏差
|
||||
//int abnormal_pxl = 100 / 4;
|
||||
//for (int i = 0; i < pointNum; i++)
|
||||
//{
|
||||
// if (Math.Abs(total[i] - length) > abnormal_pxl)
|
||||
// Console.WriteLine("数据异常!");
|
||||
// //出现数据异常,当段图片的宽度有问题
|
||||
//}
|
||||
|
||||
//乘上换算系数还原
|
||||
length = length * sf + Roi.X;
|
||||
return length;
|
||||
}
|
||||
|
||||
public static int EdgeClipping2(Mat image, int FindType, Rect Roi, bool IsLeft)
|
||||
{
|
||||
DateTimeOffset startTime = DateTimeOffset.Now;
|
||||
Mat mat_rgb = image.Clone(Roi);
|
||||
int height = mat_rgb.Rows;
|
||||
int width = mat_rgb.Cols;
|
||||
int sf = 10; //缩放比例
|
||||
int pix = 5; //获取均值区域长宽像素
|
||||
int pointNum = 15; //获取找遍点数
|
||||
int offsetGray = 5; //二值化偏差
|
||||
|
||||
//按比例缩放
|
||||
int sf_height = height / sf;
|
||||
int sf_width = width / sf;
|
||||
Cv2.Resize(mat_rgb, mat_rgb, new Size(sf_width, sf_height), 0, 0, InterpolationFlags.Linear);
|
||||
Mat himg = new Mat();
|
||||
himg = mat_rgb.Clone();
|
||||
DateTimeOffset endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("图片缩小(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
startTime = DateTimeOffset.Now;
|
||||
|
||||
//滤过去除多余噪声
|
||||
//Cv2.EdgePreservingFilter(himg, himg, EdgePreservingMethods.NormconvFilter);
|
||||
//Cv2.PyrMeanShiftFiltering(himg, himg, 1, 2, 1);
|
||||
Cv2.PyrMeanShiftFiltering(himg, himg, 10, 17, 2);
|
||||
//himg.ImWrite("himg.jpg");
|
||||
endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("滤过去除多余噪声(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
|
||||
startTime = DateTimeOffset.Now;
|
||||
//转灰度图
|
||||
Mat image_gray = new Mat();
|
||||
Cv2.CvtColor(himg, image_gray, ColorConversionCodes.BGR2GRAY);
|
||||
//image_gray.ImWrite("image_gray.jpg");
|
||||
|
||||
Mat image_Canny = new Mat();
|
||||
Cv2.Canny(image_gray, image_Canny, 32, 64);
|
||||
//image_Canny.ImWrite("image_Canny.jpg");
|
||||
|
||||
|
||||
//二值化
|
||||
Mat image_Otsu = new Mat();
|
||||
int hDis = sf_height / (pointNum + 2); //去除边缘两点
|
||||
#if false //二值算法
|
||||
List<double> LeftAvg = new List<double>();
|
||||
List<double> RightAvg = new List<double>();
|
||||
//double thb = Cv2.Threshold(image_gray, image_Otsu, 0, 255, ThresholdTypes.Binary | ThresholdTypes.Otsu);
|
||||
#region 多点获取二值化均值
|
||||
for (int i = 0; i < pointNum; i++)
|
||||
{
|
||||
Rect roiLeft = new Rect(0, hDis + hDis * i, pix, pix);
|
||||
Mat current_segmentL = image_gray.Clone(roiLeft);
|
||||
//Scalar ttr = current_segmentL.Mean();
|
||||
LeftAvg.Add(current_segmentL.Mean().Val0);
|
||||
|
||||
Rect roiRight = new Rect(sf_width - pix, hDis + hDis * i, pix, pix);
|
||||
Mat current_segmentR = image_gray.Clone(roiRight);
|
||||
RightAvg.Add(current_segmentR.Mean().Val0);
|
||||
}
|
||||
double thres = 0;
|
||||
if (IsLeft)
|
||||
{
|
||||
if (LeftAvg.Average() > RightAvg.Average())
|
||||
thres = RightAvg.Max() + offsetGray;
|
||||
else
|
||||
thres = RightAvg.Min() - offsetGray;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (LeftAvg.Average() > RightAvg.Average())
|
||||
thres = LeftAvg.Min() - offsetGray;
|
||||
else
|
||||
thres = LeftAvg.Max() + offsetGray;
|
||||
}
|
||||
//double thres = (RightAvg.Average() + )/2;
|
||||
#endregion
|
||||
#endif
|
||||
#if false
|
||||
double min, max;
|
||||
|
||||
image_gray.MinMaxLoc(out min, out max);
|
||||
double thres = (min + max) / 2;
|
||||
#endif
|
||||
|
||||
#if false //二值化图片
|
||||
//Cv2.Threshold(image_gray, image_Otsu, 0, 255, ThresholdTypes.Otsu);
|
||||
double thb = Cv2.Threshold(image_gray, image_Otsu, thres, 255, ThresholdTypes.Binary);
|
||||
image_Otsu.ImWrite("Otsu1.jpg");
|
||||
Cv2.MedianBlur(image_Otsu, image_Otsu, 21);
|
||||
image_Otsu.ImWrite("Otsu2.jpg");
|
||||
endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("灰度图二值化(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
startTime = DateTimeOffset.Now;
|
||||
#else
|
||||
image_Otsu = image_Canny;
|
||||
#endif
|
||||
// 定义空数组保存结果
|
||||
int[] total = new int[pointNum];
|
||||
List<int> total_t = new List<int>();
|
||||
bool isLeft = FindType == 0 ? true : false;
|
||||
// 平均截取pointNum行数据并处理图像
|
||||
for (int i = 0; i < pointNum; i++)
|
||||
{
|
||||
// 截取当前行的图像
|
||||
Rect roi = new Rect(0, hDis + hDis * i, sf_width, 1);
|
||||
Mat current_segment = image_Otsu.Clone(roi);
|
||||
|
||||
#if false
|
||||
#region 预处理
|
||||
// 对当前行的图像进行平滑处理
|
||||
Mat smoothed_image2 = new Mat();
|
||||
Cv2.GaussianBlur(current_segment, smoothed_image2, new Size(5, 1), 0);
|
||||
|
||||
// 计算当前行的灰度直方图
|
||||
Mat absolute_histo2 = new Mat();
|
||||
|
||||
Cv2.CalcHist(new Mat[] { smoothed_image2 }, new int[] { 0 }, new Mat(), absolute_histo2, 1, new int[] { 256 }, new Rangef[] { new Rangef(0, 256) });
|
||||
Cv2.GaussianBlur(current_segment, smoothed_image2, new Size(9, 1), 0);
|
||||
|
||||
// 对图片进行分割
|
||||
//double otsu_threshold;
|
||||
//threshold(smoothed_image, smoothed_image, 0, 255, THRESH_BINARY + THRESH_OTSU, &otsu_threshold);
|
||||
double otsu_threshold2 = Cv2.Threshold(smoothed_image2, smoothed_image2, 0, 255, ThresholdTypes.Binary | ThresholdTypes.Otsu);
|
||||
|
||||
// 使用形态学操作进行孔洞填充
|
||||
Mat kernel3 = Cv2.GetStructuringElement(MorphShapes.Rect, new Size(5, 1));
|
||||
Mat filled_image3 = new Mat();
|
||||
Cv2.MorphologyEx(smoothed_image2, filled_image3, MorphTypes.Close, kernel3);
|
||||
#endregion
|
||||
#else
|
||||
//Mat filled_image3 = current_segment.Clone();
|
||||
Mat filled_image3 = current_segment;
|
||||
#endif
|
||||
#if true
|
||||
//从左到右判断边和从右到左判断边
|
||||
int numX = 0;
|
||||
byte tempVal = 0;
|
||||
if (isLeft)
|
||||
{
|
||||
tempVal = filled_image3.At<byte>(0, 0);
|
||||
for (int j = 0; j < filled_image3.Cols; j++)
|
||||
{
|
||||
if (filled_image3.At<byte>(0, j) != tempVal)
|
||||
{
|
||||
numX = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
tempVal = filled_image3.At<byte>(0, filled_image3.Cols - 1);
|
||||
for (int j = filled_image3.Cols - 1; j >= 0; j--)
|
||||
{
|
||||
if (filled_image3.At<byte>(0, j) != tempVal)
|
||||
{
|
||||
numX = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#else
|
||||
int numX = Cv2.CountNonZero(filled_image3);
|
||||
#endif
|
||||
//int length_t = (numX > (sf_width / 2)) ? numX :sf_width - numX;
|
||||
int length_t = numX;
|
||||
total[i] = (length_t);
|
||||
if (length_t > 0)
|
||||
total_t.Add(length_t);
|
||||
}
|
||||
|
||||
|
||||
// 取平均值作为宽度
|
||||
int length = (int)total_t.Average();
|
||||
|
||||
endTime = DateTimeOffset.Now;
|
||||
Console.WriteLine("计算边(ms): " + (endTime - startTime).TotalMilliseconds.ToString("0.000"));
|
||||
|
||||
// 判断数据是否异常,判断当前线段的宽度是否大于设定像素的偏差
|
||||
//int abnormal_pxl = 100 / 4;
|
||||
//for (int i = 0; i < pointNum; i++)
|
||||
//{
|
||||
// if (Math.Abs(total[i] - length) > abnormal_pxl)
|
||||
// Console.WriteLine("数据异常!");
|
||||
// //出现数据异常,当段图片的宽度有问题
|
||||
//}
|
||||
|
||||
//乘上换算系数还原
|
||||
length = length * sf + Roi.X;
|
||||
return length;
|
||||
}
|
||||
private static Rect GetMaxInscribedRect(Mat src, List<Point> contour)
|
||||
{
|
||||
|
29053
LeatherProject/LeatherApp/bin/Debug/BouncyCastle.Cryptography.xml
Normal file
29053
LeatherProject/LeatherApp/bin/Debug/BouncyCastle.Cryptography.xml
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1630
LeatherProject/LeatherApp/bin/Debug/K4os.Compression.LZ4.Streams.xml
Normal file
1630
LeatherProject/LeatherApp/bin/Debug/K4os.Compression.LZ4.Streams.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -63,6 +63,14 @@
|
||||
Please note, it should be negative value.</param>
|
||||
<param name="length">Number of bytes to read.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Peek(System.Int32)">
|
||||
<summary>
|
||||
Peeks at previously decoded bytes. Please note, <paramref name="offset"/> should be
|
||||
negative number, pointing to bytes before current head.
|
||||
</summary>
|
||||
<param name="offset">Offset in source buffer relatively to current head.
|
||||
Please note, it should be negative value.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder">
|
||||
<summary>
|
||||
Interface of LZ4 encoder used by LZ4 streams.
|
||||
@ -96,21 +104,21 @@
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder">
|
||||
<summary>
|
||||
LZ4 decoder used with independent blocks mode. Plase note, that it will fail
|
||||
LZ4 decoder used with independent blocks mode. Please note, that it will fail
|
||||
if input data has been compressed with chained blocks
|
||||
(<see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/> and <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/>)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BlockSize">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BytesReady">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Decode(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -120,6 +128,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -163,6 +174,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -519,6 +533,32 @@
|
||||
<param name="acceleration">Acceleration.</param>
|
||||
<returns>Number of bytes actually written to target.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.BufferPool">
|
||||
<summary>
|
||||
Naive wrapper around ArrayPool. Makes calls if something should be pooled.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Compression.LZ4.Internal.BufferPool.MinPooledSize">
|
||||
<summary>Minimum size of the buffer that can be pooled.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>Allocate temporary buffer to store decompressed data.</summary>
|
||||
<param name="size">Minimum size of the buffer.</param>
|
||||
<param name="zero">Clear all data.</param>
|
||||
<returns>Allocated buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.IsPooled(System.Byte[])">
|
||||
<summary>
|
||||
Determines if buffer was pooled or not.
|
||||
The logic is quite simple: if buffer is smaller than 512 bytes are pooled.
|
||||
</summary>
|
||||
<param name="buffer">Buffer.</param>
|
||||
<returns><c>true</c> if buffer was pooled; <c>false</c> otherwise</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Free(System.Byte[])">
|
||||
<summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)"/></summary>
|
||||
<param name="buffer">Previously allocated buffer.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.Mem">
|
||||
<summary>Utility class with memory related functions.</summary>
|
||||
</member>
|
||||
@ -627,18 +667,12 @@
|
||||
<returns>Pointer to allocated block.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.Free(System.Void*)">
|
||||
<summary>
|
||||
Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.
|
||||
</summary>
|
||||
<param name="ptr"></param>
|
||||
<summary>Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.</summary>
|
||||
<param name="ptr">Pointer to allocated block.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.Int32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.UInt32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray``1(``0[])">
|
||||
<summary>Clones managed array to unmanaged one.
|
||||
Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
@ -702,6 +736,62 @@
|
||||
<param name="target">Target address.</param>
|
||||
<param name="source">Source address.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.PinnedMemory">
|
||||
<summary>
|
||||
Represents pinned memory.
|
||||
It either points to unmanaged memory or block of memory from shared array pool.
|
||||
When disposed, it handles it appropriately.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.MaxPooledSize">
|
||||
<summary>
|
||||
Maximum size of the buffer that can be pooled from shared array pool.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Pointer">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Span">
|
||||
<summary>Pointer to block of bytes as span.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Reference``1">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="memory">Pinned memory pointer.</param>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc``1(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory for one item from shared array pool.
|
||||
</summary>
|
||||
<param name="memory">PinnedMemory pointer.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<typeparam name="T">Type of item.</typeparam>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Clear">
|
||||
<summary>Fill allocated block of memory with zeros.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Free">
|
||||
<summary>
|
||||
Releases the memory.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.UnmanagedResources">
|
||||
<summary>
|
||||
Skeleton for class with unmanaged resources.
|
||||
@ -931,12 +1021,29 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte*,System.Int32,System.Byte*,System.Int32,System.Byte*,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
@ -947,6 +1054,19 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetOffset">Output buffer offset.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryOffset">Dictionary buffer offset.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.LZ4Level">
|
||||
<summary>Compression level.</summary>
|
||||
</member>
|
||||
@ -987,6 +1107,9 @@
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
@ -997,21 +1120,35 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],System.Int32,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceIndex">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="length">Length of input data.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Length of input data.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
@ -1023,8 +1160,14 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="index">Input buffer offset.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte})">
|
||||
@ -1032,11 +1175,37 @@
|
||||
<param name="source">Input buffer.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle``1(System.ReadOnlySpan{System.Byte},``0)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="source">The data to inspect.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(K4os.Compression.LZ4.PickleHeader@)">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="header">Decoded header.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="output">Where the decompressed data is written.</param>
|
||||
<remarks>
|
||||
You obtain the size of the output buffer by calling <see cref="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -46,6 +46,9 @@
|
||||
xxHash 32-bit.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Hash.xxHash.XXH32.State">
|
||||
<summary>Internal state of the algorithm.</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Hash.xxHash.XXH32.EmptyHash">
|
||||
<summary>Hash of empty buffer.</summary>
|
||||
</member>
|
||||
@ -55,6 +58,13 @@
|
||||
<param name="length">Length of buffer.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32,System.UInt32)">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
<param name="seed">Seed.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
@ -70,11 +80,22 @@
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.#ctor">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.#ctor(System.UInt32)">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Reset">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Reset(System.UInt32)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Void*,System.Int32)">
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
@ -100,11 +121,34 @@
|
||||
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
|
||||
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Reset(K4os.Hash.xxHash.XXH32.State@,System.UInt32)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="seed">Hash seed.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.Void*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Digest(K4os.Hash.xxHash.XXH32.State@)">
|
||||
<summary>Hash so far.</summary>
|
||||
<returns>Hash so far.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Hash.xxHash.XXH64">
|
||||
<summary>
|
||||
xxHash 64-bit.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Hash.xxHash.XXH64.State">
|
||||
<summary>Internal state of the algorithm.</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Hash.xxHash.XXH64.EmptyHash">
|
||||
<summary>Hash of empty buffer.</summary>
|
||||
</member>
|
||||
@ -114,6 +158,13 @@
|
||||
<param name="length">Length of buffer.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32,System.UInt64)">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
<param name="seed">Seed.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
@ -129,11 +180,22 @@
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.#ctor">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.#ctor(System.UInt64)">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Reset">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Reset(System.UInt64)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Void*,System.Int32)">
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
@ -159,5 +221,25 @@
|
||||
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
|
||||
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Reset(K4os.Hash.xxHash.XXH64.State@,System.UInt64)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="seed">Hash seed.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.Void*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Digest(K4os.Hash.xxHash.XXH64.State@)">
|
||||
<summary>Hash so far.</summary>
|
||||
<returns>Hash so far.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
File diff suppressed because it is too large
Load Diff
341
LeatherProject/LeatherApp/bin/Debug/System.IO.Pipelines.xml
Normal file
341
LeatherProject/LeatherApp/bin/Debug/System.IO.Pipelines.xml
Normal file
@ -0,0 +1,341 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.IO.Pipelines</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.IO.Pipelines.FlushResult">
|
||||
<summary>Result returned by <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> call.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.FlushResult.#ctor(System.Boolean,System.Boolean)">
|
||||
<summary>Initializes a new instance of <see cref="T:System.IO.Pipelines.FlushResult" /> struct setting the <see cref="P:System.IO.Pipelines.FlushResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.FlushResult.IsCompleted" /> flags.</summary>
|
||||
<param name="isCanceled">
|
||||
<see langword="true" /> to indicate the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.FlushResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeWriter.CancelPendingFlush" />; otherwise, <see langword="false" />.</param>
|
||||
<param name="isCompleted">
|
||||
<see langword="true" /> to indicate the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.FlushResult.IsCanceled">
|
||||
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.FlushResult.IsCompleted">
|
||||
<summary>Gets a value that indicates the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.IDuplexPipe">
|
||||
<summary>Defines a class that provides a duplex pipe from which data can be read from and written to.</summary>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.IDuplexPipe.Input">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeReader" /> half of the duplex pipe.</summary>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.IDuplexPipe.Output">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeWriter" /> half of the duplex pipe.</summary>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.Pipe">
|
||||
<summary>The default <see cref="T:System.IO.Pipelines.PipeWriter" /> and <see cref="T:System.IO.Pipelines.PipeReader" /> implementation.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.Pipe.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.Pipe" /> class using <see cref="P:System.IO.Pipelines.PipeOptions.Default" /> as options.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.Pipe.#ctor(System.IO.Pipelines.PipeOptions)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.Pipe" /> class with the specified options.</summary>
|
||||
<param name="options">The set of options for this pipe.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.Pipe.Reset">
|
||||
<summary>Resets the pipe.</summary>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.Pipe.Reader">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeReader" /> for this pipe.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeReader" /> instance for this pipe.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.Pipe.Writer">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeWriter" /> for this pipe.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeWriter" /> instance for this pipe.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeOptions">
|
||||
<summary>Represents a set of <see cref="T:System.IO.Pipelines.Pipe" /> options.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.IO.Pipelines.PipeScheduler,System.IO.Pipelines.PipeScheduler,System.Int64,System.Int64,System.Int32,System.Boolean)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.PipeOptions" /> class with the specified parameters.</summary>
|
||||
<param name="pool">The pool of memory blocks to be used for buffer management.</param>
|
||||
<param name="readerScheduler">The <see cref="T:System.IO.Pipelines.PipeScheduler" /> to be used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</param>
|
||||
<param name="writerScheduler">The <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</param>
|
||||
<param name="pauseWriterThreshold">The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> before <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking. A value of zero prevents <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> from ever blocking, effectively making the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> unlimited.</param>
|
||||
<param name="resumeWriterThreshold">The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</param>
|
||||
<param name="minimumSegmentSize">The minimum size of the segment requested from <paramref name="pool" />.</param>
|
||||
<param name="useSynchronizationContext">
|
||||
<see langword="true" /> if asynchronous continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on; <see langword="false" /> otherwise. This takes precedence over the schedulers specified in <see cref="P:System.IO.Pipelines.PipeOptions.ReaderScheduler" /> and <see cref="P:System.IO.Pipelines.PipeOptions.WriterScheduler" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.Default">
|
||||
<summary>Gets the default instance of <see cref="T:System.IO.Pipelines.PipeOptions" />.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeOptions" /> object initialized with default parameters.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.MinimumSegmentSize">
|
||||
<summary>Gets the minimum size of the segment requested from the <see cref="P:System.IO.Pipelines.PipeOptions.Pool" />.</summary>
|
||||
<returns>The minimum size of the segment requested from the <see cref="P:System.IO.Pipelines.PipeOptions.Pool" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.PauseWriterThreshold">
|
||||
<summary>Gets the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking.</summary>
|
||||
<returns>The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.Pool">
|
||||
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> object used for buffer management.</summary>
|
||||
<returns>A pool of memory blocks used for buffer management.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.ReaderScheduler">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> that is used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.ResumeWriterThreshold">
|
||||
<summary>Gets the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</summary>
|
||||
<returns>The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.UseSynchronizationContext">
|
||||
<summary>Gets a value that determines if asynchronous callbacks and continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on. This takes precedence over the schedulers specified in <see cref="P:System.IO.Pipelines.PipeOptions.ReaderScheduler" /> and <see cref="P:System.IO.Pipelines.PipeOptions.WriterScheduler" />.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if asynchronous callbacks and continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.WriterScheduler">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> object used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeReader">
|
||||
<summary>Defines a class that provides access to a read side of pipe.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.PipeReader" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition)">
|
||||
<summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed.</summary>
|
||||
<param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)">
|
||||
<summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed, read and examined.</summary>
|
||||
<param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
||||
<param name="examined">Marks the extent of the data that has been read and examined.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.AsStream(System.Boolean)">
|
||||
<summary>Returns a <see cref="T:System.IO.Stream" /> representation of the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="leaveOpen">An optional flag that indicates whether disposing the returned <see cref="T:System.IO.Stream" /> leaves <see cref="T:System.IO.Pipelines.PipeReader" /> open (<see langword="true" />) or completes <see cref="T:System.IO.Pipelines.PipeReader" /> (<see langword="false" />).</param>
|
||||
<returns>A stream that represents the <see cref="T:System.IO.Pipelines.PipeReader" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CancelPendingRead">
|
||||
<summary>Cancels to currently pending or if none is pending next call to <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" />, without completing the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.Complete(System.Exception)">
|
||||
<summary>Signals to the producer that the consumer is done reading.</summary>
|
||||
<param name="exception">Optional <see cref="T:System.Exception" /> indicating a failure that's causing the pipeline to complete.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CompleteAsync(System.Exception)">
|
||||
<summary>Marks the current pipe reader instance as being complete, meaning no more data will be read from it.</summary>
|
||||
<param name="exception">An optional exception that indicates the failure that caused the reader to complete.</param>
|
||||
<returns>A value task that represents the asynchronous complete operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CopyToAsync(System.IO.Pipelines.PipeWriter,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a specified buffer size and cancellation token.</summary>
|
||||
<param name="destination">The pipe writer to which the contents of the current stream will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CopyToAsync(System.IO.Stream,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified stream, using a specified cancellation token.</summary>
|
||||
<param name="destination">The stream to which the contents of the current stream will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.Create(System.IO.Stream,System.IO.Pipelines.StreamPipeReaderOptions)">
|
||||
<summary>Creates a <see cref="T:System.IO.Pipelines.PipeReader" /> wrapping the specified <see cref="T:System.IO.Stream" />.</summary>
|
||||
<param name="stream">The stream that the pipe reader will wrap.</param>
|
||||
<param name="readerOptions">The options to configure the pipe reader.</param>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeReader" /> that wraps the <see cref="T:System.IO.Stream" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.OnWriterCompleted(System.Action{System.Exception,System.Object},System.Object)">
|
||||
<summary>Registers a callback that executes when the <see cref="T:System.IO.Pipelines.PipeWriter" /> side of the pipe is completed.</summary>
|
||||
<param name="callback">The callback to register.</param>
|
||||
<param name="state">The state object to pass to <paramref name="callback" /> when it's invoked.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads a sequence of bytes from the current <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see langword="default" />.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> representing the asynchronous read operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.TryRead(System.IO.Pipelines.ReadResult@)">
|
||||
<summary>Attempts to synchronously read data the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="result">When this method returns <see langword="true" />, this value is set to a <see cref="T:System.IO.Pipelines.ReadResult" /> instance that represents the result of the read call; otherwise, this value is set to <see langword="default" />.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if data was available, or if the call was canceled or the writer was completed; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeScheduler">
|
||||
<summary>Abstraction for running <see cref="T:System.IO.Pipelines.PipeReader" /> and <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and continuations.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeScheduler.#ctor">
|
||||
<summary>Initializes new a <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeScheduler.Schedule(System.Action{System.Object},System.Object)">
|
||||
<summary>Requests <paramref name="action" /> to be run on scheduler with <paramref name="state" /> being passed in.</summary>
|
||||
<param name="action">The single-parameter action delegate to schedule.</param>
|
||||
<param name="state">The parameter to pass to the <paramref name="action" /> delegate.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeScheduler.Inline">
|
||||
<summary>The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that runs callbacks inline.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance that runs callbacks inline.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeScheduler.ThreadPool">
|
||||
<summary>The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that queues callbacks to the thread pool.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance that queues callbacks to the thread pool.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeWriter">
|
||||
<summary>Defines a class that provides a pipeline to which data can be written.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.#ctor">
|
||||
<summary>Initializes a new instance of the class.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)">
|
||||
<summary>Notifies the <see cref="T:System.IO.Pipelines.PipeWriter" /> that <paramref name="bytes" /> bytes were written to the output <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />. You must request a new buffer after calling <see cref="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)" /> to continue writing more data; you cannot write to a previously acquired buffer.</summary>
|
||||
<param name="bytes">The number of bytes written to the <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.AsStream(System.Boolean)">
|
||||
<summary>Returns a <see cref="T:System.IO.Stream" /> representation of the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
<param name="leaveOpen">An optional flag that indicates whether disposing the returned <see cref="T:System.IO.Stream" /> leaves <see cref="T:System.IO.Pipelines.PipeReader" /> open (<see langword="true" />) or completes <see cref="T:System.IO.Pipelines.PipeReader" /> (<see langword="false" />).</param>
|
||||
<returns>A stream that represents the <see cref="T:System.IO.Pipelines.PipeWriter" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.CancelPendingFlush">
|
||||
<summary>Cancels the pending <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation. If there is none, cancels next <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation, without completing the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.Complete(System.Exception)">
|
||||
<summary>Marks the <see cref="T:System.IO.Pipelines.PipeWriter" /> as being complete, meaning no more items will be written to it.</summary>
|
||||
<param name="exception">Optional <see cref="T:System.Exception" /> indicating a failure that's causing the pipeline to complete.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.CompleteAsync(System.Exception)">
|
||||
<summary>Marks the current pipe writer instance as being complete, meaning no more data will be written to it.</summary>
|
||||
<param name="exception">An optional exception that indicates the failure that caused the pipeline to complete.</param>
|
||||
<returns>A value task that represents the asynchronous complete operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.CopyFromAsync(System.IO.Stream,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the specified stream and writes them to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
<param name="source">The stream from which the contents will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.Create(System.IO.Stream,System.IO.Pipelines.StreamPipeWriterOptions)">
|
||||
<summary>Creates a <see cref="T:System.IO.Pipelines.PipeWriter" /> wrapping the specified <see cref="T:System.IO.Stream" />.</summary>
|
||||
<param name="stream">The stream that the pipe writer will wrap.</param>
|
||||
<param name="writerOptions">The options to configure the pipe writer.</param>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeWriter" /> that wraps the <see cref="T:System.IO.Stream" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)">
|
||||
<summary>Makes bytes written available to <see cref="T:System.IO.Pipelines.PipeReader" /> and runs <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> continuation.</summary>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents and wraps the asynchronous flush operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.GetMemory(System.Int32)">
|
||||
<summary>Returns a <see cref="T:System.Memory`1" /> to write to that is at least the requested size, as specified by the <paramref name="sizeHint" /> parameter.</summary>
|
||||
<param name="sizeHint">The minimum length of the returned <see cref="T:System.Memory`1" />. If 0, a non-empty memory buffer of arbitrary size is returned.</param>
|
||||
<exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
|
||||
<returns>A memory buffer of at least <paramref name="sizeHint" /> bytes. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer of arbitrary size.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.GetSpan(System.Int32)">
|
||||
<summary>Returns a <see cref="T:System.Span`1" /> to write to that is at least the requested size, as specified by the <paramref name="sizeHint" /> parameter.</summary>
|
||||
<param name="sizeHint">The minimum length of the returned <see cref="T:System.Span`1" />. If 0, a non-empty buffer of arbitrary size is returned.</param>
|
||||
<exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
|
||||
<returns>A buffer of at least <paramref name="sizeHint" /> bytes. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer of arbitrary size.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.OnReaderCompleted(System.Action{System.Exception,System.Object},System.Object)">
|
||||
<summary>Registers a callback that executes when the <see cref="T:System.IO.Pipelines.PipeReader" /> side of the pipe is completed.</summary>
|
||||
<param name="callback">The callback to register.</param>
|
||||
<param name="state">The state object to pass to <paramref name="callback" /> when it's invoked.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Threading.CancellationToken)">
|
||||
<summary>Writes the specified byte memory range to the pipe and makes data accessible to the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="source">The read-only byte memory region to write.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous write operation, and wraps the flush asynchronous operation.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.ReadResult">
|
||||
<summary>Represents the result of a <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.ReadResult.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Boolean,System.Boolean)">
|
||||
<summary>Creates a new instance of <see cref="T:System.IO.Pipelines.ReadResult" /> setting <see cref="P:System.IO.Pipelines.ReadResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.ReadResult.IsCompleted" /> flags.</summary>
|
||||
<param name="buffer">The read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</param>
|
||||
<param name="isCanceled">A flag that indicates if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" />.</param>
|
||||
<param name="isCompleted">A flag that indicates whether the end of the data stream has been reached.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.ReadResult.Buffer">
|
||||
<summary>Gets the <see cref="T:System.Buffers.ReadOnlySequence`1" /> that was read.</summary>
|
||||
<returns>A read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.ReadResult.IsCanceled">
|
||||
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.ReadResult.IsCompleted">
|
||||
<summary>Gets a value that indicates whether the end of the data stream has been reached.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the end of the data stream has been reached; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.StreamPipeExtensions">
|
||||
<summary>Provides extension methods for <see cref="T:System.IO.Stream" /> that support read and write operations directly into pipes.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.StreamPipeExtensions.CopyToAsync(System.IO.Stream,System.IO.Pipelines.PipeWriter,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Stream" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a cancellation token.</summary>
|
||||
<param name="source">The stream from which the contents of the current stream will be copied.</param>
|
||||
<param name="destination">The writer to which the contents of the source stream will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.StreamPipeReaderOptions">
|
||||
<summary>Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.StreamPipeReaderOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.Int32,System.Int32,System.Boolean)">
|
||||
<summary>Initializes a <see cref="T:System.IO.Pipelines.StreamPipeReaderOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, a minimum read size, and whether the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.</summary>
|
||||
<param name="pool">The memory pool to use when allocating memory. The default value is <see langword="null" />.</param>
|
||||
<param name="bufferSize">The minimum buffer size to use when renting memory from the <paramref name="pool" />. The default value is 4096.</param>
|
||||
<param name="minimumReadSize">The threshold of remaining bytes in the buffer before a new buffer is allocated. The default value is 1024.</param>
|
||||
<param name="leaveOpen">
|
||||
<see langword="true" /> to leave the underlying stream open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes; <see langword="false" /> to close it. The default is <see langword="false" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.BufferSize">
|
||||
<summary>Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary>
|
||||
<returns>The buffer size.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.LeaveOpen">
|
||||
<summary>Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.MinimumReadSize">
|
||||
<summary>Gets the threshold of remaining bytes in the buffer before a new buffer is allocated.</summary>
|
||||
<returns>The minimum read size.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool">
|
||||
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.</summary>
|
||||
<returns>A memory pool instance.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.StreamPipeWriterOptions">
|
||||
<summary>Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.StreamPipeWriterOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.Int32,System.Boolean)">
|
||||
<summary>Initializes a <see cref="T:System.IO.Pipelines.StreamPipeWriterOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, and whether the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes.</summary>
|
||||
<param name="pool">The memory pool to use when allocating memory. The default value is <see langword="null" />.</param>
|
||||
<param name="minimumBufferSize">The minimum buffer size to use when renting memory from the <paramref name="pool" />. The default value is 4096.</param>
|
||||
<param name="leaveOpen">
|
||||
<see langword="true" /> to leave the underlying stream open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes; <see langword="false" /> to close it. The default is <see langword="false" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.LeaveOpen">
|
||||
<summary>Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.MinimumBufferSize">
|
||||
<summary>Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeWriterOptions.Pool" />.</summary>
|
||||
<returns>An integer representing the minimum buffer size.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.Pool">
|
||||
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.</summary>
|
||||
<returns>A memory pool instance.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
@ -14,8 +14,8 @@
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.0.31.0" newVersion="8.0.31.0" />
|
||||
<assemblyIdentity name="MySql.Data" culture="neutral" publicKeyToken="c5687fc88969c44d" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.3.0.0" newVersion="8.3.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
|
Binary file not shown.
@ -201,9 +201,7 @@ E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\b
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\XLParser.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\MySql.Data.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\ZstdNet.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Crypto.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Hash.xxHash.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\Models.pdb
|
||||
@ -249,3 +247,18 @@ E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\o
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.pdb
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\MQTTnet.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\MQTTnet.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\MySqlBackup.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\ZstdSharp.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Cryptography.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Threading.Tasks.Extensions.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Pipelines.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\MySql.Data.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.pdb
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.Streams.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Cryptography.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Pipelines.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Hash.xxHash.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.SuggestedBindingRedirects.cache
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.exe.config
|
||||
|
34
LeatherProject/LeatherApp/obj/Debug/革博士AI智能检测系统.exe.config
Normal file
34
LeatherProject/LeatherApp/obj/Debug/革博士AI智能检测系统.exe.config
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="MySql.Data" culture="neutral" publicKeyToken="c5687fc88969c44d" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-8.3.0.0" newVersion="8.3.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
@ -15,10 +15,29 @@ namespace Models
|
||||
public class Product : BaseTable
|
||||
{
|
||||
public string Code { get; set; }
|
||||
|
||||
//0-绒面 1/其它-非绒面
|
||||
public string Material { get; set; }//材质code
|
||||
public int Color { get; set; }//颜色code
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 规格
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string Spec { get; set; }
|
||||
/// <summary>
|
||||
/// 颜色名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string ColorName { get; set; }//颜色code
|
||||
/// <summary>
|
||||
/// 颜色值
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = true)]
|
||||
public string ColorValue { get; set; }//颜色code
|
||||
|
||||
//类别
|
||||
//public int ClassesId { get; set; }
|
||||
|
@ -1,4 +1,5 @@
|
||||
using Models;
|
||||
using MySql.Data.MySqlClient;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@ -13,6 +14,7 @@ namespace Service
|
||||
public static string ConnectionString;
|
||||
public static void initDB(string dbConStr,bool dropTable=false)
|
||||
{
|
||||
ConnectionString = dbConStr;
|
||||
ConnectionConfig connectionConfig = new ConnectionConfig() {
|
||||
ConnectionString = dbConStr,
|
||||
DbType = DbType.MySql,
|
||||
@ -105,7 +107,64 @@ namespace Service
|
||||
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 备份DB (还原:mysql -uroot -p < d:\dbName.sql)
|
||||
/// </summary>
|
||||
/// <param name="result"></param>
|
||||
public static void BackupDataBase(string outFilePath)
|
||||
{
|
||||
using (var conn = new MySqlConnection(ConnectionString))
|
||||
{
|
||||
using (var cmd = new MySqlCommand())
|
||||
{
|
||||
using (MySqlBackup mb = new MySqlBackup(cmd))
|
||||
{
|
||||
// 设置数据库连接
|
||||
cmd.Connection = conn;
|
||||
cmd.Connection.Open();
|
||||
// 导出数据库到文件
|
||||
mb.ExportToFile(outFilePath);
|
||||
conn.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 还原数据库
|
||||
/// </summary>
|
||||
/// <param name="strPath">指定还原文件***.sql的绝对路径</param>
|
||||
/// <param name="dbName">还原到指定数据库</param>
|
||||
/// <returns></returns>
|
||||
public static bool RestoreDB(string strPath, string dbName = "LeatherDB")
|
||||
{
|
||||
bool isImport = false;
|
||||
if (string.IsNullOrEmpty(strPath))
|
||||
{
|
||||
return isImport;
|
||||
}
|
||||
|
||||
using (var conn = new MySqlConnection(ConnectionString))
|
||||
{
|
||||
using (var cmd = new MySqlCommand())
|
||||
{
|
||||
using (MySqlBackup backCmd = new MySqlBackup(cmd))
|
||||
{
|
||||
// 设置数据库连接
|
||||
cmd.Connection = conn;
|
||||
cmd.Connection.Open();
|
||||
//导入备份
|
||||
//backCmd.ImportInfo.TargetDatabase = dbName;//前提条件 当前 myconn 中的用户有建库等系列权限
|
||||
//backCmd.ImportInfo.DatabaseDefaultCharSet = "utf8";
|
||||
backCmd.ImportFromFile(strPath);
|
||||
|
||||
conn.Close();
|
||||
isImport = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return isImport;
|
||||
}
|
||||
private static string GetMD5(string str)
|
||||
{
|
||||
byte[] data = Encoding.UTF8.GetBytes(str);
|
||||
|
@ -34,20 +34,29 @@
|
||||
<Reference Include="BouncyCastle.Crypto, Version=1.9.0.0, Culture=neutral, PublicKeyToken=0e99375e54769942, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\Portable.BouncyCastle.1.9.0\lib\net40\BouncyCastle.Crypto.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Google.Protobuf, Version=3.19.4.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\Google.Protobuf.3.19.4\lib\net45\Google.Protobuf.dll</HintPath>
|
||||
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\BouncyCastle.Cryptography.2.2.1\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="K4os.Compression.LZ4, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\K4os.Compression.LZ4.1.2.6\lib\net46\K4os.Compression.LZ4.dll</HintPath>
|
||||
<Reference Include="Google.Protobuf, Version=3.25.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Google.Protobuf.3.25.1\lib\net45\Google.Protobuf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.2.6.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\K4os.Compression.LZ4.Streams.1.2.6\lib\net46\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||
<Reference Include="K4os.Compression.LZ4, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\K4os.Compression.LZ4.1.3.5\lib\net462\K4os.Compression.LZ4.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="K4os.Hash.xxHash, Version=1.0.6.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\K4os.Hash.xxHash.1.0.6\lib\net46\K4os.Hash.xxHash.dll</HintPath>
|
||||
<Reference Include="K4os.Compression.LZ4.Streams, Version=1.3.5.0, Culture=neutral, PublicKeyToken=2186fa9121ef231d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\K4os.Compression.LZ4.Streams.1.3.5\lib\net462\K4os.Compression.LZ4.Streams.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data, Version=8.0.31.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\MySql.Data.8.0.31\lib\net48\MySql.Data.dll</HintPath>
|
||||
<Reference Include="K4os.Hash.xxHash, Version=1.0.8.0, Culture=neutral, PublicKeyToken=32cd54395057cec3, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\K4os.Hash.xxHash.1.0.8\lib\net462\K4os.Hash.xxHash.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data, Version=8.3.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MySql.Data.8.3.0\lib\net48\MySql.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySqlBackup, Version=2.3.8.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MySqlBackup.NET.2.3.8\lib\net48\MySqlBackup.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
@ -61,10 +70,16 @@
|
||||
<HintPath>..\Code\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Configuration.ConfigurationManager, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Configuration.ConfigurationManager.4.4.1\lib\net461\System.Configuration.ConfigurationManager.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Configuration.Install" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\System.Diagnostics.DiagnosticSource.6.0.0\lib\net461\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=7.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.7.0.2\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Pipelines, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.5.0.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
@ -87,8 +102,8 @@
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="ZstdNet, Version=1.4.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
|
||||
<HintPath>..\Code\packages\MySql.Data.8.0.31\lib\net48\ZstdNet.dll</HintPath>
|
||||
<Reference Include="ZstdSharp, Version=0.7.1.0, Culture=neutral, PublicKeyToken=8d151af33a4ad5cf, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\ZstdSharp.Port.0.7.1\lib\net461\ZstdSharp.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
29053
LeatherProject/Service/bin/Debug/BouncyCastle.Cryptography.xml
Normal file
29053
LeatherProject/Service/bin/Debug/BouncyCastle.Cryptography.xml
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1630
LeatherProject/Service/bin/Debug/K4os.Compression.LZ4.Streams.xml
Normal file
1630
LeatherProject/Service/bin/Debug/K4os.Compression.LZ4.Streams.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -63,6 +63,14 @@
|
||||
Please note, it should be negative value.</param>
|
||||
<param name="length">Number of bytes to read.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Peek(System.Int32)">
|
||||
<summary>
|
||||
Peeks at previously decoded bytes. Please note, <paramref name="offset"/> should be
|
||||
negative number, pointing to bytes before current head.
|
||||
</summary>
|
||||
<param name="offset">Offset in source buffer relatively to current head.
|
||||
Please note, it should be negative value.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder">
|
||||
<summary>
|
||||
Interface of LZ4 encoder used by LZ4 streams.
|
||||
@ -96,21 +104,21 @@
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder">
|
||||
<summary>
|
||||
LZ4 decoder used with independent blocks mode. Plase note, that it will fail
|
||||
LZ4 decoder used with independent blocks mode. Please note, that it will fail
|
||||
if input data has been compressed with chained blocks
|
||||
(<see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/> and <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/>)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BlockSize">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BytesReady">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Decode(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -120,6 +128,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -163,6 +174,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -519,6 +533,32 @@
|
||||
<param name="acceleration">Acceleration.</param>
|
||||
<returns>Number of bytes actually written to target.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.BufferPool">
|
||||
<summary>
|
||||
Naive wrapper around ArrayPool. Makes calls if something should be pooled.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Compression.LZ4.Internal.BufferPool.MinPooledSize">
|
||||
<summary>Minimum size of the buffer that can be pooled.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>Allocate temporary buffer to store decompressed data.</summary>
|
||||
<param name="size">Minimum size of the buffer.</param>
|
||||
<param name="zero">Clear all data.</param>
|
||||
<returns>Allocated buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.IsPooled(System.Byte[])">
|
||||
<summary>
|
||||
Determines if buffer was pooled or not.
|
||||
The logic is quite simple: if buffer is smaller than 512 bytes are pooled.
|
||||
</summary>
|
||||
<param name="buffer">Buffer.</param>
|
||||
<returns><c>true</c> if buffer was pooled; <c>false</c> otherwise</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Free(System.Byte[])">
|
||||
<summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)"/></summary>
|
||||
<param name="buffer">Previously allocated buffer.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.Mem">
|
||||
<summary>Utility class with memory related functions.</summary>
|
||||
</member>
|
||||
@ -627,18 +667,12 @@
|
||||
<returns>Pointer to allocated block.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.Free(System.Void*)">
|
||||
<summary>
|
||||
Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.
|
||||
</summary>
|
||||
<param name="ptr"></param>
|
||||
<summary>Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.</summary>
|
||||
<param name="ptr">Pointer to allocated block.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.Int32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.UInt32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray``1(``0[])">
|
||||
<summary>Clones managed array to unmanaged one.
|
||||
Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
@ -702,6 +736,62 @@
|
||||
<param name="target">Target address.</param>
|
||||
<param name="source">Source address.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.PinnedMemory">
|
||||
<summary>
|
||||
Represents pinned memory.
|
||||
It either points to unmanaged memory or block of memory from shared array pool.
|
||||
When disposed, it handles it appropriately.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.MaxPooledSize">
|
||||
<summary>
|
||||
Maximum size of the buffer that can be pooled from shared array pool.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Pointer">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Span">
|
||||
<summary>Pointer to block of bytes as span.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Reference``1">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="memory">Pinned memory pointer.</param>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc``1(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory for one item from shared array pool.
|
||||
</summary>
|
||||
<param name="memory">PinnedMemory pointer.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<typeparam name="T">Type of item.</typeparam>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Clear">
|
||||
<summary>Fill allocated block of memory with zeros.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Free">
|
||||
<summary>
|
||||
Releases the memory.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.UnmanagedResources">
|
||||
<summary>
|
||||
Skeleton for class with unmanaged resources.
|
||||
@ -931,12 +1021,29 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte*,System.Int32,System.Byte*,System.Int32,System.Byte*,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
@ -947,6 +1054,19 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetOffset">Output buffer offset.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryOffset">Dictionary buffer offset.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.LZ4Level">
|
||||
<summary>Compression level.</summary>
|
||||
</member>
|
||||
@ -987,6 +1107,9 @@
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
@ -997,21 +1120,35 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],System.Int32,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceIndex">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="length">Length of input data.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Length of input data.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
@ -1023,8 +1160,14 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="index">Input buffer offset.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte})">
|
||||
@ -1032,11 +1175,37 @@
|
||||
<param name="source">Input buffer.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle``1(System.ReadOnlySpan{System.Byte},``0)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="source">The data to inspect.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(K4os.Compression.LZ4.PickleHeader@)">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="header">Decoded header.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="output">Where the decompressed data is written.</param>
|
||||
<remarks>
|
||||
You obtain the size of the output buffer by calling <see cref="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -46,6 +46,9 @@
|
||||
xxHash 32-bit.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Hash.xxHash.XXH32.State">
|
||||
<summary>Internal state of the algorithm.</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Hash.xxHash.XXH32.EmptyHash">
|
||||
<summary>Hash of empty buffer.</summary>
|
||||
</member>
|
||||
@ -55,6 +58,13 @@
|
||||
<param name="length">Length of buffer.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32,System.UInt32)">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
<param name="seed">Seed.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
@ -70,11 +80,22 @@
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.#ctor">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.#ctor(System.UInt32)">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Reset">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Reset(System.UInt32)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Void*,System.Int32)">
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
@ -100,11 +121,34 @@
|
||||
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
|
||||
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Reset(K4os.Hash.xxHash.XXH32.State@,System.UInt32)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="seed">Hash seed.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.Void*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH32.Digest(K4os.Hash.xxHash.XXH32.State@)">
|
||||
<summary>Hash so far.</summary>
|
||||
<returns>Hash so far.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Hash.xxHash.XXH64">
|
||||
<summary>
|
||||
xxHash 64-bit.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Hash.xxHash.XXH64.State">
|
||||
<summary>Internal state of the algorithm.</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Hash.xxHash.XXH64.EmptyHash">
|
||||
<summary>Hash of empty buffer.</summary>
|
||||
</member>
|
||||
@ -114,6 +158,13 @@
|
||||
<param name="length">Length of buffer.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32,System.UInt64)">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
<param name="seed">Seed.</param>
|
||||
<returns>Digest.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Hash of provided buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
@ -129,11 +180,22 @@
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.#ctor">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.#ctor(System.UInt64)">
|
||||
<summary>Creates xxHash instance.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Reset">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Reset(System.UInt64)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Void*,System.Int32)">
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<summary>Updates the hash using given buffer.</summary>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
@ -159,5 +221,25 @@
|
||||
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
|
||||
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Reset(K4os.Hash.xxHash.XXH64.State@,System.UInt64)">
|
||||
<summary>Resets hash calculation.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="seed">Hash seed.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.Void*,System.Int32)">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
<param name="length">Length of buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Updates the has using given buffer.</summary>
|
||||
<param name="state">Hash state.</param>
|
||||
<param name="bytes">Buffer.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Hash.xxHash.XXH64.Digest(K4os.Hash.xxHash.XXH64.State@)">
|
||||
<summary>Hash so far.</summary>
|
||||
<returns>Hash so far.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -0,0 +1,223 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.Bcl.AsyncInterfaces</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1">
|
||||
<summary>Provides the core logic for implementing a manual-reset <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource"/> or <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource`1"/>.</summary>
|
||||
<typeparam name="TResult"></typeparam>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation">
|
||||
<summary>
|
||||
The callback to invoke when the operation completes if <see cref="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)"/> was called before the operation completed,
|
||||
or <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCoreShared.s_sentinel"/> if the operation completed before a callback was supplied,
|
||||
or null if a callback hasn't yet been provided and the operation hasn't yet completed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuationState">
|
||||
<summary>State to pass to <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation"/>.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext">
|
||||
<summary><see cref="T:System.Threading.ExecutionContext"/> to flow to the callback, or null if no flowing is required.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._capturedContext">
|
||||
<summary>
|
||||
A "captured" <see cref="T:System.Threading.SynchronizationContext"/> or <see cref="T:System.Threading.Tasks.TaskScheduler"/> with which to invoke the callback,
|
||||
or null if no special context is required.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._completed">
|
||||
<summary>Whether the current operation has completed.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._result">
|
||||
<summary>The result with which the operation succeeded, or the default value if it hasn't yet completed or failed.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._error">
|
||||
<summary>The exception with which the operation failed, or null if it hasn't yet completed or completed successfully.</summary>
|
||||
</member>
|
||||
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._version">
|
||||
<summary>The current version of this value, used to help prevent misuse.</summary>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.RunContinuationsAsynchronously">
|
||||
<summary>Gets or sets whether to force continuations to run asynchronously.</summary>
|
||||
<remarks>Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Reset">
|
||||
<summary>Resets to prepare for the next operation.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetResult(`0)">
|
||||
<summary>Completes with a successful result.</summary>
|
||||
<param name="result">The result.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetException(System.Exception)">
|
||||
<summary>Complets with an error.</summary>
|
||||
<param name="error"></param>
|
||||
</member>
|
||||
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Version">
|
||||
<summary>Gets the operation version.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetStatus(System.Int16)">
|
||||
<summary>Gets the status of the operation.</summary>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(System.Int16)">
|
||||
<summary>Gets the result of the operation.</summary>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)">
|
||||
<summary>Schedules the continuation action for this operation.</summary>
|
||||
<param name="continuation">The continuation to invoke when the operation has completed.</param>
|
||||
<param name="state">The state object to pass to <paramref name="continuation"/> when it's invoked.</param>
|
||||
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||
<param name="flags">The flags describing the behavior of the continuation.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.ValidateToken(System.Int16)">
|
||||
<summary>Ensures that the specified token matches the current version.</summary>
|
||||
<param name="token">The token supplied by <see cref="T:System.Threading.Tasks.ValueTask"/>.</param>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SignalCompletion">
|
||||
<summary>Signals that the operation has completed. Invoked after the result or error has been set.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.InvokeContinuation">
|
||||
<summary>
|
||||
Invokes the continuation with the appropriate captured context / scheduler.
|
||||
This assumes that if <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext"/> is not null we're already
|
||||
running within that <see cref="T:System.Threading.ExecutionContext"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Threading.Tasks.TaskAsyncEnumerableExtensions">
|
||||
<summary>Provides a set of static methods for configuring <see cref="T:System.Threading.Tasks.Task"/>-related behaviors on asynchronous enumerables and disposables.</summary>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait(System.IAsyncDisposable,System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async disposable will be performed.</summary>
|
||||
<param name="source">The source async disposable.</param>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured async disposable.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||
<param name="source">The source enumerable being iterated.</param>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
</member>
|
||||
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.WithCancellation``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Threading.CancellationToken)">
|
||||
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||
<param name="source">The source enumerable being iterated.</param>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder">
|
||||
<summary>Represents a builder for asynchronous iterators.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Create">
|
||||
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"/> struct.</summary>
|
||||
<returns>The initialized instance.</returns>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.MoveNext``1(``0@)">
|
||||
<summary>Invokes <see cref="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"/> on the state machine while guarding the <see cref="T:System.Threading.ExecutionContext"/>.</summary>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="stateMachine">The state machine instance, passed by reference.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
|
||||
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="awaiter">The awaiter.</param>
|
||||
<param name="stateMachine">The state machine.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
|
||||
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||
<param name="awaiter">The awaiter.</param>
|
||||
<param name="stateMachine">The state machine.</param>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Complete">
|
||||
<summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.ObjectIdForDebugger">
|
||||
<summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute">
|
||||
<summary>Indicates whether a method is an asynchronous iterator.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute.#ctor(System.Type)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute"/> class.</summary>
|
||||
<param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
|
||||
<summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
|
||||
<summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)">
|
||||
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous value set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)">
|
||||
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||
<returns>The configured enumerable.</returns>
|
||||
<remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
|
||||
</member>
|
||||
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
|
||||
<summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.MoveNextAsync">
|
||||
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> that will complete with a result of <c>true</c>
|
||||
if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has
|
||||
passed the end of the collection.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.Current">
|
||||
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.DisposeAsync">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerable`1">
|
||||
<summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
|
||||
<typeparam name="T">The type of values to enumerate.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)">
|
||||
<summary>Returns an enumerator that iterates asynchronously through the collection.</summary>
|
||||
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that may be used to cancel the asynchronous iteration.</param>
|
||||
<returns>An enumerator that can be used to iterate asynchronously through the collection.</returns>
|
||||
</member>
|
||||
<member name="T:System.Collections.Generic.IAsyncEnumerator`1">
|
||||
<summary>Supports a simple asynchronous iteration over a generic collection.</summary>
|
||||
<typeparam name="T">The type of objects to enumerate.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync">
|
||||
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||
<returns>
|
||||
A <see cref="T:System.Threading.Tasks.ValueTask`1"/> that will complete with a result of <c>true</c> if the enumerator
|
||||
was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end
|
||||
of the collection.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="P:System.Collections.Generic.IAsyncEnumerator`1.Current">
|
||||
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="T:System.IAsyncDisposable">
|
||||
<summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
|
||||
</member>
|
||||
<member name="M:System.IAsyncDisposable.DisposeAsync">
|
||||
<summary>
|
||||
Performs application-defined tasks associated with freeing, releasing, or
|
||||
resetting unmanaged resources asynchronously.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,9 @@
|
||||
<member name="T:System.Diagnostics.Activity">
|
||||
<summary>Represents an operation with context to be used for logging.</summary>
|
||||
</member>
|
||||
<member name="E:System.Diagnostics.Activity.CurrentChanged">
|
||||
<summary>Occurs when the <see cref="P:System.Diagnostics.Activity.Current" /> value changes.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Activity" /> class.</summary>
|
||||
<param name="operationName">The name of the operation.</param>
|
||||
@ -46,6 +49,21 @@
|
||||
<param name="disposing">
|
||||
<see langword="false" /> if the method is being called from the finalizer; <see langword="true" /> if calling from user code.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.EnumerateEvents">
|
||||
<summary>Enumerates the <see cref="T:System.Diagnostics.ActivityEvent" /> objects attached to this Activity object.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.EnumerateLinks">
|
||||
<summary>Enumerates the <see cref="T:System.Diagnostics.ActivityLink" /> objects attached to this Activity object.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.EnumerateTagObjects">
|
||||
<summary>Enumerates the tags attached to this Activity object.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.GetBaggageItem(System.String)">
|
||||
<summary>Returns the value of a key-value pair added to the activity with <see cref="M:System.Diagnostics.Activity.AddBaggage(System.String,System.String)" />.</summary>
|
||||
<param name="key">The baggage key.</param>
|
||||
@ -169,6 +187,9 @@
|
||||
<returns>
|
||||
<see langword="true" /> to always use the <see cref="P:System.Diagnostics.Activity.DefaultIdFormat" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Activity.HasRemoteParent">
|
||||
<summary>Gets a value that indicates whether the parent context was created from remote propagation.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Activity.Id">
|
||||
<summary>Gets an identifier that is specific to a particular request.</summary>
|
||||
<returns>The activity ID.</returns>
|
||||
@ -182,6 +203,9 @@
|
||||
<returns>
|
||||
<see langword="true" /> if the activity should be populated; <see langword="false" /> otherwise.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Activity.IsStopped">
|
||||
<summary>Gets a value that indicates whether this <see cref="T:System.Diagnostics.Activity" /> object is stopped or not.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Activity.Kind">
|
||||
<summary>Gets the relationship between the activity, its parents, and its children in a trace.</summary>
|
||||
<returns>One of the enumeration values that indicate relationship between the activity, its parents, and its children in a trace.</returns>
|
||||
@ -252,6 +276,32 @@
|
||||
<summary>Gets or sets the W3C <see langword="tracestate" /> header.</summary>
|
||||
<returns>The W3C <see langword="tracestate" /> header.</returns>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Activity.Enumerator`1">
|
||||
<summary>Enumerates the data stored on an <see cref="T:System.Diagnostics.Activity" /> object.</summary>
|
||||
<typeparam name="T">Type being enumerated.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.Enumerator`1.GetEnumerator">
|
||||
<summary>Returns an enumerator that iterates through the data stored on an Activity object.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Activity.Enumerator`1.MoveNext">
|
||||
<summary>Advances the enumerator to the next element of the data.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the enumerator was successfully advanced to the next element; <see langword="false" /> if the enumerator has passed the end of the collection.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Activity.Enumerator`1.Current">
|
||||
<summary>Gets the element at the current position of the enumerator.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.ActivityChangedEventArgs">
|
||||
<summary>Provides data for the <see cref="E:System.Diagnostics.Activity.CurrentChanged" /> event.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityChangedEventArgs.Current">
|
||||
<summary>Gets the <see cref="T:System.Diagnostics.Activity" /> object after the event.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityChangedEventArgs.Previous">
|
||||
<summary>Gets the <see cref="T:System.Diagnostics.Activity" /> object before the event.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.ActivityContext">
|
||||
<summary>A representation that conforms to the W3C TraceContext specification. It contains two identifiers: a TraceId and a SpanId, along with a set of common TraceFlags and system-specific TraceState values.</summary>
|
||||
</member>
|
||||
@ -300,6 +350,16 @@
|
||||
<exception cref="T:System.ArgumentException">The trace parent is invalid.</exception>
|
||||
<returns>The <see cref="T:System.Diagnostics.ActivityContext" /> object created from the parsing operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.ActivityContext.TryParse(System.String,System.String,System.Boolean,System.Diagnostics.ActivityContext@)">
|
||||
<summary>Tries to parse the W3C trace context headers to the <see cref="T:System.Diagnostics.ActivityContext" /> object.</summary>
|
||||
<param name="traceParent">The W3C trace parent header.</param>
|
||||
<param name="traceState">The W3C trace state.</param>
|
||||
<param name="isRemote">
|
||||
<see langword="true" /> to propagate the context from the remote parent; otherwise, <see langword="false" />.</param>
|
||||
<param name="context">When this method returns, contains the <see cref="T:System.Diagnostics.ActivityContext" /> object created from the parsing operation.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if the operation succeeds; <see langword="false" /> otherwise.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.ActivityContext.TryParse(System.String,System.String,System.Diagnostics.ActivityContext@)">
|
||||
<summary>Tries to parse the W3C trace context headers to an <see cref="T:System.Diagnostics.ActivityContext" /> object.</summary>
|
||||
<param name="traceParent">The W3C trace parent header.</param>
|
||||
@ -367,6 +427,9 @@ The possible generic type parameters are <see cref="T:System.Diagnostics.Activit
|
||||
<summary>Gets the trace Id to use in the Activity object if it is decided that it should be created by <see cref="T:System.Diagnostics.ActivityListener" /> callbacks.</summary>
|
||||
<returns>The trace Id.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityCreationOptions`1.TraceState">
|
||||
<summary>Gets or initializes the trace state to use when creating the Activity.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.ActivityEvent">
|
||||
<summary>Represents an event containing a name and a timestamp, as well as an optional list of tags.</summary>
|
||||
</member>
|
||||
@ -380,6 +443,11 @@ The possible generic type parameters are <see cref="T:System.Diagnostics.Activit
|
||||
<param name="timestamp">The event timestamp. Timestamp must only be used for the events that happened in the past, not at the moment of this call.</param>
|
||||
<param name="tags">The event tags.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.ActivityEvent.EnumerateTagObjects">
|
||||
<summary>Enumerate the tags attached to this <see cref="T:System.Diagnostics.ActivityEvent" /> object.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityEvent.Name">
|
||||
<summary>Gets the activity event name.</summary>
|
||||
<returns>A string representing the activity event name.</returns>
|
||||
@ -434,6 +502,11 @@ Activity links can be used to represent batched operations where an activity was
|
||||
<param name="context">The trace activity context.</param>
|
||||
<param name="tags">The key-value pair list of tags associated to the activity context.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.ActivityLink.EnumerateTagObjects">
|
||||
<summary>Enumerate the tags attached to this <see cref="T:System.Diagnostics.ActivityLink" /> object.</summary>
|
||||
<returns>
|
||||
<see cref="T:System.Diagnostics.Activity.Enumerator`1" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.ActivityLink.Equals(System.Diagnostics.ActivityLink)">
|
||||
<summary>Indicates whether the current activity link is equal to another activity link.</summary>
|
||||
<param name="value">The activity link to compare.</param>
|
||||
@ -777,6 +850,7 @@ This collection behaves as follows:
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityTagsCollection.Count">
|
||||
<summary>Gets the number of elements contained in the collection.</summary>
|
||||
<returns>The number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityTagsCollection.IsReadOnly">
|
||||
<summary>Gets a value indicating whether the collection is read-only. This always returns <see langword="false" />.</summary>
|
||||
@ -794,9 +868,11 @@ This collection behaves as follows:
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityTagsCollection.Keys">
|
||||
<summary>Get the list of the keys of all stored tags.</summary>
|
||||
<returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.ActivityTagsCollection.Values">
|
||||
<summary>Get the list of the values of all stored tags.</summary>
|
||||
<returns>An <see cref="T:System.Collections.Generic.ICollection`1" /> containing the values in the object that implements <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.ActivityTagsCollection.Enumerator">
|
||||
<summary>Enumerates the elements of an <see langword="ActivityTagsCollection" />.</summary>
|
||||
@ -1090,33 +1166,33 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<param name="fieldValue">The value corresponding to <paramref name="fieldName" />.</param>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.Counter`1">
|
||||
<summary>Represents an instrument that supports adding non-negative values. For example, you might call counter.Add(1) each time a request is processed to track the total number of requests. Most metric viewers display counters using a rate (requests/sec), by default, but can also display a cumulative total.</summary>
|
||||
<summary>Represents an instrument that supports adding non-negative values. For example, you might call <c>counter.Add(1)</c> each time a request is processed to track the total number of requests. Most metric viewers display counters using a rate (requests/sec), by default, but can also display a cumulative total.</summary>
|
||||
<typeparam name="T">The type that the counter represents.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Counter`1.Add(`0)">
|
||||
<summary>Record the increment value of the measurement.</summary>
|
||||
<summary>Records the increment value of the measurement.</summary>
|
||||
<param name="delta">The increment measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Counter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record the increment value of the measurement.</summary>
|
||||
<summary>Records the increment value of the measurement.</summary>
|
||||
<param name="delta">The increment measurement.</param>
|
||||
<param name="tag">A key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Counter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record the increment value of the measurement.</summary>
|
||||
<summary>Records the increment value of the measurement.</summary>
|
||||
<param name="delta">The increment measurement.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Counter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record the increment value of the measurement.</summary>
|
||||
<summary>Records the increment value of the measurement.</summary>
|
||||
<param name="delta">The increment measurement.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag3">A third key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Counter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object}[])">
|
||||
<summary>Record the increment value of the measurement.</summary>
|
||||
<summary>Records the increment value of the measurement.</summary>
|
||||
<param name="delta">The increment measurement.</param>
|
||||
<param name="tags">A list of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
@ -1126,40 +1202,38 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<param name="tagList">The tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Counter`1.Add(`0,System.ReadOnlySpan{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>Record the increment value of the measurement.</summary>
|
||||
<summary>Records the increment value of the measurement.</summary>
|
||||
<param name="delta">The increment measurement.</param>
|
||||
<param name="tags">A span of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.Histogram`1">
|
||||
<summary>Represents a metrics Instrument that can be used to report arbitrary values that are likely to be statistically meaningful.
|
||||
e.g. the request duration.
|
||||
Use <see cref="M:System.Diagnostics.Metrics.Meter.CreateHistogram``1(System.String,System.String,System.String)" /> method to create the Histogram object.</summary>
|
||||
<summary>Represents a metrics instrument that can be used to report arbitrary values that are likely to be statistically meaningful, for example, the request duration. Call <see cref="M:System.Diagnostics.Metrics.Meter.CreateHistogram``1(System.String,System.String,System.String)" /> to create a Histogram object.</summary>
|
||||
<typeparam name="T">The type that the histogram represents.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Histogram`1.Record(`0)">
|
||||
<summary>Record a measurement value.</summary>
|
||||
<summary>Records a measurement value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Histogram`1.Record(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record a measurement value.</summary>
|
||||
<summary>Records a measurement value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tag">A key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Histogram`1.Record(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record a measurement value.</summary>
|
||||
<summary>Records a measurement value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Histogram`1.Record(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record a measurement value.</summary>
|
||||
<summary>Records a measurement value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag3">A third key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Histogram`1.Record(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object}[])">
|
||||
<summary>Record a measurement value.</summary>
|
||||
<summary>Records a measurement value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tags">A list of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
@ -1169,35 +1243,34 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<param name="tagList">The tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Histogram`1.Record(`0,System.ReadOnlySpan{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>Record a measurement value.</summary>
|
||||
<summary>Records a measurement value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tags">A span of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.Instrument">
|
||||
<summary>Base class of all Metrics Instrument classes</summary>
|
||||
<summary>Base class of all metrics instrument classes</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument.#ctor(System.Diagnostics.Metrics.Meter,System.String,System.String,System.String)">
|
||||
<summary>Protected constructor to initialize the common instrument properties like the meter, name, description, and unit.
|
||||
All classes extending Instrument need to call this constructor when constructing object of the extended class.</summary>
|
||||
<summary>Protected constructor to initialize the common instrument properties like the meter, name, description, and unit.</summary>
|
||||
<param name="meter">The meter that created the instrument.</param>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument.Publish">
|
||||
<summary>Publish is activating the instrument to start recording measurements and to allow listeners to start listening to such measurements.</summary>
|
||||
<summary>Activates the instrument to start recording measurements and to allow listeners to start listening to such measurements.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.Instrument.Description">
|
||||
<summary>Gets the instrument description.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.Instrument.Enabled">
|
||||
<summary>Checks if there is any listeners for this instrument.</summary>
|
||||
<summary>Gets a value that indicates if there are any listeners for this instrument.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.Instrument.IsObservable">
|
||||
<summary>A property tells if the instrument is an observable instrument.</summary>
|
||||
<summary>Gets a value that indicates whether the instrument is an observable instrument.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.Instrument.Meter">
|
||||
<summary>Gets the Meter which created the instrument.</summary>
|
||||
<summary>Gets the Meter that created the instrument.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.Instrument.Name">
|
||||
<summary>Gets the instrument name.</summary>
|
||||
@ -1210,30 +1283,29 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<typeparam name="T">The type that the instrument represents.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument`1.#ctor(System.Diagnostics.Metrics.Meter,System.String,System.String,System.String)">
|
||||
<summary>Create the metrics instrument using the properties meter, name, description, and unit.
|
||||
All classes extending Instrument{T} need to call this constructor when constructing object of the extended class.</summary>
|
||||
<summary>Create the metrics instrument using the properties meter, name, description, and unit.</summary>
|
||||
<param name="meter">The meter that created the instrument.</param>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(`0)">
|
||||
<summary>Record the measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects which listening to this instrument.</summary>
|
||||
<summary>Records a measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects that are listening to this instrument.</summary>
|
||||
<param name="measurement">The measurement value.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record the measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects which listening to this instrument.</summary>
|
||||
<summary>Records a measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects that are listening to this instrument.</summary>
|
||||
<param name="measurement">The measurement value.</param>
|
||||
<param name="tag">A key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record the measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects which listening to this instrument.</summary>
|
||||
<summary>Records a measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects that are listening to this instrument.</summary>
|
||||
<param name="measurement">The measurement value.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Record the measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects which listening to this instrument.</summary>
|
||||
<summary>Records a measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects that are listening to this instrument.</summary>
|
||||
<param name="measurement">The measurement value.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
@ -1245,33 +1317,32 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<param name="tagList">The tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(`0,System.ReadOnlySpan{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>Record the measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects which listening to this instrument.</summary>
|
||||
<summary>Records a measurement by notifying all <see cref="T:System.Diagnostics.Metrics.MeterListener" /> objects that are listening to this instrument.</summary>
|
||||
<param name="measurement">The measurement value.</param>
|
||||
<param name="tags">A span of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.Measurement`1">
|
||||
<summary>Stores one observed metrics value and its associated tags. This type is used by an Observable instrument's Observe() method when reporting current measurements.
|
||||
with the associated tags.</summary>
|
||||
<summary>Stores one observed metrics value and its associated tags. This type is used by an Observable instrument's Observe() method when reporting current measurements.</summary>
|
||||
<typeparam name="T">The type that the measurement represents.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Measurement`1.#ctor(`0)">
|
||||
<summary>Initializes a new instance of the Measurement using the value and the list of tags.</summary>
|
||||
<summary>Initializes a new instance of <see cref="T:System.Diagnostics.Metrics.Measurement`1" /> using the specified value.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Measurement`1.#ctor(`0,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>Initializes a new instance of the Measurement using the value and the list of tags.</summary>
|
||||
<summary>Initializes a new instance of <see cref="T:System.Diagnostics.Metrics.Measurement`1" /> using the specified value and list of tags.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tags">The measurement associated tags list.</param>
|
||||
<param name="tags">The list of tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Measurement`1.#ctor(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object}[])">
|
||||
<summary>Initializes a new instance of the Measurement using the value and the list of tags.</summary>
|
||||
<summary>Initializes a new instance of <see cref="T:System.Diagnostics.Metrics.Measurement`1" /> using the specified value and list of tags.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tags">The measurement associated tags list.</param>
|
||||
<param name="tags">The list of tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Measurement`1.#ctor(`0,System.ReadOnlySpan{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>Initializes a new instance of the Measurement using the value and the list of tags.</summary>
|
||||
<summary>Initializes a new instance of <see cref="T:System.Diagnostics.Metrics.Measurement`1" /> using the specified value and list of tags.</summary>
|
||||
<param name="value">The measurement value.</param>
|
||||
<param name="tags">The measurement associated tags list.</param>
|
||||
<param name="tags">The list of tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.Measurement`1.Tags">
|
||||
<summary>Gets the measurement tags list.</summary>
|
||||
@ -1280,8 +1351,8 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<summary>Gets the measurement value.</summary>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.MeasurementCallback`1">
|
||||
<summary>A delegate to represent the Meterlistener callbacks used in measurements recording operation.</summary>
|
||||
<param name="instrument">The <see cref="T:System.Diagnostics.Metrics.Instrument" /> that was responsible for sending the measurement.</param>
|
||||
<summary>A delegate to represent the Meterlistener callbacks that are used when recording measurements.</summary>
|
||||
<param name="instrument">The instrument that sent the measurement.</param>
|
||||
<param name="measurement">The measurement value.</param>
|
||||
<param name="tags">A span of key-value pair tags associated with the measurement.</param>
|
||||
<param name="state">The state object originally passed to <see cref="M:System.Diagnostics.Metrics.MeterListener.EnableMeasurementEvents(System.Diagnostics.Metrics.Instrument,System.Object)" /> method.</param>
|
||||
@ -1291,25 +1362,25 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<summary>Meter is the class responsible for creating and tracking the Instruments.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.#ctor(System.String)">
|
||||
<summary>Initializes a new instance of the Meter using the meter name.</summary>
|
||||
<summary>Initializes a new instance of <see cref="T:System.Diagnostics.Metrics.Meter" /> using the specified meter name.</summary>
|
||||
<param name="name">The Meter name.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.#ctor(System.String,System.String)">
|
||||
<summary>Initializes a new instance of the Meter using the meter name and version.</summary>
|
||||
<summary>Initializes a new instance of <see cref="T:System.Diagnostics.Metrics.Meter" /> using the specified meter name and version.</summary>
|
||||
<param name="name">The Meter name.</param>
|
||||
<param name="version">The optional Meter version.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateCounter``1(System.String,System.String,System.String)">
|
||||
<summary>Create a metrics Counter object.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
<returns>A new counter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateHistogram``1(System.String,System.String,System.String)">
|
||||
<summary>Creates a Histogram, which is an instrument that can be used to report arbitrary values that are likely to be statistically meaningful. It is intended for statistics such as histograms, summaries, and percentile.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<summary>Creates a Histogram, which is an instrument that can be used to report arbitrary values that are likely to be statistically meaningful. It is intended for statistics such as histograms, summaries, and percentiles.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
@ -1317,7 +1388,7 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableCounter``1(System.String,System.Func{``0},System.String,System.String)">
|
||||
<summary>Creates an ObservableCounter, which is an instrument that reports monotonically increasing values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
@ -1326,7 +1397,7 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableCounter``1(System.String,System.Func{System.Collections.Generic.IEnumerable{System.Diagnostics.Metrics.Measurement{``0}}},System.String,System.String)">
|
||||
<summary>Creates an ObservableCounter, which is an instrument that reports monotonically increasing values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValues">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
@ -1335,7 +1406,7 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableCounter``1(System.String,System.Func{System.Diagnostics.Metrics.Measurement{``0}},System.String,System.String)">
|
||||
<summary>Creates an ObservableCounter, which is an instrument that reports monotonically increasing values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" /></param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
@ -1343,8 +1414,8 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<returns>A new observable counter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableGauge``1(System.String,System.Func{``0},System.String,System.String)">
|
||||
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed. An example of a non-additive value is the room temperature - it makes no sense to report the temperature value from multiple rooms and sum them up.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
@ -1352,8 +1423,8 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<returns>A new observable gauge.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableGauge``1(System.String,System.Func{System.Collections.Generic.IEnumerable{System.Diagnostics.Metrics.Measurement{``0}}},System.String,System.String)">
|
||||
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed. An example of a non-additive value is the room temperature - it makes no sense to report the temperature value from multiple rooms and sum them up.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValues">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
@ -1361,14 +1432,49 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<returns>A new observable gauge.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableGauge``1(System.String,System.Func{System.Diagnostics.Metrics.Measurement{``0}},System.String,System.String)">
|
||||
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed. An example of a non-additive value is the room temperature - it makes no sense to report the temperature value from multiple rooms and sum them up.</summary>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<summary>Creates an ObservableGauge, which is an asynchronous instrument that reports non-additive values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValue">The callback to call to get the measurements when <code>ObservableCounter{T}.Observe()</code> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
<returns>A new observable gauge.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableUpDownCounter``1(System.String,System.Func{``0},System.String,System.String)">
|
||||
<summary>Creates an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument that reports increasing or decreasing values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValue">The callback to call to get the measurements when the <see cref="M:System.Diagnostics.Metrics.ObservableInstrument`1.Observe" /> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
<returns>A new observable up down counter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableUpDownCounter``1(System.String,System.Func{System.Collections.Generic.IEnumerable{System.Diagnostics.Metrics.Measurement{``0}}},System.String,System.String)">
|
||||
<summary>Creates an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument that reports increasing or decreasing values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValues">The callback to call to get the measurements when the <see cref="M:System.Diagnostics.Metrics.ObservableInstrument`1.Observe" /> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
<returns>A new observable up down counter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateObservableUpDownCounter``1(System.String,System.Func{System.Diagnostics.Metrics.Measurement{``0}},System.String,System.String)">
|
||||
<summary>Creates an ObservableUpDownCounter object. ObservableUpDownCounter is an Instrument that reports increasing or decreasing values when the instrument is being observed.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="observeValue">The callback to call to get the measurements when the <see cref="M:System.Diagnostics.Metrics.ObservableInstrument`1.Observe" /> is called by <see cref="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments" /></param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
<returns>A new observable up down counter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.CreateUpDownCounter``1(System.String,System.String,System.String)">
|
||||
<summary>Create a metrics UpDownCounter object.</summary>
|
||||
<param name="name">The instrument name. Cannot be <see langword="null" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
<param name="description">Optional instrument description.</param>
|
||||
<typeparam name="T">The numerical type of the measurement.</typeparam>
|
||||
<returns>A new up down counter.</returns>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.Meter.Dispose">
|
||||
<summary>Dispose the Meter which will disable all instruments created by this meter.</summary>
|
||||
</member>
|
||||
@ -1381,13 +1487,13 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<returns>The Meter version.</returns>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.MeterListener">
|
||||
<summary>MeterListener is class used to listen to the metrics instrument measurements recording.</summary>
|
||||
<summary>The MeterListener is class used to listen to the metrics instrument measurements recording.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.MeterListener.#ctor">
|
||||
<summary>Creates a MeterListener object.</summary>
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Metrics.MeterListener" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.MeterListener.DisableMeasurementEvents(System.Diagnostics.Metrics.Instrument)">
|
||||
<summary>Stop listening to a specific instrument measurement recording.</summary>
|
||||
<summary>Stops listening to a specific instrument measurement recording.</summary>
|
||||
<param name="instrument">The instrument to stop listening to.</param>
|
||||
<returns>The state object originally passed to <see cref="M:System.Diagnostics.Metrics.MeterListener.EnableMeasurementEvents(System.Diagnostics.Metrics.Instrument,System.Object)" /> method.</returns>
|
||||
</member>
|
||||
@ -1395,12 +1501,12 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<summary>Disposes the listeners which will stop it from listening to any instrument.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.MeterListener.EnableMeasurementEvents(System.Diagnostics.Metrics.Instrument,System.Object)">
|
||||
<summary>Start listening to a specific instrument measurement recording.</summary>
|
||||
<summary>Starts listening to a specific instrument measurement recording.</summary>
|
||||
<param name="instrument">The instrument to listen to.</param>
|
||||
<param name="state">A state object which will be passed back to the callback getting measurements events.</param>
|
||||
<param name="state">A state object that will be passed back to the callback getting measurements events.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.MeterListener.RecordObservableInstruments">
|
||||
<summary>Calls all Observable instruments which the listener is listening to then calls <see cref="M:System.Diagnostics.Metrics.MeterListener.SetMeasurementEventCallback``1(System.Diagnostics.Metrics.MeasurementCallback{``0})" /> with every collected measurement.</summary>
|
||||
<summary>Calls all Observable instruments that the listener is listening to, and calls <see cref="M:System.Diagnostics.Metrics.MeterListener.SetMeasurementEventCallback``1(System.Diagnostics.Metrics.MeasurementCallback{``0})" /> with every collected measurement.</summary>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.MeterListener.SetMeasurementEventCallback``1(System.Diagnostics.Metrics.MeasurementCallback{``0})">
|
||||
<summary>Sets a callback for a specific numeric type to get the measurement recording notification from all instruments which enabled listening and was created with the same specified numeric type.
|
||||
@ -1409,7 +1515,7 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<typeparam name="T">The type of the numeric measurement.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.MeterListener.Start">
|
||||
<summary>Enable the listener to start listening to instruments measurement recording.</summary>
|
||||
<summary>Enables the listener to start listening to instruments measurement recording.</summary>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.Metrics.MeterListener.InstrumentPublished">
|
||||
<summary>Gets or sets the callback to get notified when an instrument is published.</summary>
|
||||
@ -1421,23 +1527,20 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<returns>The callback to get notified when the measurement is stopped on some instrument.</returns>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.ObservableCounter`1">
|
||||
<summary>ObservableCounter is a metrics observable Instrument which reports monotonically increasing value(s) when the instrument is being observed.
|
||||
e.g. CPU time (for different processes, threads, user mode or kernel mode).
|
||||
Use Meter.CreateObservableCounter methods to create the observable counter object.</summary>
|
||||
<summary>Represents a metrics-observable instrument that reports monotonically increasing values when the instrument is being observed, for example, CPU time (for different processes, threads, user mode, or kernel mode). Call <see cref="Overload:System.Diagnostics.Metrics.Meter.CreateObservableCounter" /> to create the observable counter object.</summary>
|
||||
<typeparam name="T">The type that the observable counter represents.</typeparam>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.ObservableGauge`1">
|
||||
<summary>ObservableGauge is an observable Instrument that reports non-additive value(s) when the instrument is being observed.
|
||||
e.g. the current room temperature Use Meter.CreateObservableGauge methods to create the observable counter object.</summary>
|
||||
<summary>Represents an observable instrument that reports non-additive values when the instrument is being observed, for example, the current room temperature. Call <see cref="Overload:System.Diagnostics.Metrics.Meter.CreateObservableGauge" /> to create the observable counter object.</summary>
|
||||
<typeparam name="T" />
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.ObservableInstrument`1">
|
||||
<summary>ObservableInstrument{T} is the base class from which all metrics observable instruments will inherit from.</summary>
|
||||
<summary>ObservableInstrument{T} is the base class from which all metrics observable instruments will inherit.</summary>
|
||||
<typeparam name="T">The type that the observable instrument represents.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.ObservableInstrument`1.#ctor(System.Diagnostics.Metrics.Meter,System.String,System.String,System.String)">
|
||||
<summary>Create the metrics observable instrument using the properties meter, name, description, and unit.
|
||||
All classes extending ObservableInstrument{T} need to call this constructor when constructing object of the extended class.</summary>
|
||||
<summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Metrics.ObservableInstrument`1" /> class using the specified meter, name, description, and unit.
|
||||
All classes that extend ObservableInstrument{T} must call this constructor when constructing objects of the extended class.</summary>
|
||||
<param name="meter">The meter that created the instrument.</param>
|
||||
<param name="name">The instrument name. cannot be <see langword="null" />.</param>
|
||||
<param name="unit">Optional instrument unit of measurements.</param>
|
||||
@ -1452,6 +1555,54 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
<returns>
|
||||
<see langword="true" /> if the instrument is metrics-observable; <see langword="false" /> otherwise.</returns>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.ObservableUpDownCounter`1">
|
||||
<summary>A metrics-observable instrument that reports increasing or decreasing values when the instrument is being observed.
|
||||
Use this instrument to monitor the process heap size or the approximate number of items in a lock-free circular buffer, for example.
|
||||
To create an ObservableUpDownCounter object, use the <see cref="Overload:System.Diagnostics.Metrics.Meter.CreateObservableUpDownCounter" /> methods.</summary>
|
||||
<typeparam name="T">The type that the counter represents.</typeparam>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.Metrics.UpDownCounter`1">
|
||||
<summary>An instrument that supports reporting positive or negative metric values.
|
||||
UpDownCounter may be used in scenarios like reporting the change in active requests or queue size.</summary>
|
||||
<typeparam name="T">The type that the UpDownCounter represents.</typeparam>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0)">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
<param name="tag">A key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object},System.Collections.Generic.KeyValuePair{System.String,System.Object})">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
<param name="tag1">A first key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag2">A second key-value pair tag associated with the measurement.</param>
|
||||
<param name="tag3">A third key-value pair tag associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0,System.Collections.Generic.KeyValuePair{System.String,System.Object}[])">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
<param name="tags">A list of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0,System.Diagnostics.TagList@)">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
<param name="tagList">A <see cref="T:System.Diagnostics.TagList" /> of tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="M:System.Diagnostics.Metrics.UpDownCounter`1.Add(`0,System.ReadOnlySpan{System.Collections.Generic.KeyValuePair{System.String,System.Object}})">
|
||||
<summary>Records the delta value of the measurement. The delta can be positive, negative, or zero.</summary>
|
||||
<param name="delta">The amount to be added, which can be positive, negative, or zero.</param>
|
||||
<param name="tags">A span of key-value pair tags associated with the measurement.</param>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.SampleActivity`1">
|
||||
<summary>A delegate that defines the signature of the <see cref="T:System.Diagnostics.ActivityListener" /> callbacks used in the sampling process.</summary>
|
||||
<param name="options">The Activity creation options used by <see cref="T:System.Diagnostics.ActivityListener" /> callbacks to decide creating the Activity object or not.</param>
|
||||
@ -1532,15 +1683,19 @@ The characters in <paramref name="idData" /> are not all lower-case hexadecimal
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.TagList.Count">
|
||||
<summary>Gets the number of tags contained in the <see cref="T:System.Diagnostics.TagList" />.</summary>
|
||||
<returns>The number of elements contained in the <see cref="T:System.Collections.Generic.ICollection`1" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.TagList.IsReadOnly">
|
||||
<summary>Gets a value indicating whether the <see cref="T:System.Diagnostics.TagList" /> is read-only. This property will always return <see langword="false" />.</summary>
|
||||
<returns>
|
||||
Always returns <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.Diagnostics.TagList.Item(System.Int32)">
|
||||
<summary>Gets or sets the tags at the specified index.</summary>
|
||||
<param name="index">The item index.</param>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException">
|
||||
<paramref name="index" /> is not a valid index in the <see cref="T:System.Diagnostics.TagList" />.</exception>
|
||||
<returns>The element at the specified index.</returns>
|
||||
</member>
|
||||
<member name="T:System.Diagnostics.TagList.Enumerator">
|
||||
<summary>An enumerator for traversing a tag list collection.</summary>
|
341
LeatherProject/Service/bin/Debug/System.IO.Pipelines.xml
Normal file
341
LeatherProject/Service/bin/Debug/System.IO.Pipelines.xml
Normal file
@ -0,0 +1,341 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>System.IO.Pipelines</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:System.IO.Pipelines.FlushResult">
|
||||
<summary>Result returned by <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> call.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.FlushResult.#ctor(System.Boolean,System.Boolean)">
|
||||
<summary>Initializes a new instance of <see cref="T:System.IO.Pipelines.FlushResult" /> struct setting the <see cref="P:System.IO.Pipelines.FlushResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.FlushResult.IsCompleted" /> flags.</summary>
|
||||
<param name="isCanceled">
|
||||
<see langword="true" /> to indicate the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.FlushResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeWriter.CancelPendingFlush" />; otherwise, <see langword="false" />.</param>
|
||||
<param name="isCompleted">
|
||||
<see langword="true" /> to indicate the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.FlushResult.IsCanceled">
|
||||
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the current <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation was canceled; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.FlushResult.IsCompleted">
|
||||
<summary>Gets a value that indicates the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the reader is no longer reading data written to the <see cref="T:System.IO.Pipelines.PipeWriter" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.IDuplexPipe">
|
||||
<summary>Defines a class that provides a duplex pipe from which data can be read from and written to.</summary>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.IDuplexPipe.Input">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeReader" /> half of the duplex pipe.</summary>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.IDuplexPipe.Output">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeWriter" /> half of the duplex pipe.</summary>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.Pipe">
|
||||
<summary>The default <see cref="T:System.IO.Pipelines.PipeWriter" /> and <see cref="T:System.IO.Pipelines.PipeReader" /> implementation.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.Pipe.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.Pipe" /> class using <see cref="P:System.IO.Pipelines.PipeOptions.Default" /> as options.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.Pipe.#ctor(System.IO.Pipelines.PipeOptions)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.Pipe" /> class with the specified options.</summary>
|
||||
<param name="options">The set of options for this pipe.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.Pipe.Reset">
|
||||
<summary>Resets the pipe.</summary>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.Pipe.Reader">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeReader" /> for this pipe.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeReader" /> instance for this pipe.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.Pipe.Writer">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeWriter" /> for this pipe.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeWriter" /> instance for this pipe.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeOptions">
|
||||
<summary>Represents a set of <see cref="T:System.IO.Pipelines.Pipe" /> options.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.IO.Pipelines.PipeScheduler,System.IO.Pipelines.PipeScheduler,System.Int64,System.Int64,System.Int32,System.Boolean)">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.PipeOptions" /> class with the specified parameters.</summary>
|
||||
<param name="pool">The pool of memory blocks to be used for buffer management.</param>
|
||||
<param name="readerScheduler">The <see cref="T:System.IO.Pipelines.PipeScheduler" /> to be used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</param>
|
||||
<param name="writerScheduler">The <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</param>
|
||||
<param name="pauseWriterThreshold">The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> before <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking. A value of zero prevents <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> from ever blocking, effectively making the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> unlimited.</param>
|
||||
<param name="resumeWriterThreshold">The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</param>
|
||||
<param name="minimumSegmentSize">The minimum size of the segment requested from <paramref name="pool" />.</param>
|
||||
<param name="useSynchronizationContext">
|
||||
<see langword="true" /> if asynchronous continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on; <see langword="false" /> otherwise. This takes precedence over the schedulers specified in <see cref="P:System.IO.Pipelines.PipeOptions.ReaderScheduler" /> and <see cref="P:System.IO.Pipelines.PipeOptions.WriterScheduler" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.Default">
|
||||
<summary>Gets the default instance of <see cref="T:System.IO.Pipelines.PipeOptions" />.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeOptions" /> object initialized with default parameters.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.MinimumSegmentSize">
|
||||
<summary>Gets the minimum size of the segment requested from the <see cref="P:System.IO.Pipelines.PipeOptions.Pool" />.</summary>
|
||||
<returns>The minimum size of the segment requested from the <see cref="P:System.IO.Pipelines.PipeOptions.Pool" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.PauseWriterThreshold">
|
||||
<summary>Gets the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking.</summary>
|
||||
<returns>The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> starts blocking.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.Pool">
|
||||
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> object used for buffer management.</summary>
|
||||
<returns>A pool of memory blocks used for buffer management.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.ReaderScheduler">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> that is used to execute <see cref="T:System.IO.Pipelines.PipeReader" /> callbacks and async continuations.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.ResumeWriterThreshold">
|
||||
<summary>Gets the number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</summary>
|
||||
<returns>The number of bytes in the <see cref="T:System.IO.Pipelines.Pipe" /> when <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> stops blocking.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.UseSynchronizationContext">
|
||||
<summary>Gets a value that determines if asynchronous callbacks and continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on. This takes precedence over the schedulers specified in <see cref="P:System.IO.Pipelines.PipeOptions.ReaderScheduler" /> and <see cref="P:System.IO.Pipelines.PipeOptions.WriterScheduler" />.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if asynchronous callbacks and continuations should be executed on the <see cref="T:System.Threading.SynchronizationContext" /> they were captured on; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeOptions.WriterScheduler">
|
||||
<summary>Gets the <see cref="T:System.IO.Pipelines.PipeScheduler" /> used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> object used to execute <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and async continuations.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeReader">
|
||||
<summary>Defines a class that provides access to a read side of pipe.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.#ctor">
|
||||
<summary>Initializes a new instance of the <see cref="T:System.IO.Pipelines.PipeReader" /> class.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition)">
|
||||
<summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed.</summary>
|
||||
<param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.AdvanceTo(System.SequencePosition,System.SequencePosition)">
|
||||
<summary>Moves forward the pipeline's read cursor to after the consumed data, marking the data as processed, read and examined.</summary>
|
||||
<param name="consumed">Marks the extent of the data that has been successfully processed.</param>
|
||||
<param name="examined">Marks the extent of the data that has been read and examined.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.AsStream(System.Boolean)">
|
||||
<summary>Returns a <see cref="T:System.IO.Stream" /> representation of the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="leaveOpen">An optional flag that indicates whether disposing the returned <see cref="T:System.IO.Stream" /> leaves <see cref="T:System.IO.Pipelines.PipeReader" /> open (<see langword="true" />) or completes <see cref="T:System.IO.Pipelines.PipeReader" /> (<see langword="false" />).</param>
|
||||
<returns>A stream that represents the <see cref="T:System.IO.Pipelines.PipeReader" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CancelPendingRead">
|
||||
<summary>Cancels to currently pending or if none is pending next call to <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" />, without completing the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.Complete(System.Exception)">
|
||||
<summary>Signals to the producer that the consumer is done reading.</summary>
|
||||
<param name="exception">Optional <see cref="T:System.Exception" /> indicating a failure that's causing the pipeline to complete.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CompleteAsync(System.Exception)">
|
||||
<summary>Marks the current pipe reader instance as being complete, meaning no more data will be read from it.</summary>
|
||||
<param name="exception">An optional exception that indicates the failure that caused the reader to complete.</param>
|
||||
<returns>A value task that represents the asynchronous complete operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CopyToAsync(System.IO.Pipelines.PipeWriter,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a specified buffer size and cancellation token.</summary>
|
||||
<param name="destination">The pipe writer to which the contents of the current stream will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.CopyToAsync(System.IO.Stream,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Pipelines.PipeReader" /> and writes them to the specified stream, using a specified cancellation token.</summary>
|
||||
<param name="destination">The stream to which the contents of the current stream will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.Create(System.IO.Stream,System.IO.Pipelines.StreamPipeReaderOptions)">
|
||||
<summary>Creates a <see cref="T:System.IO.Pipelines.PipeReader" /> wrapping the specified <see cref="T:System.IO.Stream" />.</summary>
|
||||
<param name="stream">The stream that the pipe reader will wrap.</param>
|
||||
<param name="readerOptions">The options to configure the pipe reader.</param>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeReader" /> that wraps the <see cref="T:System.IO.Stream" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.OnWriterCompleted(System.Action{System.Exception,System.Object},System.Object)">
|
||||
<summary>Registers a callback that executes when the <see cref="T:System.IO.Pipelines.PipeWriter" /> side of the pipe is completed.</summary>
|
||||
<param name="callback">The callback to register.</param>
|
||||
<param name="state">The state object to pass to <paramref name="callback" /> when it's invoked.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads a sequence of bytes from the current <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see langword="default" />.</param>
|
||||
<returns>A <see cref="T:System.Threading.Tasks.ValueTask`1" /> representing the asynchronous read operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeReader.TryRead(System.IO.Pipelines.ReadResult@)">
|
||||
<summary>Attempts to synchronously read data the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="result">When this method returns <see langword="true" />, this value is set to a <see cref="T:System.IO.Pipelines.ReadResult" /> instance that represents the result of the read call; otherwise, this value is set to <see langword="default" />.</param>
|
||||
<returns>
|
||||
<see langword="true" /> if data was available, or if the call was canceled or the writer was completed; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeScheduler">
|
||||
<summary>Abstraction for running <see cref="T:System.IO.Pipelines.PipeReader" /> and <see cref="T:System.IO.Pipelines.PipeWriter" /> callbacks and continuations.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeScheduler.#ctor">
|
||||
<summary>Initializes new a <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeScheduler.Schedule(System.Action{System.Object},System.Object)">
|
||||
<summary>Requests <paramref name="action" /> to be run on scheduler with <paramref name="state" /> being passed in.</summary>
|
||||
<param name="action">The single-parameter action delegate to schedule.</param>
|
||||
<param name="state">The parameter to pass to the <paramref name="action" /> delegate.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeScheduler.Inline">
|
||||
<summary>The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that runs callbacks inline.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance that runs callbacks inline.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.PipeScheduler.ThreadPool">
|
||||
<summary>The <see cref="T:System.IO.Pipelines.PipeScheduler" /> implementation that queues callbacks to the thread pool.</summary>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeScheduler" /> instance that queues callbacks to the thread pool.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.PipeWriter">
|
||||
<summary>Defines a class that provides a pipeline to which data can be written.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.#ctor">
|
||||
<summary>Initializes a new instance of the class.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)">
|
||||
<summary>Notifies the <see cref="T:System.IO.Pipelines.PipeWriter" /> that <paramref name="bytes" /> bytes were written to the output <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />. You must request a new buffer after calling <see cref="M:System.IO.Pipelines.PipeWriter.Advance(System.Int32)" /> to continue writing more data; you cannot write to a previously acquired buffer.</summary>
|
||||
<param name="bytes">The number of bytes written to the <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.AsStream(System.Boolean)">
|
||||
<summary>Returns a <see cref="T:System.IO.Stream" /> representation of the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
<param name="leaveOpen">An optional flag that indicates whether disposing the returned <see cref="T:System.IO.Stream" /> leaves <see cref="T:System.IO.Pipelines.PipeReader" /> open (<see langword="true" />) or completes <see cref="T:System.IO.Pipelines.PipeReader" /> (<see langword="false" />).</param>
|
||||
<returns>A stream that represents the <see cref="T:System.IO.Pipelines.PipeWriter" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.CancelPendingFlush">
|
||||
<summary>Cancels the pending <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation. If there is none, cancels next <see cref="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)" /> operation, without completing the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.Complete(System.Exception)">
|
||||
<summary>Marks the <see cref="T:System.IO.Pipelines.PipeWriter" /> as being complete, meaning no more items will be written to it.</summary>
|
||||
<param name="exception">Optional <see cref="T:System.Exception" /> indicating a failure that's causing the pipeline to complete.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.CompleteAsync(System.Exception)">
|
||||
<summary>Marks the current pipe writer instance as being complete, meaning no more data will be written to it.</summary>
|
||||
<param name="exception">An optional exception that indicates the failure that caused the pipeline to complete.</param>
|
||||
<returns>A value task that represents the asynchronous complete operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.CopyFromAsync(System.IO.Stream,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the specified stream and writes them to the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
<param name="source">The stream from which the contents will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.Create(System.IO.Stream,System.IO.Pipelines.StreamPipeWriterOptions)">
|
||||
<summary>Creates a <see cref="T:System.IO.Pipelines.PipeWriter" /> wrapping the specified <see cref="T:System.IO.Stream" />.</summary>
|
||||
<param name="stream">The stream that the pipe writer will wrap.</param>
|
||||
<param name="writerOptions">The options to configure the pipe writer.</param>
|
||||
<returns>A <see cref="T:System.IO.Pipelines.PipeWriter" /> that wraps the <see cref="T:System.IO.Stream" />.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.FlushAsync(System.Threading.CancellationToken)">
|
||||
<summary>Makes bytes written available to <see cref="T:System.IO.Pipelines.PipeReader" /> and runs <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> continuation.</summary>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents and wraps the asynchronous flush operation.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.GetMemory(System.Int32)">
|
||||
<summary>Returns a <see cref="T:System.Memory`1" /> to write to that is at least the requested size, as specified by the <paramref name="sizeHint" /> parameter.</summary>
|
||||
<param name="sizeHint">The minimum length of the returned <see cref="T:System.Memory`1" />. If 0, a non-empty memory buffer of arbitrary size is returned.</param>
|
||||
<exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
|
||||
<returns>A memory buffer of at least <paramref name="sizeHint" /> bytes. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer of arbitrary size.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.GetSpan(System.Int32)">
|
||||
<summary>Returns a <see cref="T:System.Span`1" /> to write to that is at least the requested size, as specified by the <paramref name="sizeHint" /> parameter.</summary>
|
||||
<param name="sizeHint">The minimum length of the returned <see cref="T:System.Span`1" />. If 0, a non-empty buffer of arbitrary size is returned.</param>
|
||||
<exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
|
||||
<returns>A buffer of at least <paramref name="sizeHint" /> bytes. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer of arbitrary size.</returns>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.OnReaderCompleted(System.Action{System.Exception,System.Object},System.Object)">
|
||||
<summary>Registers a callback that executes when the <see cref="T:System.IO.Pipelines.PipeReader" /> side of the pipe is completed.</summary>
|
||||
<param name="callback">The callback to register.</param>
|
||||
<param name="state">The state object to pass to <paramref name="callback" /> when it's invoked.</param>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.PipeWriter.WriteAsync(System.ReadOnlyMemory{System.Byte},System.Threading.CancellationToken)">
|
||||
<summary>Writes the specified byte memory range to the pipe and makes data accessible to the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
<param name="source">The read-only byte memory region to write.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous write operation, and wraps the flush asynchronous operation.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.ReadResult">
|
||||
<summary>Represents the result of a <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.ReadResult.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Boolean,System.Boolean)">
|
||||
<summary>Creates a new instance of <see cref="T:System.IO.Pipelines.ReadResult" /> setting <see cref="P:System.IO.Pipelines.ReadResult.IsCanceled" /> and <see cref="P:System.IO.Pipelines.ReadResult.IsCompleted" /> flags.</summary>
|
||||
<param name="buffer">The read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</param>
|
||||
<param name="isCanceled">A flag that indicates if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" />.</param>
|
||||
<param name="isCompleted">A flag that indicates whether the end of the data stream has been reached.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.ReadResult.Buffer">
|
||||
<summary>Gets the <see cref="T:System.Buffers.ReadOnlySequence`1" /> that was read.</summary>
|
||||
<returns>A read-only sequence containing the bytes of data that were read in the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> call.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.ReadResult.IsCanceled">
|
||||
<summary>Gets a value that indicates whether the current <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation was canceled.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the <see cref="M:System.IO.Pipelines.PipeReader.ReadAsync(System.Threading.CancellationToken)" /> operation that produced this <see cref="T:System.IO.Pipelines.ReadResult" /> was canceled by <see cref="M:System.IO.Pipelines.PipeReader.CancelPendingRead" />; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.ReadResult.IsCompleted">
|
||||
<summary>Gets a value that indicates whether the end of the data stream has been reached.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the end of the data stream has been reached; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.StreamPipeExtensions">
|
||||
<summary>Provides extension methods for <see cref="T:System.IO.Stream" /> that support read and write operations directly into pipes.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.StreamPipeExtensions.CopyToAsync(System.IO.Stream,System.IO.Pipelines.PipeWriter,System.Threading.CancellationToken)">
|
||||
<summary>Asynchronously reads the bytes from the <see cref="T:System.IO.Stream" /> and writes them to the specified <see cref="T:System.IO.Pipelines.PipeWriter" />, using a cancellation token.</summary>
|
||||
<param name="source">The stream from which the contents of the current stream will be copied.</param>
|
||||
<param name="destination">The writer to which the contents of the source stream will be copied.</param>
|
||||
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
<returns>A task that represents the asynchronous copy operation.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.StreamPipeReaderOptions">
|
||||
<summary>Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeReader" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.StreamPipeReaderOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.Int32,System.Int32,System.Boolean)">
|
||||
<summary>Initializes a <see cref="T:System.IO.Pipelines.StreamPipeReaderOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, a minimum read size, and whether the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.</summary>
|
||||
<param name="pool">The memory pool to use when allocating memory. The default value is <see langword="null" />.</param>
|
||||
<param name="bufferSize">The minimum buffer size to use when renting memory from the <paramref name="pool" />. The default value is 4096.</param>
|
||||
<param name="minimumReadSize">The threshold of remaining bytes in the buffer before a new buffer is allocated. The default value is 1024.</param>
|
||||
<param name="leaveOpen">
|
||||
<see langword="true" /> to leave the underlying stream open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes; <see langword="false" /> to close it. The default is <see langword="false" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.BufferSize">
|
||||
<summary>Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary>
|
||||
<returns>The buffer size.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.LeaveOpen">
|
||||
<summary>Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeReader" /> completes; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.MinimumReadSize">
|
||||
<summary>Gets the threshold of remaining bytes in the buffer before a new buffer is allocated.</summary>
|
||||
<returns>The minimum read size.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeReaderOptions.Pool">
|
||||
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.</summary>
|
||||
<returns>A memory pool instance.</returns>
|
||||
</member>
|
||||
<member name="T:System.IO.Pipelines.StreamPipeWriterOptions">
|
||||
<summary>Represents a set of options for controlling the creation of the <see cref="T:System.IO.Pipelines.PipeWriter" />.</summary>
|
||||
</member>
|
||||
<member name="M:System.IO.Pipelines.StreamPipeWriterOptions.#ctor(System.Buffers.MemoryPool{System.Byte},System.Int32,System.Boolean)">
|
||||
<summary>Initializes a <see cref="T:System.IO.Pipelines.StreamPipeWriterOptions" /> instance, optionally specifying a memory pool, a minimum buffer size, and whether the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes.</summary>
|
||||
<param name="pool">The memory pool to use when allocating memory. The default value is <see langword="null" />.</param>
|
||||
<param name="minimumBufferSize">The minimum buffer size to use when renting memory from the <paramref name="pool" />. The default value is 4096.</param>
|
||||
<param name="leaveOpen">
|
||||
<see langword="true" /> to leave the underlying stream open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes; <see langword="false" /> to close it. The default is <see langword="false" />.</param>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.LeaveOpen">
|
||||
<summary>Gets the value that indicates if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes.</summary>
|
||||
<returns>
|
||||
<see langword="true" /> if the underlying stream should be left open after the <see cref="T:System.IO.Pipelines.PipeWriter" /> completes; otherwise, <see langword="false" />.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.MinimumBufferSize">
|
||||
<summary>Gets the minimum buffer size to use when renting memory from the <see cref="P:System.IO.Pipelines.StreamPipeWriterOptions.Pool" />.</summary>
|
||||
<returns>An integer representing the minimum buffer size.</returns>
|
||||
</member>
|
||||
<member name="P:System.IO.Pipelines.StreamPipeWriterOptions.Pool">
|
||||
<summary>Gets the <see cref="T:System.Buffers.MemoryPool`1" /> to use when allocating memory.</summary>
|
||||
<returns>A memory pool instance.</returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -112,3 +112,26 @@ E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\obj\
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\obj\Debug\Service.csproj.CopyComplete
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\obj\Debug\Service.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\obj\Debug\Service.pdb
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\BouncyCastle.Cryptography.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\Google.Protobuf.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\K4os.Compression.LZ4.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\K4os.Hash.xxHash.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\MySql.Data.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\MySqlBackup.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\System.Configuration.ConfigurationManager.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\System.Diagnostics.DiagnosticSource.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\System.IO.Pipelines.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\ZstdSharp.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\ZstdNet.dll
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\BouncyCastle.Cryptography.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\Google.Protobuf.pdb
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\Google.Protobuf.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\K4os.Compression.LZ4.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\K4os.Compression.LZ4.Streams.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\K4os.Hash.xxHash.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\MySql.Data.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\System.Diagnostics.DiagnosticSource.xml
|
||||
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\Service\bin\Debug\System.IO.Pipelines.xml
|
||||
|
@ -1,16 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Google.Protobuf" version="3.19.4" targetFramework="net48" />
|
||||
<package id="K4os.Compression.LZ4" version="1.2.6" targetFramework="net48" />
|
||||
<package id="K4os.Compression.LZ4.Streams" version="1.2.6" targetFramework="net48" />
|
||||
<package id="K4os.Hash.xxHash" version="1.0.6" targetFramework="net48" />
|
||||
<package id="MySql.Data" version="8.0.31" targetFramework="net48" />
|
||||
<package id="BouncyCastle.Cryptography" version="2.2.1" targetFramework="net48" />
|
||||
<package id="Google.Protobuf" version="3.25.1" targetFramework="net48" />
|
||||
<package id="K4os.Compression.LZ4" version="1.3.5" targetFramework="net48" />
|
||||
<package id="K4os.Compression.LZ4.Streams" version="1.3.5" targetFramework="net48" />
|
||||
<package id="K4os.Hash.xxHash" version="1.0.8" targetFramework="net48" />
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="5.0.0" targetFramework="net48" />
|
||||
<package id="MySql.Data" version="8.3.0" targetFramework="net48" />
|
||||
<package id="MySqlBackup.NET" version="2.3.8" targetFramework="net48" />
|
||||
<package id="Portable.BouncyCastle" version="1.9.0" targetFramework="net48" />
|
||||
<package id="SqlSugar" version="5.1.4.86" targetFramework="net48" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="6.0.0" targetFramework="net48" />
|
||||
<package id="System.Configuration.ConfigurationManager" version="4.4.1" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="7.0.2" targetFramework="net48" />
|
||||
<package id="System.IO.Pipelines" version="5.0.2" targetFramework="net48" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
|
||||
<package id="ZstdSharp.Port" version="0.7.1" targetFramework="net48" />
|
||||
</packages>
|
BIN
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/.signature.p7s
vendored
Normal file
BIN
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/BouncyCastle.Cryptography.2.2.1.nupkg
vendored
Normal file
BIN
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/BouncyCastle.Cryptography.2.2.1.nupkg
vendored
Normal file
Binary file not shown.
13
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/LICENSE.md
vendored
Normal file
13
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/LICENSE.md
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Copyright (c) 2000-2023 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org).
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||
associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sub license, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions: The above copyright notice and this
|
||||
permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
|
||||
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
|
||||
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**
|
45
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/README.md
vendored
Normal file
45
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/README.md
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
# The Bouncy Castle Cryptography Library For .NET
|
||||
[](https://www.nuget.org/packages/BouncyCastle.Cryptography) [](https://www.nuget.org/packages/BouncyCastle.Cryptography)
|
||||
|
||||
The Bouncy Castle Cryptography library is a .NET implementation of cryptographic algorithms and protocols. It was developed by the Legion of the Bouncy Castle, a registered Australian Charity, with a little help! The Legion, and the latest goings on with this package, can be found at [https://www.bouncycastle.org](https://www.bouncycastle.org).
|
||||
|
||||
In addition to providing basic cryptography algorithms, the package also provides support for CMS, OpenPGP, (D)TLS, TSP, X.509 certificate generation and more. The package also includes implementations of the following NIST Post-Quantum Cryptography Standardization algorithms: CRYSTALS-Dilithium, CRYSTALS-Kyber, Falcon, SPHINCS+, Classic McEliece, FrodoKEM, NTRU, NTRU Prime, Picnic, Saber, BIKE, and SIKE. These should all be considered EXPERIMENTAL and subject to change or removal. SIKE in particular is already slated for removal and should be used for research purposes only.
|
||||
|
||||
The Legion also gratefully acknowledges the contributions made to this package by others (see [here](https://www.bouncycastle.org/csharp/contributors.html) for the current list). If you would like to contribute to our efforts please feel free to get in touch with us or visit our [donations page](https://www.bouncycastle.org/donate), sponsor some specific work, or purchase a [support contract](https://www.keyfactor.com/platform/bouncy-castle-support/).
|
||||
|
||||
Except where otherwise stated, this software is distributed under a license based on the MIT X Consortium license. To view the license, [see here](https://www.bouncycastle.org/licence.html). This software includes a modified Bzip2 library, which is licensed under the [Apache Software License, Version 2.0](http://www.apache.org/licenses/).
|
||||
|
||||
**Note**: This source tree is not the FIPS version of the APIs - if you are interested in our FIPS version please visit us [here](https://www.bouncycastle.org/fips-csharp) or contact us directly at [office@bouncycastle.org](mailto:office@bouncycastle.org).
|
||||
|
||||
## Installing BouncyCastle
|
||||
You should install [BouncyCastle with NuGet:](https://www.nuget.org/packages/BouncyCastle.Cryptography)
|
||||
|
||||
Install-Package BouncyCastle.Cryptography
|
||||
|
||||
Or via the .NET Core command line interface:
|
||||
|
||||
dotnet add package BouncyCastle.Cryptography
|
||||
|
||||
Either commands, from Package Manager Console or .NET Core CLI, will download and install BouncyCastle.Cryptography.
|
||||
|
||||
|
||||
## Mailing Lists
|
||||
|
||||
For those who are interested, there are 2 mailing lists for participation in this project. To subscribe use the links below and include the word subscribe in the message body. (To unsubscribe, replace **subscribe** with **unsubscribe** in the message body)
|
||||
|
||||
* [announce-crypto-csharp-request@bouncycastle.org](mailto:announce-crypto-csharp-request@bouncycastle.org)
|
||||
This mailing list is for new release announcements only, general subscribers cannot post to it.
|
||||
* [dev-crypto-csharp-request@bouncycastle.org](mailto:dev-crypto-csharp-request@bouncycastle.org)
|
||||
This mailing list is for discussion of development of the package. This includes bugs, comments, requests for enhancements, questions about use or operation.
|
||||
|
||||
**NOTE:** You need to be subscribed to send mail to the above mailing list.
|
||||
|
||||
## Feedback
|
||||
|
||||
If you want to provide feedback directly to the members of **The Legion** then please use [feedback-crypto@bouncycastle.org](mailto:feedback-crypto@bouncycastle.org). If you want to help this project survive please consider [donating](https://www.bouncycastle.org/donate).
|
||||
|
||||
For bug reporting/requests you can report issues on [github](https://github.com/bcgit/bc-csharp), or via [feedback-crypto@bouncycastle.org](mailto:feedback-crypto@bouncycastle.org) if required. We will accept pull requests based on this repository as well, but only on the basis that any code included may be distributed under the [Bouncy Castle License](https://www.bouncycastle.org/licence.html).
|
||||
|
||||
## Finally
|
||||
|
||||
Enjoy!
|
29053
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/lib/net461/BouncyCastle.Cryptography.xml
vendored
Normal file
29053
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/lib/net461/BouncyCastle.Cryptography.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
29164
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/lib/net6.0/BouncyCastle.Cryptography.xml
vendored
Normal file
29164
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/lib/net6.0/BouncyCastle.Cryptography.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
29053
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/lib/netstandard2.0/BouncyCastle.Cryptography.xml
vendored
Normal file
29053
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/lib/netstandard2.0/BouncyCastle.Cryptography.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/packageIcon.png
vendored
Normal file
BIN
LeatherProject/packages/BouncyCastle.Cryptography.2.2.1/packageIcon.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
Binary file not shown.
BIN
LeatherProject/packages/Google.Protobuf.3.25.1/.signature.p7s
vendored
Normal file
BIN
LeatherProject/packages/Google.Protobuf.3.25.1/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
LeatherProject/packages/Google.Protobuf.3.25.1/Google.Protobuf.3.25.1.nupkg
vendored
Normal file
BIN
LeatherProject/packages/Google.Protobuf.3.25.1/Google.Protobuf.3.25.1.nupkg
vendored
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
11447
LeatherProject/packages/Google.Protobuf.3.25.1/lib/netstandard1.1/Google.Protobuf.xml
vendored
Normal file
11447
LeatherProject/packages/Google.Protobuf.3.25.1/lib/netstandard1.1/Google.Protobuf.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
11447
LeatherProject/packages/Google.Protobuf.3.25.1/lib/netstandard2.0/Google.Protobuf.xml
vendored
Normal file
11447
LeatherProject/packages/Google.Protobuf.3.25.1/lib/netstandard2.0/Google.Protobuf.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
BIN
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/.signature.p7s
vendored
Normal file
BIN
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/K4os.Compression.LZ4.1.3.5.nupkg
vendored
Normal file
BIN
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/K4os.Compression.LZ4.1.3.5.nupkg
vendored
Normal file
Binary file not shown.
@ -63,6 +63,14 @@
|
||||
Please note, it should be negative value.</param>
|
||||
<param name="length">Number of bytes to read.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Peek(System.Int32)">
|
||||
<summary>
|
||||
Peeks at previously decoded bytes. Please note, <paramref name="offset"/> should be
|
||||
negative number, pointing to bytes before current head.
|
||||
</summary>
|
||||
<param name="offset">Offset in source buffer relatively to current head.
|
||||
Please note, it should be negative value.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder">
|
||||
<summary>
|
||||
Interface of LZ4 encoder used by LZ4 streams.
|
||||
@ -96,21 +104,21 @@
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder">
|
||||
<summary>
|
||||
LZ4 decoder used with independent blocks mode. Plase note, that it will fail
|
||||
LZ4 decoder used with independent blocks mode. Please note, that it will fail
|
||||
if input data has been compressed with chained blocks
|
||||
(<see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/> and <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/>)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BlockSize">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BytesReady">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Decode(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -120,6 +128,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -163,6 +174,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -519,6 +533,32 @@
|
||||
<param name="acceleration">Acceleration.</param>
|
||||
<returns>Number of bytes actually written to target.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.BufferPool">
|
||||
<summary>
|
||||
Naive wrapper around ArrayPool. Makes calls if something should be pooled.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Compression.LZ4.Internal.BufferPool.MinPooledSize">
|
||||
<summary>Minimum size of the buffer that can be pooled.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>Allocate temporary buffer to store decompressed data.</summary>
|
||||
<param name="size">Minimum size of the buffer.</param>
|
||||
<param name="zero">Clear all data.</param>
|
||||
<returns>Allocated buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.IsPooled(System.Byte[])">
|
||||
<summary>
|
||||
Determines if buffer was pooled or not.
|
||||
The logic is quite simple: if buffer is smaller than 512 bytes are pooled.
|
||||
</summary>
|
||||
<param name="buffer">Buffer.</param>
|
||||
<returns><c>true</c> if buffer was pooled; <c>false</c> otherwise</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Free(System.Byte[])">
|
||||
<summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)"/></summary>
|
||||
<param name="buffer">Previously allocated buffer.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.Mem">
|
||||
<summary>Utility class with memory related functions.</summary>
|
||||
</member>
|
||||
@ -627,18 +667,12 @@
|
||||
<returns>Pointer to allocated block.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.Free(System.Void*)">
|
||||
<summary>
|
||||
Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.
|
||||
</summary>
|
||||
<param name="ptr"></param>
|
||||
<summary>Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.</summary>
|
||||
<param name="ptr">Pointer to allocated block.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.Int32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.UInt32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray``1(``0[])">
|
||||
<summary>Clones managed array to unmanaged one.
|
||||
Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
@ -702,6 +736,62 @@
|
||||
<param name="target">Target address.</param>
|
||||
<param name="source">Source address.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.PinnedMemory">
|
||||
<summary>
|
||||
Represents pinned memory.
|
||||
It either points to unmanaged memory or block of memory from shared array pool.
|
||||
When disposed, it handles it appropriately.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.MaxPooledSize">
|
||||
<summary>
|
||||
Maximum size of the buffer that can be pooled from shared array pool.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Pointer">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Span">
|
||||
<summary>Pointer to block of bytes as span.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Reference``1">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="memory">Pinned memory pointer.</param>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc``1(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory for one item from shared array pool.
|
||||
</summary>
|
||||
<param name="memory">PinnedMemory pointer.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<typeparam name="T">Type of item.</typeparam>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Clear">
|
||||
<summary>Fill allocated block of memory with zeros.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Free">
|
||||
<summary>
|
||||
Releases the memory.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.UnmanagedResources">
|
||||
<summary>
|
||||
Skeleton for class with unmanaged resources.
|
||||
@ -931,12 +1021,29 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte*,System.Int32,System.Byte*,System.Int32,System.Byte*,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
@ -947,6 +1054,19 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetOffset">Output buffer offset.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryOffset">Dictionary buffer offset.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.LZ4Level">
|
||||
<summary>Compression level.</summary>
|
||||
</member>
|
||||
@ -987,6 +1107,9 @@
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
@ -997,21 +1120,35 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],System.Int32,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceIndex">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="length">Length of input data.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Length of input data.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
@ -1023,8 +1160,14 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="index">Input buffer offset.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte})">
|
||||
@ -1032,11 +1175,37 @@
|
||||
<param name="source">Input buffer.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle``1(System.ReadOnlySpan{System.Byte},``0)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="source">The data to inspect.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(K4os.Compression.LZ4.PickleHeader@)">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="header">Decoded header.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="output">Where the decompressed data is written.</param>
|
||||
<remarks>
|
||||
You obtain the size of the output buffer by calling <see cref="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -63,6 +63,14 @@
|
||||
Please note, it should be negative value.</param>
|
||||
<param name="length">Number of bytes to read.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.ILZ4Decoder.Peek(System.Int32)">
|
||||
<summary>
|
||||
Peeks at previously decoded bytes. Please note, <paramref name="offset"/> should be
|
||||
negative number, pointing to bytes before current head.
|
||||
</summary>
|
||||
<param name="offset">Offset in source buffer relatively to current head.
|
||||
Please note, it should be negative value.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.ILZ4Encoder">
|
||||
<summary>
|
||||
Interface of LZ4 encoder used by LZ4 streams.
|
||||
@ -96,21 +104,21 @@
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder">
|
||||
<summary>
|
||||
LZ4 decoder used with independent blocks mode. Plase note, that it will fail
|
||||
LZ4 decoder used with independent blocks mode. Please note, that it will fail
|
||||
if input data has been compressed with chained blocks
|
||||
(<see cref="T:K4os.Compression.LZ4.Encoders.LZ4FastChainEncoder"/> and <see cref="T:K4os.Compression.LZ4.Encoders.LZ4HighChainEncoder"/>)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BlockSize">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.BytesReady">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.#ctor(System.Int32)">
|
||||
<summary>Creates new instance of block decoder.</summary>
|
||||
<param name="blockSize">Block size. Must be equal or greater to one used for compression.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Decode(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -120,6 +128,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4BlockDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -163,6 +174,9 @@
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Drain(System.Byte*,System.Int32,System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.Peek(System.Int32)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Encoders.LZ4ChainDecoder.ReleaseUnmanaged">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
@ -519,6 +533,32 @@
|
||||
<param name="acceleration">Acceleration.</param>
|
||||
<returns>Number of bytes actually written to target.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.BufferPool">
|
||||
<summary>
|
||||
Naive wrapper around ArrayPool. Makes calls if something should be pooled.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:K4os.Compression.LZ4.Internal.BufferPool.MinPooledSize">
|
||||
<summary>Minimum size of the buffer that can be pooled.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>Allocate temporary buffer to store decompressed data.</summary>
|
||||
<param name="size">Minimum size of the buffer.</param>
|
||||
<param name="zero">Clear all data.</param>
|
||||
<returns>Allocated buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.IsPooled(System.Byte[])">
|
||||
<summary>
|
||||
Determines if buffer was pooled or not.
|
||||
The logic is quite simple: if buffer is smaller than 512 bytes are pooled.
|
||||
</summary>
|
||||
<param name="buffer">Buffer.</param>
|
||||
<returns><c>true</c> if buffer was pooled; <c>false</c> otherwise</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.BufferPool.Free(System.Byte[])">
|
||||
<summary>Releases allocated buffer. <see cref="M:K4os.Compression.LZ4.Internal.BufferPool.Alloc(System.Int32,System.Boolean)"/></summary>
|
||||
<param name="buffer">Previously allocated buffer.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.Mem">
|
||||
<summary>Utility class with memory related functions.</summary>
|
||||
</member>
|
||||
@ -627,18 +667,12 @@
|
||||
<returns>Pointer to allocated block.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.Free(System.Void*)">
|
||||
<summary>
|
||||
Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.
|
||||
</summary>
|
||||
<param name="ptr"></param>
|
||||
<summary>Free memory allocated previously with <see cref="M:K4os.Compression.LZ4.Internal.Mem.Alloc(System.Int32)"/>.</summary>
|
||||
<param name="ptr">Pointer to allocated block.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.Int32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray(System.UInt32[])">
|
||||
<summary>Clones managed array to unmanaged one. Allows quicker yet less safe unchecked access.</summary>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.Mem.CloneArray``1(``0[])">
|
||||
<summary>Clones managed array to unmanaged one.
|
||||
Allows quicker yet less safe unchecked access.</summary>
|
||||
<param name="array">Input array.</param>
|
||||
<returns>Cloned array.</returns>
|
||||
</member>
|
||||
@ -702,6 +736,62 @@
|
||||
<param name="target">Target address.</param>
|
||||
<param name="source">Source address.</param>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.PinnedMemory">
|
||||
<summary>
|
||||
Represents pinned memory.
|
||||
It either points to unmanaged memory or block of memory from shared array pool.
|
||||
When disposed, it handles it appropriately.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.MaxPooledSize">
|
||||
<summary>
|
||||
Maximum size of the buffer that can be pooled from shared array pool.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Pointer">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="P:K4os.Compression.LZ4.Internal.PinnedMemory.Span">
|
||||
<summary>Pointer to block of bytes as span.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Reference``1">
|
||||
<summary>Pointer to block of bytes.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Int32,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory, depending on the size it tries to use shared array pool.
|
||||
</summary>
|
||||
<param name="memory">Pinned memory pointer.</param>
|
||||
<param name="size">Size in bytes.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<returns>Allocated <see cref="T:K4os.Compression.LZ4.Internal.PinnedMemory"/>.</returns>
|
||||
<exception cref="T:System.ArgumentOutOfRangeException"></exception>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Alloc``1(K4os.Compression.LZ4.Internal.PinnedMemory@,System.Boolean)">
|
||||
<summary>
|
||||
Allocates pinned block of memory for one item from shared array pool.
|
||||
</summary>
|
||||
<param name="memory">PinnedMemory pointer.</param>
|
||||
<param name="zero">Indicates if block should be zeroed.</param>
|
||||
<typeparam name="T">Type of item.</typeparam>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Clear">
|
||||
<summary>Fill allocated block of memory with zeros.</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.Internal.PinnedMemory.Free">
|
||||
<summary>
|
||||
Releases the memory.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.Internal.UnmanagedResources">
|
||||
<summary>
|
||||
Skeleton for class with unmanaged resources.
|
||||
@ -931,12 +1021,29 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte*,System.Int32,System.Byte*,System.Int32,System.Byte*,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.ReadOnlySpan{System.Byte})">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
@ -947,6 +1054,19 @@
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Codec.Decode(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses data from given buffer.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="target">Output buffer.</param>
|
||||
<param name="targetOffset">Output buffer offset.</param>
|
||||
<param name="targetLength">Output buffer length.</param>
|
||||
<param name="dictionary">Dictionary buffer.</param>
|
||||
<param name="dictionaryOffset">Dictionary buffer offset.</param>
|
||||
<param name="dictionaryLength">Dictionary buffer length.</param>
|
||||
<returns>Number of bytes written, or negative value if output buffer is too small.</returns>
|
||||
</member>
|
||||
<member name="T:K4os.Compression.LZ4.LZ4Level">
|
||||
<summary>Compression level.</summary>
|
||||
</member>
|
||||
@ -987,6 +1107,9 @@
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
<summary>
|
||||
Pickling support with LZ4 compression.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
@ -997,21 +1120,35 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte[],System.Int32,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceIndex">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="length">Length of input data.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.Byte*,System.Int32,K4os.Compression.LZ4.LZ4Level)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle``1(System.ReadOnlySpan{System.Byte},``0,K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Length of input data.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Pickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte},K4os.Compression.LZ4.LZ4Level)">
|
||||
<summary>Compresses input buffer into self-contained package.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the compressed data is written.</param>
|
||||
<param name="level">Compression level.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
@ -1023,8 +1160,14 @@
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceOffset">Input buffer offset.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<param name="index">Input buffer offset.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="count">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte})">
|
||||
@ -1032,11 +1175,37 @@
|
||||
<param name="source">Input buffer.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.Byte*,System.Int32)">
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle``1(System.ReadOnlySpan{System.Byte},``0)">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="sourceLength">Input buffer length.</param>
|
||||
<returns>Output buffer.</returns>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="writer">Where the decompressed data is written.</param>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="source">The data to inspect.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(K4os.Compression.LZ4.PickleHeader@)">
|
||||
<summary>
|
||||
Returns the uncompressed size of a chunk of compressed data.
|
||||
</summary>
|
||||
<param name="header">Decoded header.</param>
|
||||
<returns>The size in bytes of the data once unpickled.</returns>
|
||||
</member>
|
||||
<member name="M:K4os.Compression.LZ4.LZ4Pickler.Unpickle(System.ReadOnlySpan{System.Byte},System.Span{System.Byte})">
|
||||
<summary>Decompresses previously pickled buffer (see: <see cref="T:K4os.Compression.LZ4.LZ4Pickler"/>.</summary>
|
||||
<param name="source">Input buffer.</param>
|
||||
<param name="output">Where the decompressed data is written.</param>
|
||||
<remarks>
|
||||
You obtain the size of the output buffer by calling <see cref="M:K4os.Compression.LZ4.LZ4Pickler.UnpickledSize(System.ReadOnlySpan{System.Byte})"/>.
|
||||
</remarks>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
1211
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/lib/net6.0/K4os.Compression.LZ4.xml
vendored
Normal file
1211
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/lib/net6.0/K4os.Compression.LZ4.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1211
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/lib/netstandard2.0/K4os.Compression.LZ4.xml
vendored
Normal file
1211
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/lib/netstandard2.0/K4os.Compression.LZ4.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1211
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/lib/netstandard2.1/K4os.Compression.LZ4.xml
vendored
Normal file
1211
LeatherProject/packages/K4os.Compression.LZ4.1.3.5/lib/netstandard2.1/K4os.Compression.LZ4.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user