Commit 4fdb58b0 LN

增加扫码补料功能

1 个父辈 6af4d630
...@@ -555,8 +555,10 @@ namespace TSA_V ...@@ -555,8 +555,10 @@ namespace TSA_V
List<BoardInfo> listb = new List<BoardInfo>(BoardManager.boardList); List<BoardInfo> listb = new List<BoardInfo>(BoardManager.boardList);
var ls = listb.Select((point) => { return point.boardName; }).ToList(); var ls = listb.Select((point) => { return point.boardName; }).ToList();
FrmSelectPoint frma = new FrmSelectPoint(ResourceCulture.GetString("FrmBoardSelect_Text", "请选择程序"), ls, 0); string selectMode = ResourceCulture.GetString("ScanReplenish", "扫码补料模式");
FrmSelectPoint frma = new FrmSelectPoint(ResourceCulture.GetString("FrmBoardSelect_Text", "请选择程序"), ls, 0, selectMode);
DialogResult result = frma.ShowDialog(); DialogResult result = frma.ShowDialog();
int workType = frma.SelectWorkMode;
if (result.Equals(DialogResult.OK)) if (result.Equals(DialogResult.OK))
{ {
BoardInfo board = listb[frma.SelectIndex]; BoardInfo board = listb[frma.SelectIndex];
...@@ -581,12 +583,27 @@ namespace TSA_V ...@@ -581,12 +583,27 @@ namespace TSA_V
} }
} }
list = (from m in list orderby m.PN ascending select m).ToList(); list = (from m in list orderby m.PN ascending select m).ToList();
FrmBoardPutCom frm = new FrmBoardPutCom(); if (workType.Equals(1))
if (frm.SetOperateInfo(board, board.bomName, list))
{ {
this.Visible = false;
frm.ShowDialog(); FrmScanPutCom frm = new FrmScanPutCom();
this.Visible = true; if (frm.SetOperateInfo(board, board.bomName, list))
{
this.Visible = false;
frm.ShowDialog();
this.Visible = true;
}
}
else
{
FrmBoardPutCom frm = new FrmBoardPutCom();
if (frm.SetOperateInfo(board, board.bomName, list))
{
this.Visible = false;
frm.ShowDialog();
this.Visible = true;
}
} }
} }
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button();
this.btnOk = new System.Windows.Forms.Button(); this.btnOk = new System.Windows.Forms.Button();
this.cmbPointList = new System.Windows.Forms.ComboBox(); this.cmbPointList = new System.Windows.Forms.ComboBox();
this.chkScanMode = new System.Windows.Forms.CheckBox();
this.SuspendLayout(); this.SuspendLayout();
// //
// btnCancel // btnCancel
...@@ -67,17 +68,29 @@ ...@@ -67,17 +68,29 @@
this.cmbPointList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbPointList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbPointList.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cmbPointList.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbPointList.FormattingEnabled = true; this.cmbPointList.FormattingEnabled = true;
this.cmbPointList.Location = new System.Drawing.Point(85, 73); this.cmbPointList.Location = new System.Drawing.Point(83, 61);
this.cmbPointList.Name = "cmbPointList"; this.cmbPointList.Name = "cmbPointList";
this.cmbPointList.Size = new System.Drawing.Size(246, 29); this.cmbPointList.Size = new System.Drawing.Size(246, 29);
this.cmbPointList.TabIndex = 275; this.cmbPointList.TabIndex = 275;
this.cmbPointList.SelectedIndexChanged += new System.EventHandler(this.cmbPointList_SelectedIndexChanged); this.cmbPointList.SelectedIndexChanged += new System.EventHandler(this.cmbPointList_SelectedIndexChanged);
// //
// chkScanMode
//
this.chkScanMode.AutoSize = true;
this.chkScanMode.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chkScanMode.Location = new System.Drawing.Point(85, 112);
this.chkScanMode.Name = "chkScanMode";
this.chkScanMode.Size = new System.Drawing.Size(112, 24);
this.chkScanMode.TabIndex = 278;
this.chkScanMode.Text = "扫码补料方式";
this.chkScanMode.UseVisualStyleBackColor = true;
//
// FrmSelectPoint // FrmSelectPoint
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(413, 261); this.ClientSize = new System.Drawing.Size(413, 261);
this.Controls.Add(this.chkScanMode);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.Controls.Add(this.btnOk); this.Controls.Add(this.btnOk);
this.Controls.Add(this.cmbPointList); this.Controls.Add(this.cmbPointList);
...@@ -85,6 +98,7 @@ ...@@ -85,6 +98,7 @@
this.Text = "请选择组件"; this.Text = "请选择组件";
this.Load += new System.EventHandler(this.FrmSelectPoint_Load); this.Load += new System.EventHandler(this.FrmSelectPoint_Load);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout();
} }
...@@ -93,5 +107,6 @@ ...@@ -93,5 +107,6 @@
private System.Windows.Forms.Button btnCancel; private System.Windows.Forms.Button btnCancel;
private System.Windows.Forms.Button btnOk; private System.Windows.Forms.Button btnOk;
private System.Windows.Forms.ComboBox cmbPointList; private System.Windows.Forms.ComboBox cmbPointList;
private System.Windows.Forms.CheckBox chkScanMode;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -17,13 +17,18 @@ namespace TSA_V ...@@ -17,13 +17,18 @@ namespace TSA_V
private List<string> pointList = new List<string>(); private List<string> pointList = new List<string>();
public int SelectIndex = -1; public int SelectIndex = -1;
public int defaultIndex = 0; public int defaultIndex = 0;
public int SelectWorkMode = 0;//默认是0,当选择扫码补料时=1,
string Title; string Title;
public FrmSelectPoint(string title,List<string> pointList,int Index) public FrmSelectPoint(string title,List<string> pointList,int Index,string chbStr="")
{ {
this.pointList = pointList; this.pointList = pointList;
InitializeComponent(); InitializeComponent();
defaultIndex = Index; defaultIndex = Index;
Title = title; Title = title;
chkScanMode.Text = chbStr;
chkScanMode.Checked = false;
chkScanMode.Visible=(!String.IsNullOrEmpty(chbStr));
} }
private FrmSelectPoint( ) private FrmSelectPoint( )
{ {
...@@ -32,6 +37,10 @@ namespace TSA_V ...@@ -32,6 +37,10 @@ namespace TSA_V
private void btnOk_Click(object sender, EventArgs e) private void btnOk_Click(object sender, EventArgs e)
{ {
if (chkScanMode.Checked)
{
SelectWorkMode = 1;
}
this.DialogResult = DialogResult.OK; this.DialogResult = DialogResult.OK;
} }
......
...@@ -2789,4 +2789,17 @@ ...@@ -2789,4 +2789,17 @@
<data name = "FrmSureAddCom_btnClose_Text" xml:space = "preserve"> <value> Cancel Addition </value> </data> <data name = "FrmSureAddCom_btnClose_Text" xml:space = "preserve"> <value> Cancel Addition </value> </data>
<data name = "FrmSureAddCom_btnSave_Text" xml:space = "preserve"> <value> Confirm Addition </value> </data> <data name = "FrmSureAddCom_btnSave_Text" xml:space = "preserve"> <value> Confirm Addition </value> </data>
<data name = "PnHasPos" xml:space = "preserve"> <value> The component [{0}] has been configured at position [{1}], please re-enter the position </value> </data> <data name = "PnHasPos" xml:space = "preserve"> <value> The component [{0}] has been configured at position [{1}], please re-enter the position </value> </data>
<data name = "ScanReplenish" xml:space = "preserve"> <value> Scan Replenishment Mode </value> </data>
<data name = "FrmSelectPoint_Text" xml:space = "preserve"> <value> Please select a component </value> </data>
<data name = "FrmSelectPoint_chkScanMode_Text" xml:space = "preserve"> <value> Scan Replenishment Mode </value> </data>
<data name = "FrmScanPutCom_Text" xml:space = "preserve"> <value> Program [43] Component Library [43] Replenishing </value> </data>
<data name = "FrmScanPutCom_label6_Text" xml:space = "preserve"> <value> PN: </value> </data>
<data name = "FrmScanPutCom_label2_Text" xml:space = "preserve"> <value> Material Number: </value> </data>
<data name = "FrmScanPutCom_btnSaveCount_Text" xml:space = "preserve"> <value> Save Quantity </value> </data>
<data name = "FrmScanPutCom_label5_Text" xml:space = "preserve"> <value> Description: </value> </data>
<data name = "FrmScanPutCom_label4_Text" xml:space = "preserve"> <value> Position: </value> </data>
<data name = "FrmScanPutCom_label1_Text" xml:space = "preserve"> <value> Tray Position: </value> </data>
<data name = "FrmScanPutCom_label3_Text" xml:space = "preserve"> <value> Quantity: </value> </data>
<data name = "FrmScanPutCom_btnCancel_Text" xml:space = "preserve"> <value> End </value> </data>
<data name = "NotFindPN" xml:space = "preserve"> <value> PN={0} not found, please scan again </value> </data>
</root> </root>
\ No newline at end of file \ No newline at end of file
...@@ -2767,4 +2767,17 @@ ...@@ -2767,4 +2767,17 @@
<data name = "FrmSureAddCom_btnClose_Text" xml:space = "preserve"> <value> 放弃添加 </value> </data> <data name = "FrmSureAddCom_btnClose_Text" xml:space = "preserve"> <value> 放弃添加 </value> </data>
<data name = "FrmSureAddCom_btnSave_Text" xml:space = "preserve"> <value> 确认添加 </value> </data> <data name = "FrmSureAddCom_btnSave_Text" xml:space = "preserve"> <value> 确认添加 </value> </data>
<data name = "PnHasPos" xml:space = "preserve"> <value> 元器件【{0}】已配置位置【{1}】,请重新输入位置 </value> </data> <data name = "PnHasPos" xml:space = "preserve"> <value> 元器件【{0}】已配置位置【{1}】,请重新输入位置 </value> </data>
<data name = "ScanReplenish" xml:space = "preserve"> <value> 扫码补料模式 </value> </data>
<data name = "FrmSelectPoint_Text" xml:space = "preserve"> <value> 请选择组件 </value> </data>
<data name = "FrmSelectPoint_chkScanMode_Text" xml:space = "preserve"> <value> 扫码补料模式 </value> </data>
<data name = "FrmScanPutCom_Text" xml:space = "preserve"> <value> 程序【43】元器件库【43】备料中 </value> </data>
<data name = "FrmScanPutCom_label6_Text" xml:space = "preserve"> <value> PN: </value> </data>
<data name = "FrmScanPutCom_label2_Text" xml:space = "preserve"> <value> 物料编号: </value> </data>
<data name = "FrmScanPutCom_btnSaveCount_Text" xml:space = "preserve"> <value> 保存数量 </value> </data>
<data name = "FrmScanPutCom_label5_Text" xml:space = "preserve"> <value> 描述: </value> </data>
<data name = "FrmScanPutCom_label4_Text" xml:space = "preserve"> <value> 位号: </value> </data>
<data name = "FrmScanPutCom_label1_Text" xml:space = "preserve"> <value> 料盘位置: </value> </data>
<data name = "FrmScanPutCom_label3_Text" xml:space = "preserve"> <value> 数量: </value> </data>
<data name = "FrmScanPutCom_btnCancel_Text" xml:space = "preserve"> <value> 结束 </value> </data>
<data name = "NotFindPN" xml:space = "preserve"> <value> 未找到对应的PN={0},请重新扫码 </value> </data>
</root> </root>
\ No newline at end of file \ No newline at end of file
...@@ -3010,5 +3010,18 @@ ...@@ -3010,5 +3010,18 @@
<data name = "FrmSureAddCom_焊点列表_Text" xml:space = "preserve"> <value> 列表 </value> </data> <data name = "FrmSureAddCom_焊点列表_Text" xml:space = "preserve"> <value> 列表 </value> </data>
<data name = "FrmSureAddCom_btnClose_Text" xml:space = "preserve"> <value> 放弃添加 </value> </data> <data name = "FrmSureAddCom_btnClose_Text" xml:space = "preserve"> <value> 放弃添加 </value> </data>
<data name = "FrmSureAddCom_btnSave_Text" xml:space = "preserve"> <value> 确认添加 </value> </data> <data name = "FrmSureAddCom_btnSave_Text" xml:space = "preserve"> <value> 确认添加 </value> </data>
<data name = "PnHasPos" xml:space = "preserve"> <value> 元器件【{0}】已配置位置【{1}】,请重新输入位置 </value> </data> <data name = "PnHasPos" xml:space = "preserve"> <value> 元器件【{0}】已配置位置【{1}】,请重新输入位置 </value> </data>
<data name = "ScanReplenish" xml:space = "preserve"> <value> 扫码补料模式 </value> </data>
<data name = "FrmSelectPoint_Text" xml:space = "preserve"> <value> 请选择组件 </value> </data>
<data name = "FrmSelectPoint_chkScanMode_Text" xml:space = "preserve"> <value> 扫码补料模式 </value> </data>
<data name = "FrmScanPutCom_Text" xml:space = "preserve"> <value> 程序【43】元器件库【43】备料中 </value> </data>
<data name = "FrmScanPutCom_label6_Text" xml:space = "preserve"> <value> PN: </value> </data>
<data name = "FrmScanPutCom_label2_Text" xml:space = "preserve"> <value> 物料编号: </value> </data>
<data name = "FrmScanPutCom_btnSaveCount_Text" xml:space = "preserve"> <value> 保存数量 </value> </data>
<data name = "FrmScanPutCom_label5_Text" xml:space = "preserve"> <value> 描述: </value> </data>
<data name = "FrmScanPutCom_label4_Text" xml:space = "preserve"> <value> 位号: </value> </data>
<data name = "FrmScanPutCom_label1_Text" xml:space = "preserve"> <value> 料盘位置: </value> </data>
<data name = "FrmScanPutCom_label3_Text" xml:space = "preserve"> <value> 数量: </value> </data>
<data name = "FrmScanPutCom_btnCancel_Text" xml:space = "preserve"> <value> 结束 </value> </data>
<data name = "NotFindPN" xml:space = "preserve"> <value> 未找到对应的PN={0},请重新扫码 </value> </data>
</root> </root>
\ No newline at end of file \ No newline at end of file
...@@ -209,6 +209,12 @@ ...@@ -209,6 +209,12 @@
<Compile Include="frmBoard\FrmListViewer.Designer.cs"> <Compile Include="frmBoard\FrmListViewer.Designer.cs">
<DependentUpon>FrmListViewer.cs</DependentUpon> <DependentUpon>FrmListViewer.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="frmCom\FrmScanPutCom.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmCom\FrmScanPutCom.Designer.cs">
<DependentUpon>FrmScanPutCom.cs</DependentUpon>
</Compile>
<Compile Include="frmCom\FrmSureAddCom.cs"> <Compile Include="frmCom\FrmSureAddCom.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
...@@ -234,10 +240,10 @@ ...@@ -234,10 +240,10 @@
<Compile Include="frmBoard\FrmAddBoard.Designer.cs"> <Compile Include="frmBoard\FrmAddBoard.Designer.cs">
<DependentUpon>FrmAddBoard.cs</DependentUpon> <DependentUpon>FrmAddBoard.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmAddCom.cs"> <Compile Include="frmCom\FrmAddCom.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="FrmAddCom.Designer.cs"> <Compile Include="frmCom\FrmAddCom.Designer.cs">
<DependentUpon>FrmAddCom.cs</DependentUpon> <DependentUpon>FrmAddCom.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmBase.cs"> <Compile Include="FrmBase.cs">
...@@ -294,10 +300,10 @@ ...@@ -294,10 +300,10 @@
<Compile Include="FrmChangeWidth.Designer.cs"> <Compile Include="FrmChangeWidth.Designer.cs">
<DependentUpon>FrmChangeWidth.cs</DependentUpon> <DependentUpon>FrmChangeWidth.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmBoardPutCom.cs"> <Compile Include="frmCom\FrmBoardPutCom.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="FrmBoardPutCom.Designer.cs"> <Compile Include="frmCom\FrmBoardPutCom.Designer.cs">
<DependentUpon>FrmBoardPutCom.cs</DependentUpon> <DependentUpon>FrmBoardPutCom.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="manager\MouseManager.cs" /> <Compile Include="manager\MouseManager.cs" />
...@@ -394,10 +400,10 @@ ...@@ -394,10 +400,10 @@
<Compile Include="FrmMenu.Designer.cs"> <Compile Include="FrmMenu.Designer.cs">
<DependentUpon>FrmMenu.cs</DependentUpon> <DependentUpon>FrmMenu.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmPutCom.cs"> <Compile Include="frmCom\FrmPutCom.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="FrmPutCom.Designer.cs"> <Compile Include="frmCom\FrmPutCom.Designer.cs">
<DependentUpon>FrmPutCom.cs</DependentUpon> <DependentUpon>FrmPutCom.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmSelectPoint.cs"> <Compile Include="FrmSelectPoint.cs">
...@@ -451,7 +457,7 @@ ...@@ -451,7 +457,7 @@
<EmbeddedResource Include="frmBoard\FrmAddBoard.resx"> <EmbeddedResource Include="frmBoard\FrmAddBoard.resx">
<DependentUpon>FrmAddBoard.cs</DependentUpon> <DependentUpon>FrmAddBoard.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmAddCom.resx"> <EmbeddedResource Include="frmCom\FrmAddCom.resx">
<DependentUpon>FrmAddCom.cs</DependentUpon> <DependentUpon>FrmAddCom.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmBase.resx"> <EmbeddedResource Include="FrmBase.resx">
...@@ -485,6 +491,9 @@ ...@@ -485,6 +491,9 @@
<EmbeddedResource Include="frmBoard\FrmListViewer.resx"> <EmbeddedResource Include="frmBoard\FrmListViewer.resx">
<DependentUpon>FrmListViewer.cs</DependentUpon> <DependentUpon>FrmListViewer.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="frmCom\FrmScanPutCom.resx">
<DependentUpon>FrmScanPutCom.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmCom\FrmSureAddCom.resx"> <EmbeddedResource Include="frmCom\FrmSureAddCom.resx">
<DependentUpon>FrmSureAddCom.cs</DependentUpon> <DependentUpon>FrmSureAddCom.cs</DependentUpon>
<SubType>Designer</SubType> <SubType>Designer</SubType>
...@@ -508,7 +517,7 @@ ...@@ -508,7 +517,7 @@
<EmbeddedResource Include="FrmChangeWidth.resx"> <EmbeddedResource Include="FrmChangeWidth.resx">
<DependentUpon>FrmChangeWidth.cs</DependentUpon> <DependentUpon>FrmChangeWidth.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmBoardPutCom.resx"> <EmbeddedResource Include="frmCom\FrmBoardPutCom.resx">
<DependentUpon>FrmBoardPutCom.cs</DependentUpon> <DependentUpon>FrmBoardPutCom.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="projector\FrmViewScreen.resx"> <EmbeddedResource Include="projector\FrmViewScreen.resx">
...@@ -560,7 +569,7 @@ ...@@ -560,7 +569,7 @@
<EmbeddedResource Include="FrmMenu.resx"> <EmbeddedResource Include="FrmMenu.resx">
<DependentUpon>FrmMenu.cs</DependentUpon> <DependentUpon>FrmMenu.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmPutCom.resx"> <EmbeddedResource Include="frmCom\FrmPutCom.resx">
<DependentUpon>FrmPutCom.cs</DependentUpon> <DependentUpon>FrmPutCom.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmSelectPoint.resx"> <EmbeddedResource Include="FrmSelectPoint.resx">
......
<?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="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file \ No newline at end of file
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!