自定义几个控件

master
nodyang 1 year ago
parent ffc4a8fc8f
commit dc08c7a09e

@ -89,7 +89,17 @@
<Compile Include="GanHunJi.Designer.cs">
<DependentUpon>GanHunJi.cs</DependentUpon>
</Compile>
<Compile Include="HslBottle.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="HslDirectionStyle.cs" />
<Compile Include="HslHelper.cs" />
<Compile Include="HslPipeLine.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="HslPipeLineThree.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="HslPipeTurnDirection.cs" />
<Compile Include="HslTruck.cs">
<SubType>UserControl</SubType>

@ -1449,5 +1449,88 @@
</Propertys>
<DataBinding></DataBinding>
</Component>
<Component Name="HslPipeLine" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
<Property Name="Status" Caption="状态" Group=""/>
<Property Name="PipeLineStyle" Caption="获取或设置管道控件是否是横向的还是纵向的" Group="" />
<Property Name="BackColor" Caption="获取或设置控件的背景色" Group="" />
<Property Name="EdgeColor" Caption="获取或设置管道控件的边缘颜色" Group="" />
<Property Name="LineCenterColor" Caption="获取或设置管道控件的中心颜色" Group="" />
<Property Name="PipeTurnLeft" Caption="获取或设置管道控件左侧或是上方的端点朝向" Group="" />
<Property Name="PipeTurnRight" Caption="获取或设置管道控件左侧或是上方的端点朝向" Group="" />
<Property Name="PipeLineActive" Caption="获取或设置管道线是否激活液体显示" Group="" />
<Property Name="MoveSpeed" Caption="获取或设置管道线液体流动的速度0为静止正数为正向流动负数为反向流动" Group="" />
<Property Name="TimerInterval" Caption="获取或设置液体控制的定时器刷新的间隔默认是50" Group="" />
<Property Name="ActiveLineCenterColor" Caption="获取或设置流动状态时管道控件的中心颜色" Group="" />
<Property Name="AntLength" Caption="长度信息" Group="" />
</Propertys>
<DataBinding></DataBinding>
</Component>
<Component Name="HslPipeLineThree" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
<Property Name="Status" Caption="状态" Group=""/>
<Property Name="BackColor" Caption="获取或设置控件的背景色" Group=""/>
<Property Name="EdgeColor" Caption="获取或设置管道控件的边缘颜色" Group=""/>
<Property Name="LineCenterColor" Caption="获取或设置管道控件的中心颜色" Group=""/>
<Property Name="PipeLineStyle" Caption="获取或设置管道控件是否是横向的还是纵向的" Group=""/>
<Property Name="PipeLineActive1" Caption="获取或设置管道线是否激活液体显示" Group=""/>
<Property Name="PipeLineActive2" Caption="获取或设置管道线是否激活液体显示" Group=""/>
<Property Name="PipeLineActive3" Caption="获取或设置管道线是否激活液体显示" Group=""/>
<Property Name="MoveSpeed1" Caption="获取或设置管道线液体流动的速度0为静止正数为正向流动负数为反向流动" Group=""/>
<Property Name="MoveSpeed2" Caption="获取或设置管道线液体流动的速度0为静止正数为正向流动负数为反向流动" Group=""/>
<Property Name="MoveSpeed3" Caption="获取或设置管道线液体流动的速度0为静止正数为正向流动负数为反向流动" Group=""/>
<Property Name="TimerInterval" Caption="获取或设置液体控制的定时器刷新的间隔默认是50" Group=""/>
<Property Name="PipeLineWidth" Caption="获获取或设置中间管道线的宽度信息默认为3" Group=""/>
<Property Name="ActiveLineCenterColor" Caption="获取或设置流动状态时管道控件的中心颜色" Group=""/>
<Property Name="PipeWidth" Caption="获取或设置管道的宽度默认为30" Group=""/>
<Property Name="AntLength" Caption="获取或设置蚂蚁线的长度信息" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="HslBottle" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
<Property Name="Status" Caption="状态" Group=""/>
<Property Name="BackColor" Caption="获取或设置控件的背景色" Group=""/>
<Property Name="Value" Caption="获取或设置瓶子的液位值" Group=""/>
<Property Name="IsOpen" Caption="获取或设置瓶子是否处于打开的状态" Group=""/>
<Property Name="BottleTag" Caption="获取或设置瓶子的标签信息,用于绘制在瓶子上的信息" Group=""/>
<Property Name="HeadTag" Caption="获取或设置瓶子的备注信息,用于绘制在瓶子顶部的信息" Group=""/>
<Property Name="DockHeight" Caption="获取或设置控件底座的高度" Group=""/>
<Property Name="ForeColorEdge" Caption="获取或设置前景色的边缘颜色内容" Group=""/>
<Property Name="ForeColorCenter" Caption="获取或设置前景色的中心颜色内容" Group=""/>
<Property Name="ForeColorTop" Caption="获取或设置前景色的顶部颜色内容" Group=""/>
<Property Name="BackColorEdge" Caption="获取或设置背景色的边缘颜色内容" Group=""/>
<Property Name="BackColorCenter" Caption="获取或设置背景色的中心颜色内容" Group=""/>
<Property Name="BackColorTop" Caption="获取或设置背景色的顶部颜色内容" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
</Components>

@ -22,9 +22,11 @@
<Node Name="FrmRecipeType" Text="配方类别" ToolTipText="FrmRecipeType" Tag="FrmRecipeType" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="FormMain" Text="主监控" ToolTipText="FormMain" Tag="FormMain" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="Form1" Text="临时集成1" ToolTipText="Form1" Tag="Form1" ImageIndex="3" SelectedImageIndex="3" />
<Node Name="Form1" Text="主要用来测试" ToolTipText="Form1" Tag="Form1" ImageIndex="3" SelectedImageIndex="3" />
</Node>
<Node Name="nodeDevice" Text="设备" ToolTipText="" Tag="nodeDevice" ImageIndex="2" SelectedImageIndex="2">
<Node Name="CWSS_PLC" Text="CWSS_PLC" ToolTipText="" Tag="CWSS_PLC" ImageIndex="5" SelectedImageIndex="5" />
<Node Name="ParametersWithPc" Text="ParametersWithPc" ToolTipText="" Tag="ParametersWithPc" ImageIndex="5" SelectedImageIndex="5" />
</Node>
<Node Name="nodeDataSource" Text="数据源" ToolTipText="" Tag="nodeDataSource" ImageIndex="6" SelectedImageIndex="6">
<Node Name="DataSource1" Text="DataSource1" ToolTipText="" Tag="DataSource1" ImageIndex="7" SelectedImageIndex="7" />

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -1814,7 +1814,7 @@
<Property name="MCPurview">False</Property>
<Property name="AllowOriginalSizeShow">False</Property>
<Property name="BackColor">Control</Property>
<Property name="Size">1674, 1282</Property>
<Property name="Size">1674, 1100</Property>
<Property name="StartPosition">WindowsDefaultLocation</Property>
<Property name="Text">主监控</Property>
<Property name="WindowState">Normal</Property>

File diff suppressed because one or more lines are too long

@ -114,6 +114,10 @@
<ToolComponent chineseName="人工小料口右" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.RightTong" />
<ToolComponent chineseName="备料桶" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.BeiLiaoTong" />
<ToolComponent chineseName="自定义小车" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.HslTruck" />
<ToolComponent chineseName="管道" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.HslPipeLine" />
<ToolComponent chineseName="3管道" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.HslPipeLineThree" />
<ToolComponent chineseName="罐子" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.HslBottle" />
</Category>
</Categories>

Loading…
Cancel
Save