Merge branch 'master' of http://www.scserverddns.top:13000/sc/DyeingComputer
This commit is contained in:
commit
aad713c841
2 files changed
+62
-16
No files matched your search
+40
-16
@@ -58,19 +58,43 @@
|
|||||||
|
|
||||||
<Grid>
|
<Grid>
|
||||||
<Rectangle Margin="0,0,0,0" Fill="#FFCCCCCC" VerticalAlignment="Bottom" Height="40"/>
|
<Rectangle Margin="0,0,0,0" Fill="#FFCCCCCC" VerticalAlignment="Bottom" Height="40"/>
|
||||||
<RadioButton Content="{x:Static lang:Resources.WorkOrder}" x:Name="Work_Order" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="0,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
<RadioButton Content="{x:Static lang:Resources.WorkOrder}" x:Name="Work_Order" Tag=""
|
||||||
<RadioButton Content="{x:Static lang:Resources.TechnologicalProcess}" x:Name="Technological_Process" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="200,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="0,0,0,0"
|
||||||
<RadioButton Content="{x:Static lang:Resources.CurveDiagram}" x:Name="Curve_Diagram" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="400,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
||||||
<RadioButton Content="{x:Static lang:Resources.EquipmentSimulation}" x:Name="Equipment_Simulation" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="600,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
<RadioButton Content="{x:Static lang:Resources.TechnologicalProcess}" x:Name="Technological_Process" Tag=""
|
||||||
<RadioButton Content="{x:Static lang:Resources.HistoryRecords}" x:Name="History_Records" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="800,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="200,0,0,0"
|
||||||
<RadioButton Content="{x:Static lang:Resources.Next}" x:Name="Next" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Right" Height="40" Margin="0,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_toolbar" GroupName="toolbar"/>
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.CurveDiagram}" x:Name="Curve_Diagram" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="400,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.EquipmentSimulation}" x:Name="Equipment_Simulation" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="600,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.HistoryRecords}" x:Name="History_Records" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="800,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.Next}" x:Name="Next" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Right" Height="40" Margin="0,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_toolbar" GroupName="toolbar"/>
|
||||||
|
|
||||||
<RadioButton Content="{x:Static lang:Resources.InOut}" x:Name="In_Out" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="0,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
<RadioButton Content="{x:Static lang:Resources.InOut}" x:Name="In_Out" Tag=""
|
||||||
<RadioButton Content="{x:Static lang:Resources.SysSet}" x:Name="Sys_Set" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="200,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="0,0,0,0"
|
||||||
<RadioButton Content="{x:Static lang:Resources.ParameterSet}" x:Name="Parameter_Set" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="400,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
||||||
<RadioButton Content="{x:Static lang:Resources.Programgroup}" x:Name="Program_group" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="600,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
<RadioButton Content="{x:Static lang:Resources.SysSet}" x:Name="Sys_Set" Tag=""
|
||||||
<RadioButton Content="{x:Static lang:Resources.EngineerSet}" x:Name="Engineer_Set" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="800,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="200,0,0,0"
|
||||||
<RadioButton Content="{x:Static lang:Resources.Previous}" x:Name="Previous" Tag="" Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Right" Height="40" Margin="0,0,0,0" VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_toolbar" GroupName="toolbar" Visibility="Hidden"/>
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.ParameterSet}" x:Name="Parameter_Set" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="400,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.Programgroup}" x:Name="Program_group" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="600,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.EngineerSet}" x:Name="Engineer_Set" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Left" Height="40" Margin="800,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_Page" Visibility="Hidden"/>
|
||||||
|
<RadioButton Content="{x:Static lang:Resources.Previous}" x:Name="Previous" Tag=""
|
||||||
|
Style="{DynamicResource RadioButtonStyle}" HorizontalAlignment="Right" Height="40" Margin="0,0,0,0"
|
||||||
|
VerticalAlignment="Bottom" Width="200" Background="#FFCCCCCC" Checked="RadioButton_toolbar" GroupName="toolbar" Visibility="Hidden"/>
|
||||||
|
|
||||||
<ContentControl x:Name="container" Margin="0,50,0,40"/>
|
<ContentControl x:Name="container" Margin="0,50,0,40"/>
|
||||||
|
|
||||||
@@ -83,7 +107,6 @@
|
|||||||
TextWrapping="Wrap" VerticalAlignment="Top" Width="100" FontSize="12"
|
TextWrapping="Wrap" VerticalAlignment="Top" Width="100" FontSize="12"
|
||||||
Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}"
|
Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}"
|
||||||
IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" IsEnabled="False"/>
|
IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" IsEnabled="False"/>
|
||||||
|
|
||||||
<TextBox Text="{Binding Work_Temp}" HorizontalAlignment="Left" Height="30" Margin="0,20,0,0"
|
<TextBox Text="{Binding Work_Temp}" HorizontalAlignment="Left" Height="30" Margin="0,20,0,0"
|
||||||
TextWrapping="Wrap" VerticalAlignment="Top" Width="100" FontSize="20"
|
TextWrapping="Wrap" VerticalAlignment="Top" Width="100" FontSize="20"
|
||||||
Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}"
|
Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}"
|
||||||
@@ -100,9 +123,10 @@
|
|||||||
TextWrapping="Wrap" VerticalAlignment="Top" Width="150" FontSize="20"
|
TextWrapping="Wrap" VerticalAlignment="Top" Width="150" FontSize="20"
|
||||||
Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}"
|
Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}"
|
||||||
IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" IsEnabled="False"/>
|
IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" IsEnabled="False"/>
|
||||||
<Image HorizontalAlignment="Right" Height="40" VerticalAlignment="Top" Width="40" Margin="0,5,220,5" Source="/link.png"/>
|
<Image HorizontalAlignment="Right" Height="40" VerticalAlignment="Top" Width="40" Margin="0,5,220,5"
|
||||||
<Image HorizontalAlignment="Right" Height="40" VerticalAlignment="Top" Width="40" Margin="0,5,270,5" Source="/LOCK.png"/>
|
Source="/link.png"/>
|
||||||
|
<Image HorizontalAlignment="Right" Height="40" VerticalAlignment="Top" Width="40" Margin="0,5,270,5"
|
||||||
|
Source="/LOCK.png"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
@@ -115,6 +115,8 @@ namespace DyeingComputer.ViewModel
|
|||||||
_ = AsyncTcpServer.Main();
|
_ = AsyncTcpServer.Main();
|
||||||
IsInteractive = false;
|
IsInteractive = false;
|
||||||
UserButton = false;
|
UserButton = false;
|
||||||
|
Lock_bool = false;
|
||||||
|
Link_bool = false;
|
||||||
|
|
||||||
ProgramgroupView_run = new RelayCommand(
|
ProgramgroupView_run = new RelayCommand(
|
||||||
execute:ProgramgroupView_run_ );//开始/暂停事件
|
execute:ProgramgroupView_run_ );//开始/暂停事件
|
||||||
@@ -307,6 +309,26 @@ namespace DyeingComputer.ViewModel
|
|||||||
OnPropertyChanged("UserButton");
|
OnPropertyChanged("UserButton");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
bool _Lock_bool;
|
||||||
|
public bool Lock_bool//锁图标
|
||||||
|
{
|
||||||
|
get => _Lock_bool;
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_Lock_bool = value;
|
||||||
|
OnPropertyChanged("Lock_bool");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
bool _Link_bool;
|
||||||
|
public bool Link_bool//连接图标
|
||||||
|
{
|
||||||
|
get => _Link_bool;
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_Link_bool = value;
|
||||||
|
OnPropertyChanged("Link_bool");
|
||||||
|
}
|
||||||
|
}
|
||||||
public string work_Temp; //显示温度
|
public string work_Temp; //显示温度
|
||||||
public string Work_Temp //通知UI控件参数改变
|
public string Work_Temp //通知UI控件参数改变
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user