fyf 2 anni fa
parent
commit
ba09f10d16
23 ha cambiato i file con 29 aggiunte e 26 eliminazioni
  1. +2
    -2
      BPASmartClient.SCADAControl/BPASmartClient.SCADAControl.csproj
  2. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/GraphArrow.xaml.cs
  3. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/GraphStar.xaml.cs
  4. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/NewConveyorBelt.xaml.cs
  5. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/NumberBox.cs
  6. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/Silos.xaml.cs
  7. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/StatusLight.cs
  8. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheAPI.xaml.cs
  9. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheBlueProgressBar.cs
  10. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheComboBox.xaml.cs
  11. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheDataGrid.xaml.cs
  12. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheGreenProgressBar.cs
  13. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheListBox.xaml.cs
  14. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheMQTT.xaml.cs
  15. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheProgressBar.cs
  16. +2
    -2
      BPASmartClient.SCADAControl/CustomerControls/TheRadioButton.cs
  17. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheRedProgressBar.cs
  18. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheRedis.xaml.cs
  19. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheSlider.cs
  20. +1
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs
  21. +4
    -1
      BPASmartClient.SCADAControl/CustomerControls/TheTimer.cs
  22. +0
    -0
      BPASmartClient.SCADAControl/Images/btnkeys.png
  23. +3
    -3
      BPASmartClient.SCADAControl/Themes/Generic.xaml

+ 2
- 2
BPASmartClient.SCADAControl/BPASmartClient.SCADAControl.csproj Vedi File

@@ -13,7 +13,7 @@
<None Remove="Images\api.png" />
<None Remove="Images\biogebj.png" />
<None Remove="Images\bj.png" />
<None Remove="Images\btnnormal.png" />
<None Remove="Images\btnkeys.png" />
<None Remove="Images\button1.png" />
<None Remove="Images\button2.png" />
<None Remove="Images\Cb_Checked.png" />
@@ -70,7 +70,7 @@
<Resource Include="Images\bj.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
<Resource Include="Images\btnnormal.png">
<Resource Include="Images\btnkeys.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
<Resource Include="Images\Cb_Checked.png">


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/GraphArrow.xaml.cs Vedi File

@@ -45,7 +45,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
{
IsEnabled = true;
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/GraphStar.xaml.cs Vedi File

@@ -45,7 +45,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
{
IsEnabled = true;
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/NewConveyorBelt.xaml.cs Vedi File

@@ -105,7 +105,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
{
IsEnabled = true;
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/NumberBox.cs Vedi File

@@ -71,7 +71,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
{
IsEnabled = true;
Register();
Style = null;
//Style = null;
Focusable = true;
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/Silos.xaml.cs Vedi File

@@ -111,7 +111,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
{
IsEnabled = true;
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/StatusLight.cs Vedi File

@@ -72,7 +72,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
switch (StatusValue)
{
case 0:
image.Source = new BitmapImage(new Uri(@"/BPASmartClient.SCADAControl;component/Images/State0.png", UriKind.Absolute));
image.Source = new BitmapImage(new Uri(@"/BPASmartClient.SCADAControl;component/Images/State0.png", UriKind.Relative));
break;
case -1:
image.Source = new BitmapImage(new Uri("pack://application:,,,/Images/State11.png", UriKind.Absolute));


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheAPI.xaml.cs Vedi File

@@ -86,7 +86,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheBlueProgressBar.cs Vedi File

@@ -46,7 +46,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheComboBox.xaml.cs Vedi File

@@ -61,7 +61,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
Focusable = true;
IsEnabled = true;
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheDataGrid.xaml.cs Vedi File

@@ -59,7 +59,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
isExecuteState = value;
if (IsExecuteState)
{
Style = null;
//Style = null;
Register();
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheGreenProgressBar.cs Vedi File

@@ -47,7 +47,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheListBox.xaml.cs Vedi File

@@ -73,7 +73,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
isExecuteState = value;
if (IsExecuteState)
{
Style = null;
//Style = null;
Register();
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheMQTT.xaml.cs Vedi File

@@ -108,7 +108,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheProgressBar.cs Vedi File

@@ -50,7 +50,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 2
- 2
BPASmartClient.SCADAControl/CustomerControls/TheRadioButton.cs Vedi File

@@ -26,7 +26,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
ResourceDictionary languageResDic = new ResourceDictionary();
languageResDic.Source = new Uri(@"/BPASmartClient.SCADAControl;component/Themes/Generic.xaml",UriKind.RelativeOrAbsolute);
this.Resources.MergedDictionaries.Add(languageResDic);
//SetCurrentValue(ContentProperty, "单选按钮");
SetCurrentValue(ContentProperty, "单选按钮");
}
static TheRadioButton()
{
@@ -45,7 +45,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheRedProgressBar.cs Vedi File

@@ -47,7 +47,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheRedis.xaml.cs Vedi File

@@ -108,7 +108,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheSlider.cs Vedi File

@@ -38,7 +38,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


+ 1
- 1
BPASmartClient.SCADAControl/CustomerControls/TheTextBox.cs Vedi File

@@ -93,7 +93,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
IsEnabled = true;
Focusable = true;
Register();
Style = null;
//Style = null;
}
}
}


+ 4
- 1
BPASmartClient.SCADAControl/CustomerControls/TheTimer.cs Vedi File

@@ -27,6 +27,9 @@ namespace BPASmartClient.SCADAControl.CustomerControls
{
Width = 40;
Height = 40;
ResourceDictionary languageResDic = new ResourceDictionary();
languageResDic.Source = new Uri(@"/BPASmartClient.SCADAControl;component/Themes/Generic.xaml", UriKind.RelativeOrAbsolute);
this.Resources.MergedDictionaries.Add(languageResDic);
}
static TheTimer()
{
@@ -46,7 +49,7 @@ namespace BPASmartClient.SCADAControl.CustomerControls
if (IsExecuteState)
{
Register();
Style = null;
//Style = null;
}
}
}


BPASmartClient.SCADAControl/Images/btnnormal.png → BPASmartClient.SCADAControl/Images/btnkeys.png Vedi File


+ 3
- 3
BPASmartClient.SCADAControl/Themes/Generic.xaml Vedi File

@@ -1429,11 +1429,11 @@
<Setter Property="FocusVisualStyle" Value="{StaticResource CheckRadioFocusVisual}" />
<Setter Property="Foreground" Value="{DynamicResource foreground}" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Background">
<!--<Setter Property="Background">
<Setter.Value>
<ImageBrush ImageSource="../Images/btnnormal.png" />
<ImageBrush ImageSource="../Images/btnkeys.png" />
</Setter.Value>
</Setter>
</Setter>-->
<Setter Property="Padding" Value="2,0,0,0" />
<Setter Property="Template">
<Setter.Value>


Caricamento…
Annulla
Salva