Browse Source

screen size self-adaptive

pull/5/head
Gavin 9 years ago
parent
commit
1a9989a41d
  1. BIN
      SCADA/Example/CoreTest.exe
  2. 4
      SCADA/Program/BatchCoreService/DAService.cs
  3. BIN
      SCADA/Program/ClientDriver/bin/Debug/ClientDriver.dll
  4. BIN
      SCADA/Program/ClientDriver/bin/Debug/DataService.dll
  5. BIN
      SCADA/Program/ClientDriver/bin/Release/ClientDriver.dll
  6. BIN
      SCADA/Program/ClientDriver/bin/Release/DataService.dll
  7. BIN
      SCADA/Program/ClientDriver/obj/Debug/ClientDriver.dll
  8. 0
      SCADA/Program/ClientDriver/obj/Debug/build.force
  9. BIN
      SCADA/Program/ClientDriver/obj/Release/ClientDriver.dll
  10. 5
      SCADA/Program/CoreTest/MainWindow.xaml.cs
  11. BIN
      SCADA/Program/CoreTest/bin/Debug/ClientDriver.dll
  12. BIN
      SCADA/Program/CoreTest/bin/Debug/CoreTest.exe
  13. BIN
      SCADA/Program/CoreTest/bin/Debug/DataHelper.dll
  14. BIN
      SCADA/Program/CoreTest/bin/Debug/DataService.dll
  15. BIN
      SCADA/Program/CoreTest/bin/Debug/HMIControl.dll
  16. BIN
      SCADA/Program/CoreTest/bin/Release/ClientDriver.dll
  17. BIN
      SCADA/Program/CoreTest/bin/Release/CoreTest.exe
  18. BIN
      SCADA/Program/CoreTest/bin/Release/CoreTest.vshost.exe
  19. 0
      SCADA/Program/CoreTest/bin/Release/CoreTest.vshost.exe.manifest
  20. BIN
      SCADA/Program/CoreTest/bin/Release/DataHelper.dll
  21. BIN
      SCADA/Program/CoreTest/bin/Release/DataService.dll
  22. BIN
      SCADA/Program/CoreTest/bin/Release/HMIControl.dll
  23. BIN
      SCADA/Program/CoreTest/obj/x86/Debug/CoreTest.exe
  24. BIN
      SCADA/Program/CoreTest/obj/x86/Release/CoreTest.exe
  25. BIN
      SCADA/Program/DataHelper/bin/Debug/DataHelper.dll
  26. BIN
      SCADA/Program/DataHelper/bin/Debug/DataService.dll
  27. BIN
      SCADA/Program/DataHelper/bin/Release/DataHelper.dll
  28. BIN
      SCADA/Program/DataHelper/bin/Release/DataService.dll
  29. BIN
      SCADA/Program/DataHelper/obj/Debug/DataHelper.dll
  30. 0
      SCADA/Program/DataHelper/obj/Debug/build.force
  31. BIN
      SCADA/Program/DataHelper/obj/Release/DataHelper.dll
  32. BIN
      SCADA/Program/DataService/bin/Debug/DataService.dll
  33. BIN
      SCADA/Program/DataService/bin/Release/DataService.dll
  34. 2
      SCADA/Program/DataService/obj/Debug/DataService.csproj.FileListAbsolute.txt
  35. BIN
      SCADA/Program/DataService/obj/Debug/DataService.dll
  36. 1
      SCADA/Program/DataService/obj/Release/DataService.csproj.FileListAbsolute.txt
  37. BIN
      SCADA/Program/DataService/obj/Release/DataService.dll
  38. 0
      SCADA/Program/FileDriver/obj/Debug/build.force
  39. 0
      SCADA/Program/FileDriver/obj/Release/build.force
  40. BIN
      SCADA/Program/HMIControl/bin/Debug/HMIControl.dll
  41. BIN
      SCADA/Program/HMIControl/bin/Release/HMIControl.dll
  42. 2
      SCADA/Program/HMIControl/obj/Debug/HMIControl.csproj.FileListAbsolute.txt
  43. BIN
      SCADA/Program/HMIControl/obj/Debug/HMIControl.dll
  44. 1
      SCADA/Program/HMIControl/obj/Release/HMIControl.csproj.FileListAbsolute.txt
  45. BIN
      SCADA/Program/HMIControl/obj/Release/HMIControl.dll
  46. 0
      SCADA/Program/LinkableControlDesignTime/obj/Debug/build.force
  47. 0
      SCADA/Program/LinkableControlDesignTime/obj/Release/build.force
  48. 0
      SCADA/Program/ModbusDriver/obj/Debug/build.force
  49. 0
      SCADA/Program/ModbusDriver/obj/Release/build.force
  50. 0
      SCADA/Program/OPCDriver/obj/Debug/build.force
  51. 0
      SCADA/Program/OPCDriver/obj/Release/build.force
  52. 0
      SCADA/Program/SiemensPLCDriver/obj/Debug/build.force
  53. 0
      SCADA/Program/SiemensPLCDriver/obj/Release/build.force

BIN
SCADA/Example/CoreTest.exe

Binary file not shown.

4
SCADA/Program/BatchCoreService/DAService.cs

@ -1485,7 +1485,9 @@ namespace BatchCoreService
byte[] dt = BitConverter.GetBytes(id);
sendBuffer[j++] = dt[0];
sendBuffer[j++] = dt[1];
switch (_list[GetItemProperties(id)].DataType)
var index = GetItemProperties(id);
if (index < 0 || index >= _list.Count) continue;
switch (_list[index].DataType)
{
case DataType.BOOL:
sendBuffer[j++] = 1;

BIN
SCADA/Program/ClientDriver/bin/Debug/ClientDriver.dll

Binary file not shown.

BIN
SCADA/Program/ClientDriver/bin/Debug/DataService.dll

Binary file not shown.

BIN
SCADA/Program/ClientDriver/bin/Release/ClientDriver.dll

Binary file not shown.

BIN
SCADA/Program/ClientDriver/bin/Release/DataService.dll

Binary file not shown.

BIN
SCADA/Program/ClientDriver/obj/Debug/ClientDriver.dll

Binary file not shown.

0
SCADA/Program/CoreTest/obj/x86/Release/build.force → SCADA/Program/ClientDriver/obj/Debug/build.force

BIN
SCADA/Program/ClientDriver/obj/Release/ClientDriver.dll

Binary file not shown.

5
SCADA/Program/CoreTest/MainWindow.xaml.cs

@ -163,10 +163,11 @@ namespace CoreTest
ContentControl ctrl = Activator.CreateInstance(Type.GetType(txt)) as ContentControl;
if (ctrl != null)
{
ScaleControl(ctrl);
var win = ctrl as Window;
if (win == null)
ScaleControl(ctrl);
ctrl.Loaded += new RoutedEventHandler(ctrl_Loaded);
ctrl.Unloaded += new RoutedEventHandler(ctrl_Unloaded);
var win = ctrl as Window;
if (win != null)
{
win.Owner = this;

BIN
SCADA/Program/CoreTest/bin/Debug/ClientDriver.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Debug/CoreTest.exe

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Debug/DataHelper.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Debug/DataService.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Debug/HMIControl.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Release/ClientDriver.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Release/CoreTest.exe

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Release/CoreTest.vshost.exe

Binary file not shown.

0
SCADA/Program/CoreTest/bin/Debug/CoreTest.vshost.exe.manifest → SCADA/Program/CoreTest/bin/Release/CoreTest.vshost.exe.manifest

BIN
SCADA/Program/CoreTest/bin/Release/DataHelper.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Release/DataService.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/bin/Release/HMIControl.dll

Binary file not shown.

BIN
SCADA/Program/CoreTest/obj/x86/Debug/CoreTest.exe

Binary file not shown.

BIN
SCADA/Program/CoreTest/obj/x86/Release/CoreTest.exe

Binary file not shown.

BIN
SCADA/Program/DataHelper/bin/Debug/DataHelper.dll

Binary file not shown.

BIN
SCADA/Program/DataHelper/bin/Debug/DataService.dll

Binary file not shown.

BIN
SCADA/Program/DataHelper/bin/Release/DataHelper.dll

Binary file not shown.

BIN
SCADA/Program/DataHelper/bin/Release/DataService.dll

Binary file not shown.

BIN
SCADA/Program/DataHelper/obj/Debug/DataHelper.dll

Binary file not shown.

0
SCADA/Program/DataHelper/obj/Debug/build.force

BIN
SCADA/Program/DataHelper/obj/Release/DataHelper.dll

Binary file not shown.

BIN
SCADA/Program/DataService/bin/Debug/DataService.dll

Binary file not shown.

BIN
SCADA/Program/DataService/bin/Release/DataService.dll

Binary file not shown.

2
SCADA/Program/DataService/obj/Debug/DataService.csproj.FileListAbsolute.txt

@ -20,6 +20,6 @@ E:\Project\牧羊上位机\WpfApplication1\obj\Debug\DataService.dll
E:\Project\牧羊上位机\WpfApplication1\obj\Debug\DataService.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\bin\Debug\DataService.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\bin\Debug\DataService.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Debug\DataService.csprojResolveAssemblyReference.cache
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Debug\DataService.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Debug\DataService.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Debug\DataService.csprojResolveAssemblyReference.cache

BIN
SCADA/Program/DataService/obj/Debug/DataService.dll

Binary file not shown.

1
SCADA/Program/DataService/obj/Release/DataService.csproj.FileListAbsolute.txt

@ -98,6 +98,5 @@ F:\牧羊上位机\WpfApplication1\obj\Release\DataService.dll
F:\牧羊上位机\WpfApplication1\obj\Release\DataService.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\bin\Release\DataService.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\bin\Release\DataService.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Release\DataService.csprojResolveAssemblyReference.cache
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Release\DataService.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\DataService\obj\Release\DataService.pdb

BIN
SCADA/Program/DataService/obj/Release/DataService.dll

Binary file not shown.

0
SCADA/Program/FileDriver/obj/Debug/build.force

0
SCADA/Program/FileDriver/obj/Release/build.force

BIN
SCADA/Program/HMIControl/bin/Debug/HMIControl.dll

Binary file not shown.

BIN
SCADA/Program/HMIControl/bin/Release/HMIControl.dll

Binary file not shown.

2
SCADA/Program/HMIControl/obj/Debug/HMIControl.csproj.FileListAbsolute.txt

@ -331,7 +331,6 @@ C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\bin\Debug\Mi
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\bin\Debug\Microsoft.Expression.Drawing.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\bin\Debug\Microsoft.Expression.Controls.xml
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\bin\Debug\Microsoft.Expression.Drawing.xml
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl.csprojResolveAssemblyReference.cache
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\GeneratedInternalTypeHelper.g.cs
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl_MarkupCompile.cache
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl_MarkupCompile.lref
@ -341,3 +340,4 @@ C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HM
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl.csproj.GenerateResource.Cache
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Debug\HMIControl.csprojResolveAssemblyReference.cache

BIN
SCADA/Program/HMIControl/obj/Debug/HMIControl.dll

Binary file not shown.

1
SCADA/Program/HMIControl/obj/Release/HMIControl.csproj.FileListAbsolute.txt

@ -443,4 +443,3 @@ C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Release\
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Release\HMIControl.csproj.GenerateResource.Cache
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Release\HMIControl.dll
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Release\HMIControl.pdb
C:\Users\Yinan\Documents\Github\SharpSCADA\SCADA\Program\HMIControl\obj\Release\HMIControl.csprojResolveAssemblyReference.cache

BIN
SCADA/Program/HMIControl/obj/Release/HMIControl.dll

Binary file not shown.

0
SCADA/Program/LinkableControlDesignTime/obj/Debug/build.force

0
SCADA/Program/LinkableControlDesignTime/obj/Release/build.force

0
SCADA/Program/ModbusDriver/obj/Debug/build.force

0
SCADA/Program/ModbusDriver/obj/Release/build.force

0
SCADA/Program/OPCDriver/obj/Debug/build.force

0
SCADA/Program/OPCDriver/obj/Release/build.force

0
SCADA/Program/SiemensPLCDriver/obj/Debug/build.force

0
SCADA/Program/SiemensPLCDriver/obj/Release/build.force

Loading…
Cancel
Save