FCConfigExample.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <Forecourt xmlns="http://www.wayne.se/2006-03-13/ForecourtConfig.xsd">
  3. <!--The Fuel grades configured for the forecourt-->
  4. <!--There is three grades configured. Only grade 1,2,4 is used on this site.-->
  5. <FuelGrades>
  6. <FuelGrade Id="1">
  7. <MinPrice>0.10</MinPrice>
  8. <MaxPrice>9.99</MaxPrice>
  9. </FuelGrade>
  10. <FuelGrade Id="2">
  11. <MinPrice>0.10</MinPrice>
  12. <MaxPrice>9.99</MaxPrice>
  13. </FuelGrade>
  14. <FuelGrade Id="4">
  15. <MinPrice>0.10</MinPrice>
  16. <MaxPrice>9.99</MaxPrice>
  17. </FuelGrade>
  18. </FuelGrades>
  19. <!--Release profiles -->
  20. <ReleaseProfiles>
  21. <ReleaseProfile Id="1">
  22. <Used>true</Used>
  23. <Description>A descriptive text</Description>
  24. <Limits>
  25. <Limit FuelGradeId="1">
  26. <Amount>200</Amount>
  27. <Volume>20</Volume>
  28. <Time>1000</Time>
  29. </Limit>
  30. <Limit FuelGradeId="2">
  31. <Amount>100</Amount>
  32. <Volume>10</Volume>
  33. <Time>1000</Time>
  34. </Limit>
  35. </Limits>
  36. </ReleaseProfile>
  37. </ReleaseProfiles>
  38. <!--Tanks-->
  39. <Tanks>
  40. <Tank Id="1">
  41. <Used>true</Used>
  42. <TankGroupId>1</TankGroupId>
  43. <FuelGradeId>1</FuelGradeId>
  44. <MaxCapacity>5000</MaxCapacity>
  45. <LowLevelAlarmLimit>1000</LowLevelAlarmLimit>
  46. </Tank>
  47. <Tank Id="2">
  48. <Used>true</Used>
  49. <TankGroupId>2</TankGroupId>
  50. <FuelGradeId>2</FuelGradeId>
  51. <MaxCapacity>6000</MaxCapacity>
  52. <LowLevelAlarmLimit>1000</LowLevelAlarmLimit>
  53. </Tank>
  54. </Tanks>
  55. <!--Tank groups-->
  56. <TankGroups>
  57. <TankGroup Id="1">
  58. <Used>true</Used>
  59. <LinkedTanks>
  60. <TankId>1</TankId>
  61. </LinkedTanks>
  62. </TankGroup>
  63. <TankGroup Id="2">
  64. <Used>true</Used>
  65. <LinkedTanks>
  66. <TankId>2</TankId>
  67. </LinkedTanks>
  68. </TankGroup>
  69. </TankGroups>
  70. <Pumps>
  71. <Pump Id="1">
  72. <Used>true</Used>
  73. <ComLinkId>1</ComLinkId>
  74. <PhysicalDeviceId>1</PhysicalDeviceId>
  75. <Nozzles>
  76. <Nozzle Id="1">
  77. <Used>true</Used>
  78. <FuelGradeId>1</FuelGradeId>
  79. <PrimaryTankId>1</PrimaryTankId>
  80. </Nozzle>
  81. <Nozzle Id="2">
  82. <Used>true</Used>
  83. <FuelGradeId>2</FuelGradeId>
  84. <PrimaryTankId>2</PrimaryTankId>
  85. </Nozzle>
  86. </Nozzles>
  87. </Pump>
  88. </Pumps>
  89. <!--Price Poles-->
  90. <PricePoles>
  91. <PricePole Id="1">
  92. <Used>true</Used>
  93. <PricePoleSegments>
  94. <PricePoleSegment Id="1">
  95. <Used>true</Used>
  96. <FuelGradeId>1</FuelGradeId>
  97. <PriceGroup>FullService</PriceGroup>
  98. </PricePoleSegment>
  99. </PricePoleSegments>
  100. <ComLinkId>4</ComLinkId>
  101. <PhysicalDeviceId>1</PhysicalDeviceId>
  102. </PricePole>
  103. </PricePoles>
  104. <!--Communication links-->
  105. <ComLinks>
  106. <ComLink Id="1">
  107. <LinkName>FL1-2</LinkName>
  108. <LinkProtocolType>Dart</LinkProtocolType>
  109. <PhysicalLinkType>1</PhysicalLinkType>
  110. <BaudRate>9600</BaudRate>
  111. <StopBits>1</StopBits>
  112. <Parity>none</Parity>
  113. </ComLink>
  114. <ComLink Id="4">
  115. <LinkName>D1</LinkName>
  116. <LinkProtocolType>Dart</LinkProtocolType>
  117. <PhysicalLinkType>1</PhysicalLinkType>
  118. <BaudRate>2400</BaudRate>
  119. <StopBits>1</StopBits>
  120. <Parity>even</Parity>
  121. </ComLink>
  122. </ComLinks>
  123. </Forecourt>