Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #this prompts you to the enter the lane number
  4. echo What number lane is this?
  5. read laneNumber
  6.  
  7. echo What is the Antenna Channel Value?
  8. read antennaChannelValue
  9.  
  10. #this prompts you to enter your values for SEGO
  11. echo enter your SEGO values 'xx|xx'
  12. read segoValues
  13.  
  14. #this prompts you to enter your values for IAG
  15. echo enter your IAG values 'xx|xx'
  16. read iagValues
  17.  
  18. #this prompts you to enter your values for 6c
  19. echo enter your 6C values 'xx|xx'
  20. read sixcValues
  21.  
  22. #this prompts you to enter your freq uplink
  23. echo enter your Frequency Uplink '(5 digit number)'
  24. read freqUpLink
  25.  
  26. #this prompts you to enter your freq uplink
  27. echo enter your Frequency Downlink '(5 digit number)'
  28. read freqDownLink
  29.  
  30. #this prompts you to enter the iag slot number for the hex line
  31. echo Enter your IAG Slot Number '(1 digit number)'
  32. read iagSlotNumber
  33.  
  34. #this prompts you to enter the plaza hex number
  35. echo Enter your Plaza Hex Number '(3 digit number)'
  36. read plazaHex
  37.  
  38. #this prompts you to enter the plaza hex shift
  39. echo Enter your Plaza Hex Shift '(2 digit number)'
  40. read plazaHexShift
  41.  
  42. #this prompts you to enter the lane hex number
  43. echo Enter your Lane Hex Number '(2 digit number)'
  44. read laneHex
  45.  
  46. #this prints the text below to a file
  47. cat <<EOT >> board0.ini
  48. [TrafficSettings1]
  49. LaneNumber=$laneNumber
  50. CrossLaneAddress=
  51. AntennaChannelValue=$antennaChannelValue
  52. AttenuationValues=15|15|$segoValues|$iagValues|99|99|99|99|0|0|99|99|99|$sixcValues
  53. #AttenuationValues=15|15|10|10|15|15|99|99|99|99|0|0|99|99|99|99
  54.  
  55. [TrafficSettings2]
  56. LaneNumber=0
  57. CrossLaneAddress=
  58. AntennaChannelValue=0x0006
  59. AttenuationValues=14|14|10|10|15|15|99|99|99|99|0|0|99|99|99|99
  60.  
  61. [Settings]
  62. LogAVIEnabled=1
  63. IsPrimary=1
  64. TVLLookupEnabled=1
  65. ReaderConfiguration=SPLIT #DO NOT MODIFY THIS LINE
  66.  
  67. ReaderDeviceName=UDP10.1.90.10:58000
  68. #|2-:2101|-:2101|-:2101
  69.  
  70. ReaderFrequencyUplink=$freqUpLink
  71. ReaderFrequencyDownlink=$freqDownLink
  72.  
  73. ReaderTDMDataTdm_control=1
  74. ReaderTDMDataTdm_ReaderSlotNumber=0
  75. ReaderTDMDataTransaction_delay=0
  76. ReaderTDMDataTransaction_duration=0
  77. ReaderTDMDataSynchronization_per=72
  78. ReaderTDMDataTransaction_initialization=1
  79.  
  80. E6LineLoss=2
  81. E6DataDetects=2|0|2|2|2|2|2|2
  82. E6AppendDatetime=1
  83. E6SeenCounters=5|100|5|1000|2|1000|2|1000|2|1000
  84. E6RetryCounters=5|5|5|5|5|5|5|5|5|5|5|5
  85. E6OtherSettings=2|0000000000000000000000000050071508000000000000S12|1${iagSlotNumber}03000000${plazaHex}038${plazaHexShift}${laneHex}0000000000000000|0000|MEA #See E6AVI SSI doc Sec 17 (BC)
  86. M4StraddleFlags=2
  87. M4AgencyID=19
  88. M4ReaderID=202
  89. M4MasterSyncFlags=??
  90. M4OtherSettings=??990589???????
  91. GPSEnabled=0
  92. NormalOperationMode=0
  93. E6T21ProtocolSlot=1
  94. EnableAdjacentMoms=0
  95. ReportFileControlIDLatestFileTimeStamp=0
  96. SetStripeAntennaOnOff=0
  97.  
  98. [Common]
  99. PlazaNumber=25
  100. LaneType=2
  101. AlternateTagDisplayPage=6
  102. NormalModeTagGenAckSleepTime=1
  103. UseChecktagLogicFlag=0
  104. TagRead2TimeoutLength=30
  105. TagAutoWriteTimeoutLength=25
  106. TagMannedWriteTimeoutLength=100
  107. MannedModeWaitToWriteTimeout=90
  108. FareSched=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  109. WaitWriteTimeout1=100
  110. WaitWriteTimeout2=100
  111. TagExpireTime=10
  112. TagExpireCount=0
  113. OfflineProcOption=1
  114. WriteFailsToResetOn=8
  115. ResetOnWriteFails=1
  116. ReportCommercialWritebacks=1
  117. ReportNonRevenueWritebacks=1
  118. ORTEnabled=0
  119. ORTGenAckDelayPeriod=0
  120. ORTPortNumber=8300
  121. ORTTimeValue=30
  122. EmissionEnabled=0
  123. CheckTag_Period=5000
  124. IgnoreTagReReadTimeLimit=20
  125. GPSEnabled=0
  126. BufferedTagModeBits=0x4444
  127. ZoneNumber=40
  128. SettingID=17
  129. StripeTagTimeoutFlag=0
  130.  
  131.  
  132. #Comments
  133. #1. DelDOT reader device name
  134. #NTCPxxx.xxx.xxx.xxx:NNNNN|N-:NNNNN|SYNCCMDSxxx,xxx,xxx,xxx,xxx,xxx|TCPxxx.xxx.xxx.xxx:NNNNN|-:NNNNN
  135. #N - com port number on Mark IV used for MPX
  136. #TCPxxx.xxx.xxx.xxx - IP address of port server, '-' means using last address in this string.
  137. #NNNNN - port number connected to port server, start from 2101 to 2108
  138. #SYNCCMDSxxx,xxx,xxx,xxx,xxx,xxx - different sync command other than default, can be NULL.
  139.  
  140. TagRead1TimeoutLength=30000
  141. IncludeAgencyInTagNumber=2
  142. SendLaneNumberWithStatus=256
  143. InfinityTagClassFromLookupFile=0
  144. HovProcOption=0
  145. SetNonRevenueToValid=0
  146. TvlMomsMaxHour=30
  147. TvlMomsChangedSize=0
  148. TvlMomsMinimumFreeSpace=2000"
  149. EOT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement