Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
hemei
Commits
12817411
Commit
12817411
authored
Jan 08, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除多余的style
parent
23594aec
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
81 deletions
+45
-81
DynAreaWinder.xaml
...ing/FLY.DownBlowing.UI.Client/UiModule/DynAreaWinder.xaml
+0
-9
DynAreaIbc.xaml
Project.FLY.IBC/FLY.IBC.UI.Client/UiModule/DynAreaIbc.xaml
+0
-10
DynAreaWeight.xaml
...Weight2/FLY.Weight2.UI.Client/UiModule/DynAreaWeight.xaml
+0
-9
WdDRList.xaml.cs
Project.FLY.Weight2/FLY.Weight2.UI.Server/WdDRList.xaml.cs
+44
-44
DynAreaWinder.xaml
...20190413/FLY.Winder.UI.Client/UiModule/DynAreaWinder.xaml
+0
-8
thick_public
thick_public
+1
-1
No files found.
Project.FLY.DownBlowing/FLY.DownBlowing.UI.Client/UiModule/DynAreaWinder.xaml
View file @
12817411
...
...
@@ -19,15 +19,6 @@
<sys:Double x:Key="FontSize_title">18</sys:Double>
<sys:Double x:Key="FontSize_unit">12</sys:Double>
<!--<Style TargetType="{x:Type Path}" x:Key="PathStyle_icon">
<Setter Property="Fill" Value="White"/>
<Setter Property="Stretch" Value="Uniform"/>
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
</Style>-->
<conv:IsGTMultiValueConverter x:Key="isgtconv"/>
<conv:RatioConverter x:Key="ratioconv" />
...
...
Project.FLY.IBC/FLY.IBC.UI.Client/UiModule/DynAreaIbc.xaml
View file @
12817411
...
...
@@ -16,16 +16,6 @@
<ResourceDictionary Source="pack://application:,,,/FLY.IBC.UI.Client;component/UnitTests/UnitTests_ibc.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style TargetType="{x:Type Path}" x:Key="PathStyle_icon">
<Setter Property="Fill" Value="White"/>
<Setter Property="Stretch" Value="Uniform"/>
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
</Style>
</ResourceDictionary>
</UserControl.Resources>
...
...
Project.FLY.Weight2/FLY.Weight2.UI.Client/UiModule/DynAreaWeight.xaml
View file @
12817411
...
...
@@ -12,15 +12,6 @@
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/FLY.Weight2.UI.Client;component/Themes/UcWeighterItemStyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style TargetType="{x:Type Path}" x:Key="PathStyle_icon">
<Setter Property="Fill" Value="White"/>
<Setter Property="Stretch" Value="Uniform"/>
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
</Style>
</ResourceDictionary>
</UserControl.Resources>
...
...
Project.FLY.Weight2/FLY.Weight2.UI.Server/WdDRList.xaml.cs
View file @
12817411
...
...
@@ -19,50 +19,6 @@ namespace FLY.Weight2.UI.Server
{
/// <summary>
/// DRList.xaml 的交互逻辑
public
class
DataToRegsView
:
INotifyPropertyChanged
{
public
DataToRegs
dr
;
/// <summary>
/// 对应 PLC寄存器区 coil or register
/// </summary>
public
PLCAddressArea
DataArea
{
get
;
set
;
}
/// <summary>
/// PLC 首地址
/// </summary>
public
int
Addr
{
get
;
set
;
}
/// <summary>
/// object 的 property 名称, 只能是 数字类型都是double, 剩下就是 bool
/// </summary>
public
string
PropertyName
{
get
;
set
;
}
/// <summary>
/// property 描述
/// </summary>
public
string
Description
{
get
;
set
;
}
/// <summary>
/// property 的值, 没有缩小. 只有 double 与 bool
/// </summary>
public
object
Value
{
get
;
set
;
}
/// <summary>
/// 需要从PLC读取数据更新
/// </summary>
public
bool
IsNeedUpdate
{
get
;
set
;
}
public
event
PropertyChangedEventHandler
PropertyChanged
;
/// <summary>
///
/// </summary>
/// <returns></returns>
public
override
string
ToString
()
{
return
PropertyName
+
" ["
+
((
int
)
DataArea
).
ToString
()
+
"]("
+
Addr
+
")"
;
}
}
/// </summary>
public
partial
class
WdDRList
:
Window
{
...
...
@@ -138,4 +94,48 @@ namespace FLY.Weight2.UI.Server
/// Data: PC 属性
/// Regs: PLC 对象(寄存器、线圈)
/// </summary>
public
class
DataToRegsView
:
INotifyPropertyChanged
{
public
DataToRegs
dr
;
/// <summary>
/// 对应 PLC寄存器区 coil or register
/// </summary>
public
PLCAddressArea
DataArea
{
get
;
set
;
}
/// <summary>
/// PLC 首地址
/// </summary>
public
int
Addr
{
get
;
set
;
}
/// <summary>
/// object 的 property 名称, 只能是 数字类型都是double, 剩下就是 bool
/// </summary>
public
string
PropertyName
{
get
;
set
;
}
/// <summary>
/// property 描述
/// </summary>
public
string
Description
{
get
;
set
;
}
/// <summary>
/// property 的值, 没有缩小. 只有 double 与 bool
/// </summary>
public
object
Value
{
get
;
set
;
}
/// <summary>
/// 需要从PLC读取数据更新
/// </summary>
public
bool
IsNeedUpdate
{
get
;
set
;
}
public
event
PropertyChangedEventHandler
PropertyChanged
;
/// <summary>
///
/// </summary>
/// <returns></returns>
public
override
string
ToString
()
{
return
PropertyName
+
" ["
+
((
int
)
DataArea
).
ToString
()
+
"]("
+
Addr
+
")"
;
}
}
}
Project.FLY.Winder_20190413/FLY.Winder.UI.Client/UiModule/DynAreaWinder.xaml
View file @
12817411
...
...
@@ -22,14 +22,6 @@
<sys:Double x:Key="FontSize_unit">12</sys:Double>
<Style TargetType="{x:Type Path}" x:Key="PathStyle_icon">
<Setter Property="Fill" Value="White"/>
<Setter Property="Stretch" Value="Uniform"/>
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
</Style>
<conv:IsGTMultiValueConverter x:Key="isgtconv"/>
<conv:RatioConverter x:Key="ratioconv" />
</ResourceDictionary>
...
...
thick_public
@
dfc736b7
Subproject commit
85d39bdfc3d7b84fee2e239de1139e63ac5ee0ef
Subproject commit
dfc736b7038eb4b280e0f590e76ed7a69722f197
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment