Commit a4f817cd LN

增加亮灯处理。侧挡气缸禁用时不显示。

1 个父辈 2f6820cb
...@@ -104,6 +104,8 @@ ...@@ -104,6 +104,8 @@
<Compile Include="deviceLibrary\IO\IOBase.cs" /> <Compile Include="deviceLibrary\IO\IOBase.cs" />
<Compile Include="deviceLibrary\IO\NanjingSDotIO.cs" /> <Compile Include="deviceLibrary\IO\NanjingSDotIO.cs" />
<Compile Include="deviceLibrary\IO\NiRenIO.cs" /> <Compile Include="deviceLibrary\IO\NiRenIO.cs" />
<Compile Include="deviceLibrary\ledLabel\LedLabelController.cs" />
<Compile Include="deviceLibrary\ledLabel\LabelInfo.cs" />
<Compile Include="manager\ProjectorProcess.cs" /> <Compile Include="manager\ProjectorProcess.cs" />
<Compile Include="manager\LedManager.cs" /> <Compile Include="manager\LedManager.cs" />
<Compile Include="manager\LineWidthManager.cs" /> <Compile Include="manager\LineWidthManager.cs" />
...@@ -167,7 +169,9 @@ ...@@ -167,7 +169,9 @@
</None> </None>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="config\Positions.csv" /> <Content Include="config\Positions.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="config\BOM-US.csv"> <Content Include="config\BOM-US.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
......
...@@ -54,8 +54,11 @@ namespace TSA_V.DeviceLibrary ...@@ -54,8 +54,11 @@ namespace TSA_V.DeviceLibrary
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 7), "LineOutCheck", "X08_线体出口检测")); AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 7), "LineOutCheck", "X08_线体出口检测"));
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 8), "StopCylinder_Up", "X09_挡停气缸上升端")); AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 8), "StopCylinder_Up", "X09_挡停气缸上升端"));
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 9), "StopCylinder_Down", "X10_挡停气缸下降端")); AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 9), "StopCylinder_Down", "X10_挡停气缸下降端"));
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 10), "SideCylinder_Forward", "X11_侧挡气缸前进端")); if (!TSAVBean.DisableSideCylinder)
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 11), "SideCylinder_Back", "X12_侧挡气缸后退端")); {
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 10), "SideCylinder_Forward", "X11_侧挡气缸前进端"));
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 11), "SideCylinder_Back", "X12_侧挡气缸后退端"));
}
if (!TSAVBean.DisableBottomCylinder) if (!TSAVBean.DisableBottomCylinder)
{ {
AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 12), "BottomCylinder_Down1", "X13_底部定位气缸1下降端")); AddDI(new ConfigIO(ConfigItemType.DI, KNDIP, slaveId, (ushort)(IOBase.instance.DIStartAddress + 12), "BottomCylinder_Down1", "X13_底部定位气缸1下降端"));
...@@ -67,8 +70,11 @@ namespace TSA_V.DeviceLibrary ...@@ -67,8 +70,11 @@ namespace TSA_V.DeviceLibrary
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 3), "SMEMA_Down", "Y04_SMEMA后机送料请求")); AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 3), "SMEMA_Down", "Y04_SMEMA后机送料请求"));
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 4), "StopCylinder_Up", "Y05_挡停气缸上升SOL")); AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 4), "StopCylinder_Up", "Y05_挡停气缸上升SOL"));
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 5), "StopCylinder_Down", "Y06_挡停气缸下降SOL")); AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 5), "StopCylinder_Down", "Y06_挡停气缸下降SOL"));
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 6), "SideCylinder_Forward", "Y07_侧挡气缸前进SOL")); if (!TSAVBean.DisableSideCylinder)
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 7), "SideCylinder_Back", "Y08_侧挡气缸后退SOL")); {
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 6), "SideCylinder_Forward", "Y07_侧挡气缸前进SOL"));
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 7), "SideCylinder_Back", "Y08_侧挡气缸后退SOL"));
}
if (!TSAVBean.DisableBottomCylinder) if (!TSAVBean.DisableBottomCylinder)
{ {
AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 8), "BottomCylinder_Up", "Y09_底部定位气缸上升SOL")); AddDO(new ConfigIO(ConfigItemType.DO, KNDIP, slaveId, (ushort)(IOBase.instance.DoStartAddress + 8), "BottomCylinder_Up", "Y09_底部定位气缸上升SOL"));
......
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TSA_V.DeviceLibrary
{
public class LabelInfo
{
//public string lblPos="位置:";
//public string lblNum = "库存数量:";
//public string lblPn = "物料编码:";
//public string lblDes = "描述:";
//public string lblNotes = "注意事项:";
public LabelInfo() { }
public LabelInfo(string pos, string num, string pn, string des, string notes, string ip, string mac, bool led)
{
this.pos = pos;
this.num = num;
this.pn = pn;
this.des = des;
this.notes = notes;
this.ip = ip;
this.mac = mac;
this.openLed = led;
}
public string ip="";
public string mac="";
public string pos="";
public string num = "";
public string pn = "";
public string des = "";
public string notes = "";
public bool openLed;
public Dictionary<string,object> toMap()
{
Dictionary<string, object> map = new Dictionary<string, object>();
map.Add("lblPos", ResourceControl.GetString("Label_lblPos", "位置:"));
map.Add("lblNum", ResourceControl.GetString("Label_lblNum", "库存数量:"));
map.Add("lblPn", ResourceControl.GetString("Label_lblPn", "物料编码:"));
map.Add("lblDes", ResourceControl.GetString("Label_lblDes", "描述:"));
map.Add("lblNotes", ResourceControl.GetString("Label_lblNotes", "注意事项:"));
map.Add("pos", pos);
map.Add("num", num);
map.Add("pn", pn);
map.Add("des", des);
map.Add("notes", notes);
map.Add("styleid", 47);
string ledrgb = openLed ? "ff00" : "0";
map.Add("ledrgb", ledrgb);
map.Add(mac, mac);
return map;
}
// {
// "mac":"99.96.19.64",
// "mappingtype":868,
// "styleid":47,
// "lblPos":"位置:",
// "pos":"1_8",
// "lblNum":"库位数量:",
// "lblPn":"物料编码:",
// "lblDes":"描述:",
// "lblNotes":"注意事项:",
// "num":"234",
// "pn":"R218",
// "des":"描述内容",
// "notes":"注意事项内容",
// "边框":"",
// "边框1":"",
// "边框2":"",
// "边框3":"",
// "边框4":"",
// "边框5":"",
// "边框6":"",
// "边框7":"",
// "边框8":"",
// "边框9":"",
// "ledrgb":"ff00",
// "ledstate":"0",
// "outtime":"0"
//}
//[{"mac":"99.96.19.64","mappingtype":868,"styleid":47,"lblPos":"位置:","pos":"1_8","lblNum":"库位数量:","lblPn":"物料编码:","lblDes":"描述:","lblNotes":"注意事项:","num":"234","pn":"R218","des":"描述内容","notes":"注意事项内容","边框":"","边框1":"","边框2":"","边框3":"","边框4":"","边框5":"","边框6":"","边框7":"","边框8":"","边框9":"","ledrgb":"ff00","ledstate":"0","outtime":"0"}]
}
}
...@@ -929,6 +929,8 @@ namespace TSA_V.DeviceLibrary ...@@ -929,6 +929,8 @@ namespace TSA_V.DeviceLibrary
} }
} }
} }
LedLabelController.CloseAll();
} }
private static void CheckWorkWait() private static void CheckWorkWait()
{ {
......
...@@ -4,8 +4,7 @@ using System.Collections.Generic; ...@@ -4,8 +4,7 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
using System.Threading; using System.Threading;
using TSA_V.Common; using TSA_V.Common;
using TSA_V.DeviceLibrary.manager;
using TSA_V.LoadCSVLibrary; using TSA_V.LoadCSVLibrary;
namespace TSA_V.DeviceLibrary namespace TSA_V.DeviceLibrary
...@@ -33,6 +32,7 @@ namespace TSA_V.DeviceLibrary ...@@ -33,6 +32,7 @@ namespace TSA_V.DeviceLibrary
public DateTime endWorkTime = DateTime.Now; public DateTime endWorkTime = DateTime.Now;
public DateTime LastSetpTime = DateTime.Now; public DateTime LastSetpTime = DateTime.Now;
public uint PreNodeId = 0; public uint PreNodeId = 0;
public LabelInfo PreLabel = null ;
public List<SMTPointInfo> needWorkSmtList = new List<SMTPointInfo>(); public List<SMTPointInfo> needWorkSmtList = new List<SMTPointInfo>();
//开始工作后共工作了几块电路板`````` //开始工作后共工作了几块电路板``````
public int BoardCount = 0; public int BoardCount = 0;
...@@ -291,13 +291,17 @@ namespace TSA_V.DeviceLibrary ...@@ -291,13 +291,17 @@ namespace TSA_V.DeviceLibrary
} }
public void MoveToBag(TSAVPosition position) public void MoveToBag(TSAVPosition position)
{ {
Dictionary<string,string> pairs = new Dictionary<string,string>(); //Dictionary<string,string> pairs = new Dictionary<string,string>();
if (pairs.Count!=0) //if (pairs.Count!=0)
//{
// //关灯
// LogUtil.info($"{pairs.ToString()}");
// ScanRequestLabel.Turnoffthelights(pairs);
// pairs.Clear();
//}
if (PreLabel != null)
{ {
//关灯 LedLabelController.CloseLed(PreLabel.ip, PreLabel.mac);
LogUtil.info($"{pairs.ToString()}");
ScanRequestLabel.Turnoffthelights(pairs);
pairs.Clear();
} }
//LedManager.LedOFFALL(); //LedManager.LedOFFALL();
if (position.PositionType.Equals(1)) if (position.PositionType.Equals(1))
...@@ -326,16 +330,21 @@ namespace TSA_V.DeviceLibrary ...@@ -326,16 +330,21 @@ namespace TSA_V.DeviceLibrary
{ {
var smtPoint=TSAVBean.Work.currPoint; var smtPoint=TSAVBean.Work.currPoint;
ComponetInfo com = CSVBomManager.GetCom(BoardManager.CurrBoard.bomName, smtPoint); ComponetInfo com = CSVBomManager.GetCom(BoardManager.CurrBoard.bomName, smtPoint);
string count=null; LabelInfo label = LedLabelController.GetLabel(position, com, true);
string pnname = null; LedLabelController.OpenLed(label.ip, label.mac);
string ComponentDes=null; LedLabelController.UpdateScreen(label);
if (com!=null) PreLabel = label;
{ //string count=null;
count = com.ComCount.ToString(); //string pnname = null;
pnname=com.PN.ToString(); //string ComponentDes=null;
ComponentDes=com.ComponentDes.ToString(); //if (com!=null)
} //{
ScanRequestLabel.RequestPost(position, count, pnname, ComponentDes ,out pairs); // count = com.ComCount.ToString();
// pnname=com.PN.ToString();
// ComponentDes=com.ComponentDes.ToString();
//}
//ScanRequestLabel.RequestPost(position, count, pnname, ComponentDes ,out pairs);
} }
#endregion #endregion
else else
......
...@@ -162,6 +162,18 @@ namespace TSA_V ...@@ -162,6 +162,18 @@ namespace TSA_V
ComponetInfo com = comList[currIndex]; ComponetInfo com = comList[currIndex];
com.ComCount = newCount.ToString(); com.ComCount = newCount.ToString();
CSVBomManager.UpdateComponet(bomName, com); CSVBomManager.UpdateComponet(bomName, com);
try
{
TSAVPosition position = null;
position = CSVPositionReader<TSAVPosition>.GetPositonByNum(com.PositionNum);
LabelInfo label = LedLabelController.GetLabel(position, com, true);
LedLabelController.UpdateScreen(label);
}
catch(Exception ex)
{
LogUtil.error("备料后更新电子屏出错:" + ex.ToString());
}
} }
private void btnNext_Click(object sender, EventArgs e) private void btnNext_Click(object sender, EventArgs e)
{ {
......
...@@ -9,7 +9,6 @@ using System.Text; ...@@ -9,7 +9,6 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
using TSA_V.Common; using TSA_V.Common;
using TSA_V.DeviceLibrary.manager;
namespace TSA_V namespace TSA_V
{ {
......
...@@ -68,7 +68,7 @@ namespace TSA_V ...@@ -68,7 +68,7 @@ namespace TSA_V
this.lblVersion.Name = "lblVersion"; this.lblVersion.Name = "lblVersion";
this.lblVersion.Size = new System.Drawing.Size(65, 17); this.lblVersion.Size = new System.Drawing.Size(65, 17);
this.lblVersion.TabIndex = 11; this.lblVersion.TabIndex = 11;
this.lblVersion.Text = "版本号 3.0"; this.lblVersion.Text = "版本号 4.1";
// //
// btnExit // btnExit
// //
......
...@@ -109,7 +109,7 @@ namespace TSA_V ...@@ -109,7 +109,7 @@ namespace TSA_V
string time = GetVersion(true); string time = GetVersion(true);
System.Reflection.AssemblyName assemblyName = System.Reflection.Assembly.GetExecutingAssembly().GetName(); System.Reflection.AssemblyName assemblyName = System.Reflection.Assembly.GetExecutingAssembly().GetName();
lblVersion.Text = "V" + assemblyName.Version.ToString(); lblVersion.Text = "V" + assemblyName.Version.ToString();
lblVersion.Text = "V3.0"; lblVersion.Text = "V4.0";
//lblVersion.Text = "V" + assemblyName.Version.ToString() + "(" + time + ")"; //lblVersion.Text = "V" + assemblyName.Version.ToString() + "(" + time + ")";
LblUserName.Text = FormManager.UserInfo.Name + "/" + FormManager.UserInfo.Limit; LblUserName.Text = FormManager.UserInfo.Name + "/" + FormManager.UserInfo.Limit;
......
...@@ -31,7 +31,7 @@ using System.Runtime.InteropServices; ...@@ -31,7 +31,7 @@ using System.Runtime.InteropServices;
// //
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: // 方法是按如下所示使用“*”:
[assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("4.1.*")]
//[assembly: AssemblyVersion("1.0.0.0")] //[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")] //[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: log4net.Config.DOMConfigurator(ConfigFileExtension = "config", Watch = true)] [assembly: log4net.Config.DOMConfigurator(ConfigFileExtension = "config", Watch = true)]
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<value>SMART WORK STATION</value> <value>SMART WORK STATION</value>
</data> </data>
<data name="FrmMenu_lblVersion_Text" xml:space="preserve"> <data name="FrmMenu_lblVersion_Text" xml:space="preserve">
<value>Version 1.1.2</value> <value>Version 4.1.2</value>
</data> </data>
<data name="FrmMenu_btnExit_Text" xml:space="preserve"> <data name="FrmMenu_btnExit_Text" xml:space="preserve">
<value>Quit</value> <value>Quit</value>
...@@ -2598,4 +2598,20 @@ ...@@ -2598,4 +2598,20 @@
<data name="FrmComponentList_linkLabel2_Text" xml:space="preserve"> <data name="FrmComponentList_linkLabel2_Text" xml:space="preserve">
<value>Close LED</value> <value>Close LED</value>
</data> </data>
<data name="Label_lblPos" xml:space="preserve">
<value>Postion: </value>
</data>
<data name="Label_lblNum" xml:space="preserve">
<value>Count: </value>
</data>
<data name="Label_lblPn" xml:space="preserve">
<value>PartNumber: </value>
</data>
<data name="Label_lblDes" xml:space="preserve">
<value>Description : </value>
</data>
<data name="Label_lblNotes" xml:space="preserve">
<value>Note: </value>
</data>
</root> </root>
\ No newline at end of file \ No newline at end of file
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<value>智能组装工作站/智能工作站</value> <value>智能组装工作站/智能工作站</value>
</data> </data>
<data name="FrmMenu_lblVersion_Text" xml:space="preserve"> <data name="FrmMenu_lblVersion_Text" xml:space="preserve">
<value>版本号 1.1.2</value> <value>版本号 4.1.2</value>
</data> </data>
<data name="FrmMenu_btnExit_Text" xml:space="preserve"> <data name="FrmMenu_btnExit_Text" xml:space="preserve">
<value>退出</value> <value>退出</value>
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<value>智能组装工作站/智能工作站</value> <value>智能组装工作站/智能工作站</value>
</data> </data>
<data name="FrmMenu_lblVersion_Text" xml:space="preserve"> <data name="FrmMenu_lblVersion_Text" xml:space="preserve">
<value>版本号 1.1.2</value> <value>版本号 4.1.2</value>
</data> </data>
<data name="FrmMenu_btnExit_Text" xml:space="preserve"> <data name="FrmMenu_btnExit_Text" xml:space="preserve">
<value>退出</value> <value>退出</value>
...@@ -2604,4 +2604,20 @@ ...@@ -2604,4 +2604,20 @@
<data name="FrmComponentList_linkLabel2_Text" xml:space="preserve"> <data name="FrmComponentList_linkLabel2_Text" xml:space="preserve">
<value>关灯测试</value> <value>关灯测试</value>
</data> </data>
</root>
\ No newline at end of file \ No newline at end of file
<data name="Label_lblPos" xml:space="preserve">
<value>位置: </value>
</data>
<data name="Label_lblNum" xml:space="preserve">
<value>库存数量: </value>
</data>
<data name="Label_lblPn" xml:space="preserve">
<value>物料编码: </value>
</data>
<data name="Label_lblDes" xml:space="preserve">
<value>描述: </value>
</data>
<data name="Label_lblNotes" xml:space="preserve">
<value>注意事项: </value>
</data>
</root>
\ No newline at end of file \ No newline at end of file
...@@ -15,8 +15,7 @@ using PUSICANLibrary; ...@@ -15,8 +15,7 @@ using PUSICANLibrary;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using AOI; using AOI;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Net.Http; using System.Net.Http;
using TSA_V.DeviceLibrary.manager;
using System.Linq; using System.Linq;
using System.Configuration; using System.Configuration;
...@@ -941,6 +940,26 @@ namespace TSA_V ...@@ -941,6 +940,26 @@ namespace TSA_V
{ {
MessageBox.Show(ResourceCulture.GetString(ResourceCulture.UpdateCNumOk, "元器件【{0}】的数量已更新为【{1}】", smtPoint.TagNo, count)); MessageBox.Show(ResourceCulture.GetString(ResourceCulture.UpdateCNumOk, "元器件【{0}】的数量已更新为【{1}】", smtPoint.TagNo, count));
} }
try
{
ComponetInfo com = CSVBomManager.GetCom(BoardManager.CurrBoard.bomName, smtPoint, true);
TSAVPosition position = null;
if (com != null)
{
position = CSVPositionReader<TSAVPosition>.GetPositonByNum(com.PositionNum);
}
else
{
position = CSVPositionReader<TSAVPosition>.GetPositonByNum(smtPoint.PositionNum);
}
LabelInfo label = LedLabelController.GetLabel(position, com, true);
LedLabelController.UpdateScreen(label);
}
catch (Exception ex)
{
LogUtil.error("更改屏幕后更新电子屏出错:" + ex.ToString());
}
txtCount.Visible = false; txtCount.Visible = false;
lblCount.Text = count.ToString(); lblCount.Text = count.ToString();
......
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
...@@ -57,6 +57,17 @@ ...@@ -57,6 +57,17 @@
the contents of this method with the code editor. the contents of this method with the code editor.
</summary> </summary>
</member> </member>
<member name="P:ConfigHelper.CheckedListBoxEx.DataSource">
<summary>
绑定数据源
</summary>
<param name="data"></param>
</member>
<member name="T:ConfigHelper.CheckItem">
<summary>
Represents an item in the checklistbox
</summary>
</member>
<member name="T:ConfigHelper.Config"> <member name="T:ConfigHelper.Config">
<summary> <summary>
自定义配置存取 自定义配置存取
......
此文件类型无法预览
<?xml version="1.0"?>
<doc>
<assembly>
<name>OpenCvSharp.Extensions</name>
</assembly>
<members>
<member name="T:OpenCvSharp.Extensions.Binarizer">
<summary>
Various binarization methods (ATTENTION : The methods of this class is not implemented in OpenCV)
</summary>
</member>
<member name="M:OpenCvSharp.Extensions.Binarizer.Niblack(OpenCvSharp.Mat,OpenCvSharp.Mat,System.Int32,System.Double)">
<summary>
Binarizes by Niblack's method (This is faster but memory-hogging)
</summary>
<param name="src">Input image</param>
<param name="dst">Output image</param>
<param name="kernelSize">Window size</param>
<param name="k">Adequate coefficient</param>
</member>
<member name="M:OpenCvSharp.Extensions.Binarizer.Sauvola(OpenCvSharp.Mat,OpenCvSharp.Mat,System.Int32,System.Double,System.Double)">
<summary>
Binarizes by Sauvola's method (This is faster but memory-hogging)
</summary>
<param name="src">Input image</param>
<param name="dst">Output image</param>
<param name="kernelSize">Window size</param>
<param name="k">Adequate coefficient</param>
<param name="r">Adequate coefficient</param>
</member>
<member name="M:OpenCvSharp.Extensions.Binarizer.Bernsen(OpenCvSharp.Mat,OpenCvSharp.Mat,System.Int32,System.Byte,System.Byte)">
<summary>
Binarizes by Bernsen's method
</summary>
<param name="src">Input image</param>
<param name="dst">Output image</param>
<param name="kernelSize">Window size</param>
<param name="constrastMin">Adequate coefficient</param>
<param name="bgThreshold">Adequate coefficient</param>
</member>
<member name="M:OpenCvSharp.Extensions.Binarizer.Nick(OpenCvSharp.Mat,OpenCvSharp.Mat,System.Int32,System.Double)">
<summary>
Binarizes by Nick's method
</summary>
<param name="src">Input image</param>
<param name="dst">Output image</param>
<param name="kernelSize">Window size</param>
<param name="k">Adequate coefficient</param>
</member>
<member name="M:OpenCvSharp.Extensions.Binarizer.MinMax(OpenCvSharp.Mat,System.Int32,System.Int32,System.Int32,System.Byte@,System.Byte@)">
<summary>
注目画素の周辺画素の最大値と最小値を求める
</summary>
<param name="img">画像の画素データ</param>
<param name="x">x座標</param>
<param name="y">y座標</param>
<param name="size">周辺画素の探索サイズ。奇数でなければならない</param>
<param name="min">出力される最小値</param>
<param name="max">出力される最大値</param>
</member>
<member name="T:OpenCvSharp.Extensions.BitmapConverter">
<summary>
static class which provides conversion between System.Drawing.Bitmap and Mat
</summary>
</member>
<member name="M:OpenCvSharp.Extensions.BitmapConverter.ToMat(System.Drawing.Bitmap)">
<summary>
Converts System.Drawing.Bitmap to Mat
</summary>
<param name="src">System.Drawing.Bitmap object to be converted</param>
<returns>A Mat object which is converted from System.Drawing.Bitmap</returns>
</member>
<member name="M:OpenCvSharp.Extensions.BitmapConverter.ToMat(System.Drawing.Bitmap,OpenCvSharp.Mat)">
<summary>
Converts System.Drawing.Bitmap to Mat
</summary>
<param name="src">System.Drawing.Bitmap object to be converted</param>
<param name="dst">A Mat object which is converted from System.Drawing.Bitmap</param>
</member>
<member name="M:OpenCvSharp.Extensions.BitmapConverter.ToBitmap(OpenCvSharp.Mat)">
<summary>
Converts Mat to System.Drawing.Bitmap
</summary>
<param name="src">Mat</param>
<returns></returns>
</member>
<member name="M:OpenCvSharp.Extensions.BitmapConverter.ToBitmap(OpenCvSharp.Mat,System.Drawing.Imaging.PixelFormat)">
<summary>
Converts Mat to System.Drawing.Bitmap
</summary>
<param name="src">Mat</param>
<param name="pf">Pixel Depth</param>
<returns></returns>
</member>
<member name="M:OpenCvSharp.Extensions.BitmapConverter.ToBitmap(OpenCvSharp.Mat,System.Drawing.Bitmap)">
<summary>
Converts Mat to System.Drawing.Bitmap
</summary>
<param name="src">Mat</param>
<param name="dst">Mat</param>
<remarks>Author: shimat, Gummo (ROI support)</remarks>
</member>
<member name="T:OpenCvSharp.Extensions.CvExtensions">
<summary>
</summary>
</member>
<member name="M:OpenCvSharp.Extensions.CvExtensions.HoughLinesProbabilisticEx(OpenCvSharp.Mat,System.Double,System.Double,System.Int32,System.Double,System.Double,System.Double,System.Double)">
<summary>
</summary>
<param name="img"></param>
<param name="rho"></param>
<param name="theta"></param>
<param name="threshold"></param>
<param name="minLineLength"></param>
<param name="maxLineGap"></param>
<param name="thetaMin"></param>
<param name="thetaMax"></param>
<returns></returns>
</member>
<member name="T:OpenCvSharp.Extensions.OS">
<summary>
</summary>
</member>
<member name="T:OpenCvSharp.Extensions.Runtime">
<summary>
</summary>
</member>
<member name="T:OpenCvSharp.Extensions.Platform">
<summary>
Provides information for the platform which the user is using
</summary>
</member>
<member name="F:OpenCvSharp.Extensions.Platform.OS">
<summary>
OS type
</summary>
</member>
<member name="F:OpenCvSharp.Extensions.Platform.Runtime">
<summary>
Runtime type
</summary>
</member>
</members>
</doc>
此文件类型无法预览
此文件的差异太大,无法显示。
此文件类型无法预览
<?xml version="1.0" encoding="utf-8"?><doc>
<assembly>
<name>System.Buffers</name>
</assembly>
<members>
<member name="T:System.Buffers.ArrayPool`1">
<summary>Provides a resource pool that enables reusing instances of type <see cref="T[]"></see>.</summary>
<typeparam name="T">The type of the objects that are in the resource pool.</typeparam>
</member>
<member name="M:System.Buffers.ArrayPool`1.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class.</summary>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
<summary>Creates a new instance of the <see cref="T:System.Buffers.ArrayPool`1"></see> class using the specifed configuration.</summary>
<param name="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
<param name="maxArraysPerBucket">The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.</param>
<returns>A new instance of the <see cref="System.Buffers.ArrayPool`1"></see> class with the specified configuration.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
<summary>Retrieves a buffer that is at least the requested length.</summary>
<param name="minimumLength">The minimum length of the array.</param>
<returns>An array of type <see cref="T[]"></see> that is at least <paramref name="minimumLength">minimumLength</paramref> in length.</returns>
</member>
<member name="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
<summary>Returns an array to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method on the same <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<param name="array">A buffer to return to the pool that was previously obtained using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method.</param>
<param name="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramref name="clearArray">clearArray</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <see cref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"></see> method will clear the <paramref name="array">array</paramref> of its contents so that a subsequent caller using the <see cref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method will not see the content of the previous caller. If <paramref name="clearArray">clearArray</paramref> is set to false or if the pool will release the buffer, the array&amp;#39;s contents are left unchanged.</param>
</member>
<member name="P:System.Buffers.ArrayPool`1.Shared">
<summary>Gets a shared <see cref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
<returns>A shared <see cref="System.Buffers.ArrayPool`1"></see> instance.</returns>
</member>
</members>
</doc>
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
此文件类型无法预览
此文件的差异被折叠, 点击展开。
此文件类型无法预览
此文件的差异太大,无法显示。
此文件太大,无法显示。
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!