Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
thick-casting
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
潘栩锋
thick-casting
Commits
860cc3c1
Commit
860cc3c1
authored
Mar 04, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
把称重状态的报警提示关闭
parent
27d5d716
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
188 additions
and
125 deletions
+188
-125
DynAreaWeight.xaml
...eight/FLY.Weight.UI.Client/UiModule/V3/DynAreaWeight.xaml
+41
-43
DynAreaWeight.xaml.cs
...ht/FLY.Weight.UI.Client/UiModule/V3/DynAreaWeight.xaml.cs
+3
-6
DynAreaWeightV4.xaml
...ght/FLY.Weight.UI.Client/UiModule/V4/DynAreaWeightV4.xaml
+23
-24
DynAreaWeightV4.xaml.cs
.../FLY.Weight.UI.Client/UiModule/V4/DynAreaWeightV4.xaml.cs
+3
-7
DynAreaWeightV5.xaml
...ght/FLY.Weight.UI.Client/UiModule/V5/DynAreaWeightV5.xaml
+35
-36
DynAreaWeightV5.xaml.cs
.../FLY.Weight.UI.Client/UiModule/V5/DynAreaWeightV5.xaml.cs
+2
-7
gage0.service.config
脚本/流延客户端容器描述.unity/unity/gage0.service.config
+2
-0
relationship.json
脚本/流延客户端容器描述.unity/unity/relationship.json
+4
-2
warnings.service.config
脚本/流延客户端容器描述.unity/unity/warnings.service.config
+9
-0
weighter.component.config
脚本/流延客户端容器描述.unity/unity/weighter.component.config
+18
-0
weighter.service.config
脚本/流延客户端容器描述.unity/unity/weighter.service.config
+48
-0
No files found.
Project.FLY.Weight/FLY.Weight.UI.Client/UiModule/V3/DynAreaWeight.xaml
View file @
860cc3c1
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<ResourceDictionary Source="pack://application:,,,/FLY.Weight.UI.Client;component/Themes/UcWeighterItemStyle.xaml"/>
<ResourceDictionary Source="pack://application:,,,/FLY.Weight.UI.Client;component/Themes/UcWeighterItemStyle.xaml"/>
<ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/DynAreaErrorStyle.xaml"/>
<ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/DynAreaErrorStyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary.MergedDictionaries>
<baseUiModule:DynAreaErrorVm2 x:Key="errorVm" IsError="True" ErrMsg="枫莱尔控制器连接断开 枫莱尔控制器连接断开"/>
</ResourceDictionary>
</ResourceDictionary>
</UserControl.Resources>
</UserControl.Resources>
...
@@ -22,63 +21,62 @@
...
@@ -22,63 +21,62 @@
<Grid Height="150">
<Grid Height="150">
<Grid x:Name="grid_weighter" d:DataContext="{StaticResource unittests_weighters}"/>
<Grid x:Name="grid_weighter" d:DataContext="{StaticResource unittests_weighters}"/>
<Border Style="{StaticResource Styles.Module.Border}"
<Border Style="{StaticResource Styles.Module.Border}"
Background="{StaticResource Color_background}"
Background="{StaticResource Color_background}"
DataContext="{Binding DataContext,ElementName=grid_weighter}"
DataContext="{Binding DataContext,ElementName=grid_weighter}"
>
>
<StackPanel >
<StackPanel >
<Grid Name="grid_flow" Margin="2">
<Grid Name="grid_flow" Margin="2">
<Grid.ColumnDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
</Grid.RowDefinitions>
<control:PieChart Grid.RowSpan="2" Width="60" Height="60" Margin="10"
<control:PieChart Grid.RowSpan="2" Width="60" Height="60" Margin="10"
ItemValueBinding="CurrentFlow" ItemColorBinding="Color"
ItemValueBinding="CurrentFlow" ItemColorBinding="Color"
ItemsSource="{Binding Items}"
ItemsSource="{Binding Items}"
/>
/>
<TextBlock Grid.Column="1" Text="总流量" Style="{StaticResource TextBlockStyle_title}" />
<TextBlock Grid.Column="1" Text="总流量" Style="{StaticResource TextBlockStyle_title}" />
<Viewbox Grid.Column="1" Grid.Row="1" MaxHeight="80" HorizontalAlignment="Left">
<Viewbox Grid.Column="1" Grid.Row="1" MaxHeight="80" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal">
<StackPanel Orientation="Horizontal">
<TextBlock Margin="4" >
<TextBlock Margin="4" >
<Run Text="{Binding Accessory.TotalFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
<Run Text="{Binding Accessory.TotalFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
</TextBlock>
</TextBlock>
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="20" />
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="20" />
</StackPanel>
</StackPanel>
</Viewbox>
</Viewbox>
</Grid>
</Grid>
<Grid Margin="2">
<Grid Margin="2">
<Grid.ColumnDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="2">
<StackPanel Orientation="Horizontal" Margin="2">
<TextBlock Text="平均厚度" FontSize="12" FontWeight="Bold" FontFamily="YouYuan" TextAlignment="Center" HorizontalAlignment="Center" Foreground="#FF3B3B3B" />
<TextBlock Text="平均厚度" FontSize="12" FontWeight="Bold" FontFamily="YouYuan" TextAlignment="Center" HorizontalAlignment="Center" Foreground="#FF3B3B3B" />
<StackPanel Orientation="Horizontal" Margin="5,0">
<StackPanel Orientation="Horizontal" Margin="5,0">
<TextBlock Text="{Binding Accessory.Thickness, StringFormat={}{0:F1}}" FontSize="24" FontFamily="Microsoft Sans Serif" TextAlignment="Center" HorizontalAlignment="Center" Foreground="{StaticResource Color_theme_activity}" />
<TextBlock Text="{Binding Accessory.Thickness, StringFormat={}{0:F1}}" FontSize="24" FontFamily="Microsoft Sans Serif" TextAlignment="Center" HorizontalAlignment="Center" Foreground="{StaticResource Color_theme_activity}" />
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="um" FontSize="12" />
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="um" FontSize="12" />
</StackPanel>
</StackPanel>
</StackPanel>
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="2"
>
</StackPanel
>
<TextBlock Text="边料" FontSize="12" FontWeight="Bold" FontFamily="YouYuan" TextAlignment="Center" HorizontalAlignment="Center" Foreground="#FF3B3B3B" /
>
<StackPanel Grid.Column="1" Orientation="Horizontal" Margin="2"
>
<StackPanel Orientation="Horizontal" Margin="5,0"
>
<TextBlock Text="边料" FontSize="12" FontWeight="Bold" FontFamily="YouYuan" TextAlignment="Center" HorizontalAlignment="Center" Foreground="#FF3B3B3B" /
>
<TextBlock Text="{Binding Accessory.RimCharge, StringFormat={}{0:F1}}" FontSize="24" FontFamily="Microsoft Sans Serif" TextAlignment="Center" HorizontalAlignment="Center" Foreground="{StaticResource Color_theme_activity}" /
>
<StackPanel Orientation="Horizontal" Margin="5,0"
>
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="12
" />
<TextBlock Text="{Binding Accessory.RimCharge, StringFormat={}{0:F1}}" FontSize="24" FontFamily="Microsoft Sans Serif" TextAlignment="Center" HorizontalAlignment="Center" Foreground="{StaticResource Color_theme_activity}
" />
<
/StackPanel
>
<
TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="12" /
>
</StackPanel>
</StackPanel>
</
Grid
>
</
StackPanel
>
</
StackPanel
>
</
Grid
>
</
Border
>
</
StackPanel
>
<
Button x:Name="grid_error" Style="{StaticResource DynAreaErrorStyle}" d:DataContext="{StaticResource errorVm}"/
>
<
/Border
>
</Grid>
</Grid>
...
...
Project.FLY.Weight/FLY.Weight.UI.Client/UiModule/V3/DynAreaWeight.xaml.cs
View file @
860cc3c1
...
@@ -31,7 +31,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -31,7 +31,7 @@ namespace FLY.Weight.UI.Client.UiModule
IUnityContainer
container
;
IUnityContainer
container
;
IWeightSystemService
weightSystemService
;
IWeightSystemService
weightSystemService
;
DynAreaErrorVm2
errorVm
;
SetPLCUpdatePlan
setPlan
;
SetPLCUpdatePlan
setPlan
;
public
DynAreaWeight
()
public
DynAreaWeight
()
...
@@ -43,8 +43,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -43,8 +43,7 @@ namespace FLY.Weight.UI.Client.UiModule
[
InjectionMethod
]
[
InjectionMethod
]
public
void
Init
(
public
void
Init
(
IUnityContainer
container
,
IUnityContainer
container
,
IWeightSystemService
weightSystemService
,
IWeightSystemService
weightSystemService
)
[
Dependency
(
"weighterWarningService"
)]
IWarningSystem2Service
warningSystem
)
{
{
this
.
container
=
container
;
this
.
container
=
container
;
this
.
weightSystemService
=
weightSystemService
;
this
.
weightSystemService
=
weightSystemService
;
...
@@ -52,9 +51,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -52,9 +51,7 @@ namespace FLY.Weight.UI.Client.UiModule
grid_weighter
.
DataContext
=
this
.
weightSystemService
;
grid_weighter
.
DataContext
=
this
.
weightSystemService
;
errorVm
=
new
DynAreaErrorVm2
();
errorVm
.
Init
(
container
,
warningSystem
,
"称重"
);
grid_error
.
DataContext
=
errorVm
;
//注册属性更新计划
//注册属性更新计划
string
objname
=
nameof
(
IWeightSystemService
.
Accessory
);
string
objname
=
nameof
(
IWeightSystemService
.
Accessory
);
...
...
Project.FLY.Weight/FLY.Weight.UI.Client/UiModule/V4/DynAreaWeightV4.xaml
View file @
860cc3c1
...
@@ -22,43 +22,42 @@
...
@@ -22,43 +22,42 @@
<Grid Height="120">
<Grid Height="120">
<Grid x:Name="grid_weighter" d:DataContext="{StaticResource unittests_weighters}"/>
<Grid x:Name="grid_weighter" d:DataContext="{StaticResource unittests_weighters}"/>
<Border Style="{StaticResource Styles.Module.Border}"
<Border Style="{StaticResource Styles.Module.Border}"
Background="{StaticResource Color_background}"
Background="{StaticResource Color_background}"
DataContext="{Binding DataContext,ElementName=grid_weighter}"
DataContext="{Binding DataContext,ElementName=grid_weighter}"
>
>
<StackPanel >
<StackPanel >
<Grid Name="grid_flow" Margin="2">
<Grid Name="grid_flow" Margin="2">
<Grid.ColumnDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
</Grid.RowDefinitions>
<control:PieChart Grid.RowSpan="2" Width="60" Height="60" Margin="10"
<control:PieChart Grid.RowSpan="2" Width="60" Height="60" Margin="10"
ItemValueBinding="CurrentFlow" ItemColorBinding="Color"
ItemValueBinding="CurrentFlow" ItemColorBinding="Color"
ItemsSource="{Binding Items}"
ItemsSource="{Binding Items}"
/>
/>
<TextBlock Grid.Column="1" Text="总流量" Style="{StaticResource TextBlockStyle_title}" />
<TextBlock Grid.Column="1" Text="总流量" Style="{StaticResource TextBlockStyle_title}" />
<Viewbox Grid.Column="1" Grid.Row="1" MaxHeight="80" HorizontalAlignment="Left">
<Viewbox Grid.Column="1" Grid.Row="1" MaxHeight="80" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal">
<StackPanel Orientation="Horizontal">
<TextBlock Margin="4" >
<TextBlock Margin="4" >
<Run Text="{Binding Accessory.TotalFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
<Run Text="{Binding Accessory.TotalFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
</TextBlock>
</TextBlock>
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="20" />
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="20" />
</StackPanel>
</StackPanel>
</Viewbox>
</Viewbox>
</Grid>
</Grid>
</StackPanel>
</StackPanel>
</Border>
</Border>
<Button x:Name="grid_error" Style="{StaticResource DynAreaErrorStyle}" d:DataContext="{StaticResource errorVm}"/>
</Grid>
</Grid>
...
...
Project.FLY.Weight/FLY.Weight.UI.Client/UiModule/V4/DynAreaWeightV4.xaml.cs
View file @
860cc3c1
...
@@ -31,7 +31,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -31,7 +31,7 @@ namespace FLY.Weight.UI.Client.UiModule
IUnityContainer
container
;
IUnityContainer
container
;
IWeightSystemService
weightSystemService
;
IWeightSystemService
weightSystemService
;
DynAreaErrorVm2
errorVm
;
//SetPLCUpdatePlan setPlan;
//SetPLCUpdatePlan setPlan;
...
@@ -44,9 +44,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -44,9 +44,7 @@ namespace FLY.Weight.UI.Client.UiModule
[
InjectionMethod
]
[
InjectionMethod
]
public
void
Init
(
public
void
Init
(
IUnityContainer
container
,
IUnityContainer
container
,
IWeightSystemService
weightSystemService
IWeightSystemService
weightSystemService
,
[
Dependency
(
"weighterWarningService"
)]
IWarningSystem2Service
warningSystem
)
)
{
{
this
.
container
=
container
;
this
.
container
=
container
;
...
@@ -54,9 +52,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -54,9 +52,7 @@ namespace FLY.Weight.UI.Client.UiModule
grid_weighter
.
DataContext
=
this
.
weightSystemService
;
grid_weighter
.
DataContext
=
this
.
weightSystemService
;
errorVm
=
new
DynAreaErrorVm2
();
errorVm
.
Init
(
container
,
warningSystem
,
"称重"
);
grid_error
.
DataContext
=
errorVm
;
//注册属性更新计划
//注册属性更新计划
//setPlan = new SetPLCUpdatePlan(
//setPlan = new SetPLCUpdatePlan(
// this.weightSystemService.PLCos,
// this.weightSystemService.PLCos,
...
...
Project.FLY.Weight/FLY.Weight.UI.Client/UiModule/V5/DynAreaWeightV5.xaml
View file @
860cc3c1
...
@@ -23,56 +23,55 @@
...
@@ -23,56 +23,55 @@
<Border Style="{StaticResource Styles.Module.Border}"
<Border Style="{StaticResource Styles.Module.Border}"
Background="{StaticResource Color_background}"
Background="{StaticResource Color_background}"
DataContext="{Binding DataContext,ElementName=grid_weighter}"
DataContext="{Binding DataContext,ElementName=grid_weighter}"
>
>
<StackPanel >
<StackPanel >
<Grid Name="grid_flow" Margin="2">
<Grid Name="grid_flow" Margin="2">
<Grid.ColumnDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
</Grid.RowDefinitions>
<control:PieChart Grid.RowSpan="2" Width="60" Height="60" Margin="10"
<control:PieChart Grid.RowSpan="2" Width="60" Height="60" Margin="10"
ItemValueBinding="CurrentFlow" ItemColorBinding="Color"
ItemValueBinding="CurrentFlow" ItemColorBinding="Color"
ItemsSource="{Binding Items}"
ItemsSource="{Binding Items}"
/>
/>
<TextBlock Grid.Column="1" Text="总流量" Style="{StaticResource TextBlockStyle_title}" />
<TextBlock Grid.Column="1" Text="总流量" Style="{StaticResource TextBlockStyle_title}" />
<Viewbox Grid.Column="1" Grid.Row="1" MaxHeight="80" HorizontalAlignment="Left">
<Viewbox Grid.Column="1" Grid.Row="1" MaxHeight="80" HorizontalAlignment="Left">
<StackPanel Orientation="Horizontal">
<StackPanel Orientation="Horizontal">
<TextBlock Margin="4" >
<TextBlock Margin="4" >
<Run Text="{Binding Accessory.TotalFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
<Run Text="{Binding Accessory.TotalFlow,StringFormat={}{0:F1}}" Style="{StaticResource RunStyle_text}" FontSize="60" />
</TextBlock>
</TextBlock>
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="20" />
<TextBlock Style="{StaticResource ResourceKey=TextBlockStyle_FieldContent_mm}" Text="kg/h" FontSize="20" />
</StackPanel>
</StackPanel>
</Viewbox>
</Viewbox>
</Grid>
</Grid>
<Grid Margin="2">
<Grid Margin="2">
<Grid.ColumnDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" Margin="2">
<StackPanel Orientation="Horizontal" Margin="2">
<TextBlock Text="平均厚度" FontSize="12" FontWeight="Bold" FontFamily="YouYuan" TextAlignment="Center" HorizontalAlignment="Center" Foreground="#FF3B3B3B" />
<TextBlock Text="平均厚度" FontSize="12" FontWeight="Bold" FontFamily="YouYuan" TextAlignment="Center" HorizontalAlignment="Center" Foreground="#FF3B3B3B" />
<StackPanel Orientation="Horizontal" Margin="5,0">
<StackPanel Orientation="Horizontal" Margin="5,0">
<TextBlock Text="{Binding Accessory.Thickness, StringFormat={}{0:F1}}" FontSize="24" FontFamily="Microsoft Sans Serif" TextAlignment="Center" HorizontalAlignment="Center" Foreground="{StaticResource Color_theme_activity}" />
<TextBlock Text="{Binding Accessory.Thickness, StringFormat={}{0:F1}}" FontSize="24" FontFamily="Microsoft Sans Serif" TextAlignment="Center" HorizontalAlignment="Center" Foreground="{StaticResource Color_theme_activity}" />
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="um" FontSize="12" />
<TextBlock Style="{StaticResource TextBlockStyle_FieldContent_mm}" Text="um" FontSize="12" />
</StackPanel>
</StackPanel>
</StackPanel>
</
Grid
>
</
StackPanel
>
</
StackPanel
>
</
Grid
>
</
Border
>
</
StackPanel
>
<
Button x:Name="grid_error" Style="{StaticResource DynAreaErrorStyle}" d:DataContext="{StaticResource errorVm}"/
>
<
/Border
>
</Grid>
</Grid>
...
...
Project.FLY.Weight/FLY.Weight.UI.Client/UiModule/V5/DynAreaWeightV5.xaml.cs
View file @
860cc3c1
...
@@ -32,7 +32,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -32,7 +32,7 @@ namespace FLY.Weight.UI.Client.UiModule
IUnityContainer
container
;
IUnityContainer
container
;
IWeightSystemService
weightSystemService
;
IWeightSystemService
weightSystemService
;
SetPLCUpdatePlan
setPlan
;
SetPLCUpdatePlan
setPlan
;
DynAreaErrorVm2
errorVm
;
public
DynAreaWeightV5
()
public
DynAreaWeightV5
()
{
{
...
@@ -44,8 +44,7 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -44,8 +44,7 @@ namespace FLY.Weight.UI.Client.UiModule
public
void
Init
(
public
void
Init
(
IUnityContainer
container
,
IUnityContainer
container
,
IWeightSystemService
weightSystemService
,
IWeightSystemService
weightSystemService
[
Dependency
(
"weighterWarningService"
)]
IWarningSystem2Service
warningSystem
)
)
{
{
this
.
container
=
container
;
this
.
container
=
container
;
...
@@ -53,10 +52,6 @@ namespace FLY.Weight.UI.Client.UiModule
...
@@ -53,10 +52,6 @@ namespace FLY.Weight.UI.Client.UiModule
grid_weighter
.
DataContext
=
this
.
weightSystemService
;
grid_weighter
.
DataContext
=
this
.
weightSystemService
;
errorVm
=
new
DynAreaErrorVm2
();
errorVm
.
Init
(
container
,
warningSystem
,
"称重"
);
grid_error
.
DataContext
=
errorVm
;
//注册属性更新计划
//注册属性更新计划
string
objname
=
nameof
(
IWeightSystemService
.
Accessory
);
string
objname
=
nameof
(
IWeightSystemService
.
Accessory
);
setPlan
=
new
SetPLCUpdatePlan
(
setPlan
=
new
SetPLCUpdatePlan
(
...
...
脚本/流延客户端容器描述.unity/unity/gage0.service.config
View file @
860cc3c1
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
<
container
>
<
container
>
<
instance
name
=
"cn0"
value
=
"thick"
/>
<
instance
name
=
"cn0"
value
=
"thick"
/>
<
instance
name
=
"cn1"
value
=
"autoDie"
/>
<
instance
name
=
"cn1"
value
=
"autoDie"
/>
<
instance
name
=
"cn2"
value
=
"weighter"
/>
</
container
>
</
container
>
</
unity
>
</
unity
>
</
configuration
>
</
configuration
>
\ No newline at end of file
脚本/流延客户端容器描述.unity/unity/relationship.json
View file @
860cc3c1
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
"base.service.config"
,
"base.service.config"
,
"autoDie.service.config"
,
"autoDie.service.config"
,
"objcomponents.service.config"
,
"objcomponents.service.config"
,
"thick.service.config"
"thick.service.config"
,
"weighter.service.config"
],
],
"Children"
:
[]
"Children"
:
[]
},
},
...
@@ -42,7 +43,8 @@
...
@@ -42,7 +43,8 @@
"Path"
:
[
"Path"
:
[
"base.component.config"
,
"base.component.config"
,
"thick.component.config"
,
"thick.component.config"
,
"autoDie.component.config"
"autoDie.component.config"
,
"weighter.component.config"
],
],
"Children"
:
[]
"Children"
:
[]
}
}
...
...
脚本/流延客户端容器描述.unity/unity/warnings.service.config
View file @
860cc3c1
...
@@ -23,6 +23,14 @@
...
@@ -23,6 +23,14 @@
<
param
name
=
"devName"
value
=
"测厚仪"
/>
<
param
name
=
"devName"
value
=
"测厚仪"
/>
</
constructor
>
</
constructor
>
</
register
>
</
register
>
<
register
type
=
"WarningSystem2ServiceClientWithName"
name
=
"称重"
>
<
lifetime
type
=
"singleton"
/>
<
constructor
>
<
param
name
=
"serviceId"
value
=
"20000"
/>
<
param
name
=
"connName"
value
=
"weighter"
/>
<
param
name
=
"devName"
value
=
"称重"
/>
</
constructor
>
</
register
>
</
container
>
</
container
>
</
unity
>
</
unity
>
</
configuration
>
</
configuration
>
\ No newline at end of file
脚本/流延客户端容器描述.unity/unity/weighter.component.config
0 → 100644
View file @
860cc3c1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configSections
>
<
section
name
=
"unity"
type
=
"Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration"
/>
</
configSections
>
<
unity
>
<
assembly
name
=
"FLY.Weight.UI.Client"
/>
<
namespace
name
=
"FLY.Weight.UI.Client.UiModule"
/>
<
alias
alias
=
"IUiModule2"
type
=
"MultiLayout.UiModule.IUiModule2, MultiLayout"
/>
<
container
>
<
register
type
=
"IUiModule2"
mapTo
=
"UiModule2_MenuSetting"
name
=
"weighter_ms"
/>
<
register
type
=
"IUiModule2"
mapTo
=
"UiModule2_DynAreaWeight"
name
=
"weighter_da"
/>
<
register
type
=
"IUiModule2"
mapTo
=
"UiModule2_FlowGraph"
name
=
"weighter_fg"
/>
<
register
type
=
"IUiModule2"
mapTo
=
"UiModule2_MainGraph"
name
=
"weighter_mg"
/>
</
container
>
</
unity
>
</
configuration
>
\ No newline at end of file
脚本/流延客户端容器描述.unity/unity/weighter.service.config
0 → 100644
View file @
860cc3c1
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configSections
>
<
section
name
=
"unity"
type
=
"Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration"
/>
</
configSections
>
<
unity
>
<
assembly
name
=
"FLY.Weight"
/>
<
namespace
name
=
"FLY.Weight.IService"
/>
<
namespace
name
=
"FLY.Weight.Client"
/>
<
namespace
name
=
"FLY.Weight.Server.Model"
/>
<
assembly
name
=
"FLY.OBJComponents"
/>
<
namespace
name
=
"FLY.OBJComponents.IService"
/>
<
namespace
name
=
"FLY.OBJComponents.Client"
/>
<
assembly
name
=
"FLY.Weight.UI.Client"
/>
<
namespace
name
=
"FLY.Weight.UI.Client"
/>
<
container
>
<
register
type
=
"IWeightSystemService"
mapTo
=
"WeightSystemServiceClientWithColor"
>
<
lifetime
type
=
"singleton"
/>
<
constructor
>
<
param
name
=
"serviceId"
value
=
"35000"
/>
<
param
name
=
"connName"
dependencyName
=
"cn2"
/>
</
constructor
>
</
register
>
<
register
type
=
"IBulkDbFlowService"
mapTo
=
"BulkDbFlowServiceClient"
>
<
lifetime
type
=
"singleton"
/>
<
constructor
>
<
param
name
=
"serviceId"
value
=
"35004"
/>
<
param
name
=
"connName"
dependencyName
=
"cn2"
/>
</
constructor
>
</
register
>
<
register
type
=
"MixBufferCollection"
>
<
lifetime
type
=
"singleton"
/>
<
constructor
>
<
param
name
=
"baseId"
value
=
"35005"
/>
<
param
name
=
"connName"
dependencyName
=
"cn2"
/>
</
constructor
>
</
register
>
<
register
type
=
"IWarningSystem2Service"
mapTo
=
"WarningSystem2ServiceClient"
name
=
"weighterWarningService"
>
<
lifetime
type
=
"singleton"
/>
<
constructor
>
<
param
name
=
"serviceId"
value
=
"20000"
/>
<
param
name
=
"connName"
dependencyName
=
"cn2"
/>
</
constructor
>
</
register
>
</
container
>
</
unity
>
</
configuration
>
\ No newline at end of file
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