模拟图
This commit is contained in:
commit
79625bf08c
2 files changed
+66
-8
No files matched your search
@@ -7,10 +7,10 @@
|
|||||||
xmlns:gif="http://wpfanimatedgif.codeplex.com"
|
xmlns:gif="http://wpfanimatedgif.codeplex.com"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Loaded="UserControl_Loaded"
|
Loaded="UserControl_Loaded"
|
||||||
d:DesignHeight="1000" d:DesignWidth="1980">
|
d:DesignHeight="1000" d:DesignWidth="1920">
|
||||||
<Grid Background="Silver">
|
<Grid Background="Silver">
|
||||||
<Canvas>
|
<Canvas>
|
||||||
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Height="850" Width="1050" Margin="0,12.9,0,0" >
|
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" Height="850" Width="1050" Margin="0,30,0,0" >
|
||||||
<Image Source="/Lmage/12000-1.png" Height="850" VerticalAlignment="Top" Margin="0,0,0,0" HorizontalAlignment="Left" Width="1004"/>
|
<Image Source="/Lmage/12000-1.png" Height="850" VerticalAlignment="Top" Margin="0,0,0,0" HorizontalAlignment="Left" Width="1004"/>
|
||||||
<Image Width="514" gif:ImageBehavior.AnimatedSource="/Lmage/1000-1.png"
|
<Image Width="514" gif:ImageBehavior.AnimatedSource="/Lmage/1000-1.png"
|
||||||
HorizontalAlignment="Left" Canvas.Left="-44" Canvas.Top="144" Margin="57,238,0,112"/>
|
HorizontalAlignment="Left" Canvas.Left="-44" Canvas.Top="144" Margin="57,238,0,112"/>
|
||||||
@@ -616,9 +616,11 @@
|
|||||||
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="240,340,0,0"/>
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="240,340,0,0"/>
|
||||||
<TextBlock Text="内循环" FontSize="30" Width="100" TextWrapping="Wrap" Height="35"
|
<TextBlock Text="内循环" FontSize="30" Width="100" TextWrapping="Wrap" Height="35"
|
||||||
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="280,230,0,0"/>
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="280,230,0,0"/>
|
||||||
|
<TextBlock x:Name="SL1" HorizontalAlignment="Right" Height="35" Margin="0,215,5,0"
|
||||||
|
Text="000.0%" TextAlignment="Right" VerticalAlignment="Top" Width="105"
|
||||||
|
FontSize="30" Background="White" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid Width="650" Height="400" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="1100,480,0,0" >
|
<Grid Width="650" Height="400" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="1100,480,0,0" >
|
||||||
<Image gif:ImageBehavior.AnimatedSource="/Lmage/12500-1.png" HorizontalAlignment="Left"/>
|
<Image gif:ImageBehavior.AnimatedSource="/Lmage/12500-1.png" HorizontalAlignment="Left"/>
|
||||||
@@ -824,13 +826,67 @@
|
|||||||
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="240,340,0,0"/>
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="240,340,0,0"/>
|
||||||
<TextBlock Text="内循环" FontSize="30" Width="100" TextWrapping="Wrap" Height="35"
|
<TextBlock Text="内循环" FontSize="30" Width="100" TextWrapping="Wrap" Height="35"
|
||||||
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="280,230,0,0"/>
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="280,230,0,0"/>
|
||||||
|
<TextBlock x:Name="SL2" HorizontalAlignment="Right" Height="35" Margin="0,215,5,0"
|
||||||
|
Text="000.0%" TextAlignment="Right" VerticalAlignment="Top" Width="105"
|
||||||
|
FontSize="30" Background="White" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</Canvas>
|
</Canvas>
|
||||||
|
<Grid Width="160" Height="600" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,0,0" Background="White">
|
||||||
|
<Grid Margin="2,2,2,2" Background="Silver">
|
||||||
|
<TextBlock Text="主缸压力" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,215,5,0" />
|
||||||
|
<TextBlock Text="喷头压力" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,255,5,0" />
|
||||||
|
<TextBlock Text="压力差" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,295,5,0" />
|
||||||
|
<TextBlock Text="喷头流量" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,335,5,0" />
|
||||||
|
<TextBlock Text="流量计" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,375,5,0" />
|
||||||
|
<TextBlock Text="流量计2" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,415,5,0" />
|
||||||
|
<TextBlock Text="空气流量计" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,455,5,0" />
|
||||||
|
<TextBlock Text="电能" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,495,5,0" />
|
||||||
|
<TextBlock Text="酸度" FontSize="20" Width="100" TextWrapping="Wrap" Height="25"
|
||||||
|
VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,535,5,0" />
|
||||||
|
<TextBlock x:Name="M1031" HorizontalAlignment="Right" Height="25" Margin="0,215,0,0"
|
||||||
|
Text="0.0bar" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="M1032" HorizontalAlignment="Right" Height="25" Margin="0,255,0,0"
|
||||||
|
Text="0.0bar" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="M1033" HorizontalAlignment="Right" Height="25" Margin="0,295,0,0"
|
||||||
|
Text="0.0bar" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="M1034" HorizontalAlignment="Right" Height="25" Margin="0,335,0,0"
|
||||||
|
Text="000.0L" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="A4006" HorizontalAlignment="Right" Height="25" Margin="0,375,0,0"
|
||||||
|
Text="000.0L" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="A4014" HorizontalAlignment="Right" Height="25" Margin="0,415,0,0"
|
||||||
|
Text="000.0L" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="A4015" HorizontalAlignment="Right" Height="25" Margin="0,455,0,0"
|
||||||
|
Text="000.0L" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="A4016" HorizontalAlignment="Right" Height="25" Margin="0,495,0,0"
|
||||||
|
Text="000Kw" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
<TextBlock x:Name="A4029" HorizontalAlignment="Right" Height="25" Margin="0,535,0,0"
|
||||||
|
Text="0.0pH" TextAlignment="Right" VerticalAlignment="Top" Width="70"
|
||||||
|
FontSize="20" Background="White" />
|
||||||
|
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
@@ -517,7 +517,9 @@ namespace DyeingComputer.View
|
|||||||
S2_T.Text = string.Format(" {0:F1}", Convert.ToDouble(MainWindowViewModel.Selet_dtm("1013"))) + "°C";//缸2温度
|
S2_T.Text = string.Format(" {0:F1}", Convert.ToDouble(MainWindowViewModel.Selet_dtm("1013"))) + "°C";//缸2温度
|
||||||
S2_L.Text = string.Format("{0:D4}", Convert.ToInt16(MainWindowViewModel.Selet_dtm("1018"))) + "L";//缸2水
|
S2_L.Text = string.Format("{0:D4}", Convert.ToInt16(MainWindowViewModel.Selet_dtm("1018"))) + "L";//缸2水
|
||||||
MtH.Text = string.Format(" {0:P1}", Convert.ToDouble(MainWindowViewModel.Selet_dta("5001"))/10);//升温
|
MtH.Text = string.Format(" {0:P1}", Convert.ToDouble(MainWindowViewModel.Selet_dta("5001"))/10);//升温
|
||||||
Mtl.Text = string.Format(" {0:P1}", Convert.ToDouble(MainWindowViewModel.Selet_dta("5002"))/10) ;//降温
|
Mtl.Text = string.Format(" {0:P1}", Convert.ToDouble(MainWindowViewModel.Selet_dta("5002"))/10);//降温
|
||||||
|
SL1.Text = string.Format(" {0:P1}", Convert.ToDouble(MainWindowViewModel.Selet_dta("5005")) / 10);//
|
||||||
|
SL2.Text = string.Format(" {0:P1}", Convert.ToDouble(MainWindowViewModel.Selet_dta("5006")) / 10);//
|
||||||
|
|
||||||
ID3007 = MainWindowViewModel.Selet_dtd("3007");
|
ID3007 = MainWindowViewModel.Selet_dtd("3007");
|
||||||
ID3008 = MainWindowViewModel.Selet_dtd("3008");
|
ID3008 = MainWindowViewModel.Selet_dtd("3008");
|
||||||
|
|||||||
Reference in new issue
Block a user