Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a23c24a7
由
LN
编写于
2019-11-13 15:18:23 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
68e56f25
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
193 行增加
和
89 行删除
source/ACSingleStore/ACSingleStore.csproj
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/ACSingleStore/FrmStoreBox.resx
source/ACSingleStore/ServoAxisInfo.Designer.cs
source/ACSingleStore/ServoAxisInfo.cs
source/ACSingleStore/ServoAxisInfo.resx
source/ACSingleStore/ACSingleStore.csproj
查看文件 @
a23c24a
...
@@ -112,6 +112,12 @@
...
@@ -112,6 +112,12 @@
</Compile>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServoAxisInfo.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="ServoAxisInfo.Designer.cs">
<DependentUpon>ServoAxisInfo.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="FrmAxisDebug.resx">
<EmbeddedResource Include="FrmAxisDebug.resx">
<DependentUpon>FrmAxisDebug.cs</DependentUpon>
<DependentUpon>FrmAxisDebug.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
...
@@ -146,6 +152,9 @@
...
@@ -146,6 +152,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
<DesignTime>True</DesignTime>
</Compile>
</Compile>
<EmbeddedResource Include="ServoAxisInfo.resx">
<DependentUpon>ServoAxisInfo.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
...
...
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
a23c24a
此文件的差异被折叠,
点击展开。
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
a23c24a
...
@@ -157,9 +157,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -157,9 +157,7 @@ namespace OnlineStore.ACSingleStore
btnOutStore
.
Enabled
=
isOpen
;
btnOutStore
.
Enabled
=
isOpen
;
btnInStore
.
Enabled
=
isOpen
;
btnInStore
.
Enabled
=
isOpen
;
启动
ToolStripMenuItem
.
Enabled
=
!
isOpen
;
停止
ToolStripMenuItem
.
Enabled
=
isOpen
;
复位
ToolStripMenuItem
.
Enabled
=
isOpen
;
btnStoreStart
.
Enabled
=
!
isOpen
;
btnStoreStart
.
Enabled
=
!
isOpen
;
btnSotreReset
.
Enabled
=
isOpen
;
btnSotreReset
.
Enabled
=
isOpen
;
btnStoreStop
.
Enabled
=
isOpen
;
btnStoreStop
.
Enabled
=
isOpen
;
...
@@ -185,31 +183,31 @@ namespace OnlineStore.ACSingleStore
...
@@ -185,31 +183,31 @@ namespace OnlineStore.ACSingleStore
//忙碌状态不读取状态
//忙碌状态不读取状态
if
(!
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Busy
))
if
(!
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Busy
))
{
{
if
(
chbAutoRead
.
Checked
)
//
if (chbAutoRead.Checked)
{
//
{
string
portName
=
GetPortName
();
//
string portName = GetPortName();
int
SlvAddr
=
GetSlaveAddr
();
//
int SlvAddr = GetSlaveAddr();
//判断私服是否打开、
//
//判断私服是否打开、
if
(
ACServerManager
.
ServerOnStatus
(
portName
,
SlvAddr
))
//
if (ACServerManager.ServerOnStatus(portName, SlvAddr))
{
//
{
lblServerOn
.
Text
=
"伺服ON"
;
//
lblServerOn.Text = "伺服ON";
int
lOutPulse
=
ACServerManager
.
GetTargetPosition
(
portName
,
SlvAddr
);
//
int lOutPulse = ACServerManager.GetTargetPosition(portName, SlvAddr);
lblOutPulse
.
Text
=
string
.
Format
(
"{0:d}"
,
lOutPulse
);
//
lblOutPulse.Text = string.Format("{0:d}", lOutPulse);
int
lCountPulse
=
ACServerManager
.
GetActualtPosition
(
portName
,
SlvAddr
);
//
int lCountPulse = ACServerManager.GetActualtPosition(portName, SlvAddr);
lblCountPulse
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse
);
//
lblCountPulse.Text = string.Format("{0:d}", lCountPulse);
}
//
}
else
//
else
{
//
{
lblServerOn
.
Text
=
"伺服OFF"
;
//
lblServerOn.Text = "伺服OFF";
}
//
}
}
//
}
}
}
//ReadPosistion();
//ReadPosistion();
if
(
store
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
if
(
store
.
storeRunStatus
>
StoreRunStatus
.
Wait
)
{
{
if
(
启动
ToolStripMenuItem
.
Enabled
.
Equals
(
true
))
if
(
btnStoreStart
.
Enabled
.
Equals
(
true
))
{
{
StoreOpenStatus
(
true
);
StoreOpenStatus
(
true
);
}
}
...
@@ -217,7 +215,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -217,7 +215,7 @@ namespace OnlineStore.ACSingleStore
lblThisSta
.
Text
=
store
.
GetRunStr
();
lblThisSta
.
Text
=
store
.
GetRunStr
();
//复位按钮状态显示
//复位按钮状态显示
if
(
复位
ToolStripMenuItem
.
Enabled
==
false
)
if
(
btnSotreReset
.
Enabled
==
false
)
{
{
if
((
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
HomeMoving
)
||
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Reset
))
if
((
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
HomeMoving
)
||
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Reset
))
&&
store
.
alarmType
.
Equals
(
StoreAlarmType
.
None
))
&&
store
.
alarmType
.
Equals
(
StoreAlarmType
.
None
))
...
@@ -225,9 +223,9 @@ namespace OnlineStore.ACSingleStore
...
@@ -225,9 +223,9 @@ namespace OnlineStore.ACSingleStore
}
}
else
else
{
{
if
(
复位
ToolStripMenuItem
.
Enabled
.
Equals
(
false
))
if
(
btnSotreReset
.
Enabled
.
Equals
(
false
))
{
{
复位
ToolStripMenuItem
.
Enabled
=
true
;
btnSotreReset
.
Enabled
=
true
;
}
}
}
}
}
}
...
@@ -236,10 +234,10 @@ namespace OnlineStore.ACSingleStore
...
@@ -236,10 +234,10 @@ namespace OnlineStore.ACSingleStore
if
((
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
HomeMoving
)
||
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Reset
))
if
((
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
HomeMoving
)
||
store
.
storeRunStatus
.
Equals
(
StoreRunStatus
.
Reset
))
&&
store
.
alarmType
.
Equals
(
StoreAlarmType
.
None
))
&&
store
.
alarmType
.
Equals
(
StoreAlarmType
.
None
))
{
{
if
(
启动
ToolStripMenuItem
.
Enabled
)
if
(
btnStoreStart
.
Enabled
)
{
{
启动
ToolStripMenuItem
.
Enabled
=
false
;
btnStoreStart
.
Enabled
=
false
;
复位
ToolStripMenuItem
.
Enabled
=
false
;
btnSotreReset
.
Enabled
=
false
;
}
}
}
}
}
}
...
@@ -339,8 +337,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -339,8 +337,7 @@ namespace OnlineStore.ACSingleStore
lblCountPulse1
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse1
);
lblCountPulse1
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse1
);
txtMiddleTarget
.
Text
=
store
.
Config
.
Middle_Axis
.
TargetPosition
.
ToString
();
txtMiddleTarget
.
Text
=
store
.
Config
.
Middle_Axis
.
TargetPosition
.
ToString
();
if
(
store
.
Config
.
Middle_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
if
(
store
.
Config
.
Middle_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
{
{
lblOutPulse
.
Text
=
lblOutPulse1
.
Text
;
lblCountPulse
.
Text
=
lblCountPulse1
.
Text
;
lblCountPulse
.
Text
=
lblCountPulse1
.
Text
;
}
}
}
}
...
@@ -354,8 +351,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -354,8 +351,7 @@ namespace OnlineStore.ACSingleStore
lblCountPulse2
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse2
);
lblCountPulse2
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse2
);
txtInoutTarget
.
Text
=
store
.
Config
.
InOut_Axis
.
TargetPosition
.
ToString
();
txtInoutTarget
.
Text
=
store
.
Config
.
InOut_Axis
.
TargetPosition
.
ToString
();
if
(
store
.
Config
.
UpDown_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
if
(
store
.
Config
.
UpDown_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
{
{
lblOutPulse
.
Text
=
lblOutPulse2
.
Text
;
lblCountPulse
.
Text
=
lblCountPulse2
.
Text
;
lblCountPulse
.
Text
=
lblCountPulse2
.
Text
;
}
}
}
}
...
@@ -368,8 +364,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -368,8 +364,7 @@ namespace OnlineStore.ACSingleStore
lblCountPulse3
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse3
);
lblCountPulse3
.
Text
=
string
.
Format
(
"{0:d}"
,
lCountPulse3
);
txtUpdownTarget
.
Text
=
store
.
Config
.
UpDown_Axis
.
TargetPosition
.
ToString
();
txtUpdownTarget
.
Text
=
store
.
Config
.
UpDown_Axis
.
TargetPosition
.
ToString
();
if
(
store
.
Config
.
InOut_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
if
(
store
.
Config
.
InOut_Axis
.
IsSameAxis
(
portName
,
SlvAddr
))
{
{
lblOutPulse
.
Text
=
lblOutPulse3
.
Text
;
lblCountPulse
.
Text
=
lblCountPulse3
.
Text
;
lblCountPulse
.
Text
=
lblCountPulse3
.
Text
;
}
}
}
}
...
@@ -966,8 +961,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -966,8 +961,7 @@ namespace OnlineStore.ACSingleStore
private
void
复位
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
复位
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
{
this
.
store
.
Reset
();
this
.
store
.
Reset
();
复位
ToolStripMenuItem
.
Enabled
=
false
;
btnSotreReset
.
Enabled
=
false
;
复位
ToolStripMenuItem
.
Enabled
=
false
;
}
}
private
void
查看
IOToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
查看
IOToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
...
@@ -979,23 +973,19 @@ namespace OnlineStore.ACSingleStore
...
@@ -979,23 +973,19 @@ namespace OnlineStore.ACSingleStore
{
{
this
.
richTextBox1
.
Text
=
""
;
this
.
richTextBox1
.
Text
=
""
;
}
}
private
void
开启
DEBUGToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
private
void
开启
DEBUGToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
{
if
(
LogUtil
.
debug_opened
==
false
)
if
(
LogUtil
.
debug_opened
==
false
)
{
{
开启
DEBUGToolStripMenuItem
.
Text
=
"关闭DEBUG"
;
btnLogDebug
.
Text
=
"关闭DEBUG"
;
btnLogDebug
.
Text
=
"关闭DEBUG"
;
LogUtil
.
debug_opened
=
true
;
LogUtil
.
debug_opened
=
true
;
}
}
else
else
{
{
开启
DEBUGToolStripMenuItem
.
Text
=
"开启DEBUG"
;
btnLogDebug
.
Text
=
"开启DEBUG"
;
btnLogDebug
.
Text
=
"开启DEBUG"
;
LogUtil
.
debug_opened
=
false
;
LogUtil
.
debug_opened
=
false
;
}
}
}
}
private
void
btnClearLog_Click
(
object
sender
,
EventArgs
e
)
private
void
btnClearLog_Click
(
object
sender
,
EventArgs
e
)
{
{
//this.richTextBox1.Text = "";
//this.richTextBox1.Text = "";
...
@@ -1143,22 +1133,16 @@ namespace OnlineStore.ACSingleStore
...
@@ -1143,22 +1133,16 @@ namespace OnlineStore.ACSingleStore
private
void
btnGetAlarm_Click
(
object
sender
,
EventArgs
e
)
private
void
btnGetAlarm_Click
(
object
sender
,
EventArgs
e
)
{
{
int
value
=
ACServerManager
.
GetAlarmStatus
(
GetPortName
(),
GetSlaveAddr
());
string
PortName
=
txtAxisDeviceName
.
Text
;
this
.
txtAlarmStatus
.
Text
=
value
.
ToString
();
short
SlvAddr
=
FormUtil
.
GetShortValue
(
txtAxisValue
);
}
txtServoStatue
.
Text
=
ACServerManager
.
ServerOnStatus
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtAlarmStatus
.
Text
=
ACServerManager
.
GetAlarmStatus
(
PortName
,
SlvAddr
).
ToString
();
private
void
button1_Click_1
(
object
sender
,
EventArgs
e
)
this
.
txtBusyStatus
.
Text
=
ACServerManager
.
GetBusyStatus
(
PortName
,
SlvAddr
).
ToString
();
{
this
.
txtHomeStatus
.
Text
=
ACServerManager
.
GetHomeEndStatus
(
PortName
,
SlvAddr
).
ToString
();
int
value
=
ACServerManager
.
GetBusyStatus
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtHomeSingle
.
Text
=
ACServerManager
.
GetHomeSingle
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtBusyStatus
.
Text
=
value
.
ToString
();
this
.
txtLimit1
.
Text
=
ACServerManager
.
GetLimitPositiveSingle
(
PortName
,
SlvAddr
).
ToString
();
this
.
txtLimit2
.
Text
=
ACServerManager
.
GetLimitNegativeSingle
(
PortName
,
SlvAddr
).
ToString
();
}
}
private
void
button2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetHomeEndStatus
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtHomeStatus
.
Text
=
value
.
ToString
();
}
private
void
chbAuto_CheckedChanged
(
object
sender
,
EventArgs
e
)
private
void
chbAuto_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
{
if
(!
LoadOk
)
if
(!
LoadOk
)
...
@@ -1208,7 +1192,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -1208,7 +1192,7 @@ namespace OnlineStore.ACSingleStore
{
{
this
.
timer1
.
Enabled
=
false
;
this
.
timer1
.
Enabled
=
false
;
}
}
if
(
this
.
停止
ToolStripMenuItem
.
Enabled
)
if
(
this
.
btnStoreStop
.
Enabled
)
{
{
stop_button_Click
(
null
,
null
);
stop_button_Click
(
null
,
null
);
}
}
...
@@ -1259,23 +1243,7 @@ namespace OnlineStore.ACSingleStore
...
@@ -1259,23 +1243,7 @@ namespace OnlineStore.ACSingleStore
{
{
ExitApp
();
ExitApp
();
}
}
}
}
private
void
学习二维码
ToolStripMenuItem_Click
(
object
sender
,
EventArgs
e
)
{
//IOManager.IOMove(IO_Type.CameraLight_Power, IO_VALUE.HIGH);
//CodeLibrary.FrmCodeDecode frm = new FrmCodeDecode();
//frm.ShowDialog();
//IOManager.IOMove(IO_Type.CameraLight_Power, IO_VALUE.LOW);
}
private
void
btnReadHomeSingle_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetHomeSingle
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtHomeSingle
.
Text
=
value
.
ToString
();
}
private
void
btnTempInit_Click
(
object
sender
,
EventArgs
e
)
private
void
btnTempInit_Click
(
object
sender
,
EventArgs
e
)
{
{
string
port
=
txtTempPort
.
Text
.
ToString
();
string
port
=
txtTempPort
.
Text
.
ToString
();
...
@@ -1464,16 +1432,6 @@ namespace OnlineStore.ACSingleStore
...
@@ -1464,16 +1432,6 @@ namespace OnlineStore.ACSingleStore
LogUtil
.
logBox
=
this
.
richTextBox1
;
LogUtil
.
logBox
=
this
.
richTextBox1
;
}
}
private
void
btnReadLimit1_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitPositiveSingle
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtLimit1
.
Text
=
value
.
ToString
();
}
private
void
btnReadLimit2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitNegativeSingle
(
GetPortName
(),
GetSlaveAddr
());
this
.
txtLimit2
.
Text
=
value
.
ToString
();
}
}
}
}
}
source/ACSingleStore/FrmStoreBox.resx
查看文件 @
a23c24a
...
@@ -120,9 +120,6 @@
...
@@ -120,9 +120,6 @@
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 16</value>
<value>17, 16</value>
</metadata>
</metadata>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>107, 16</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 16</value>
<value>227, 16</value>
</metadata>
</metadata>
...
...
source/ACSingleStore/ServoAxisInfo.Designer.cs
0 → 100644
查看文件 @
a23c24a
此文件的差异被折叠,
点击展开。
source/ACSingleStore/ServoAxisInfo.cs
0 → 100644
查看文件 @
a23c24a
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
using
System.Data
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Windows.Forms
;
namespace
OnlineStore.ACSingleStore
{
public
partial
class
ServoAxisInfo
:
UserControl
{
public
ServoAxisInfo
()
{
InitializeComponent
();
}
}
}
source/ACSingleStore/ServoAxisInfo.resx
0 → 100644
查看文件 @
a23c24a
<?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>
</root>
\ No newline at end of file
\ No newline at end of file
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论