PLCView.xaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <UserControl
  2. x:Class="FurnaceSimulator.Views.PLCView"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:local="clr-namespace:FurnaceSimulator.Views"
  6. Background="{StaticResource viewBackgroundColor}">
  7. <TabControl Style="{StaticResource LargeTab}">
  8. <TabItem Header="Tube">
  9. <local:SimulatorPlcFloatIOView
  10. IoMapFile="ELK\\_ioDefinePM.xml"
  11. Module="PM1"
  12. Port="6740"
  13. Source="System.PM1"/>
  14. </TabItem>
  15. <TabItem Header="GasLine1">
  16. <local:SimulatorPlcFloatIOView
  17. IoMapFile="ELK\\_ioDefineGasLine.xml"
  18. Module="GasLine1"
  19. Port="6741"
  20. Source="System.GasLine1"/>
  21. </TabItem>
  22. <TabItem Header="GasLine2">
  23. <local:SimulatorPlcFloatIOView
  24. IoMapFile="ELK\\_ioDefineGasLine.xml"
  25. Module="GasLine2"
  26. Port="6742"
  27. Source="System.GasLine2"/>
  28. </TabItem>
  29. <TabItem Header="GasLine3">
  30. <local:SimulatorPlcFloatIOView
  31. IoMapFile="ELK\\_ioDefineGasLine.xml"
  32. Module="GasLine3"
  33. Port="6743"
  34. Source="System.GasLine3"/>
  35. </TabItem>
  36. <TabItem Header="GasLine4">
  37. <local:SimulatorPlcFloatIOView
  38. IoMapFile="ELK\\_ioDefineGasLine.xml"
  39. Module="GasLine4"
  40. Port="6744"
  41. Source="System.GasLine4"/>
  42. </TabItem>
  43. <TabItem Header="GasLine6">
  44. <local:SimulatorPlcFloatIOView
  45. IoMapFile="ELK\\_ioDefineGasLine.xml"
  46. Module="GasLine6"
  47. Port="6746"
  48. Source="System.GasLine6"/>
  49. </TabItem>
  50. <TabItem Header="GasLine7">
  51. <local:SimulatorPlcFloatIOView
  52. IoMapFile="ELK\\_ioDefineGasLine.xml"
  53. Module="GasLine7"
  54. Port="6747"
  55. Source="System.GasLine7"/>
  56. </TabItem>
  57. <!--<TabItem Header="GasLine8">
  58. <local:SimulatorPlcFloatIOView
  59. IoMapFile="ELK\\_ioDefineGasLine.xml"
  60. Module="GasLine8"
  61. Port="6748"
  62. Source="System.GasLine8"/>
  63. </TabItem>-->
  64. </TabControl>
  65. </UserControl>