Measure_Cloud_Debug.dpr 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. program Measure_Cloud_Debug;
  2. {$R '..\..\res\uac.res' '..\..\res\uac.rc'}
  3. uses
  4. Windows,
  5. ShareMem,
  6. Forms,
  7. Controls,
  8. MainFrm in '..\..\Forms\MainFrm.pas' {MainForm},
  9. ProjectManagerFme in '..\..\Frames\ProjectManagerFme.pas' {ProjectManagerFrame: TFrame},
  10. UtilMethods in '..\..\Units\UtilMethods.pas',
  11. ProjectManagerDm in '..\..\DataModules\ProjectManagerDm.pas' {ProjectManagerData: TDataModule},
  12. Connections in '..\..\Units\Connections.pas',
  13. TransFile in '..\..\Units\TransFile.pas',
  14. ZhAPI in '..\..\Units\ZhAPI.pas',
  15. CompactDB in '..\..\Units\CompactDB.pas',
  16. OpenProjectManager in '..\..\Units\OpenProjectManager.pas',
  17. ProjectData in '..\..\Units\ProjectData.pas',
  18. UpdateDataBase in '..\..\Units\UpdateDataBase.pas',
  19. DataBaseTables in '..\..\Units\DataBaseTables.pas',
  20. ConfigDoc in '..\..\Units\ConfigDoc.pas',
  21. SupportUnit in '..\..\Units\SupportUnit.pas',
  22. StandardLibs in '..\..\Units\StandardLibs.pas',
  23. StandardLib in '..\..\Units\StandardLib.pas',
  24. NewProjectFrm in '..\..\Forms\NewProjectFrm.pas' {NewProjectForm},
  25. ProjectFme in '..\..\Frames\ProjectFme.pas' {ProjectFrame: TFrame},
  26. StandardBillsDm in '..\..\DataModules\StandardBillsDm.pas' {StandardBillsData: TDataModule},
  27. StandardBillsFme in '..\..\Frames\StandardBillsFme.pas' {StandardBillsFrame: TFrame},
  28. StandardLibsFme in '..\..\Frames\StandardLibsFme.pas' {StandardLibsFrame: TFrame},
  29. BillsDm in '..\..\DataModules\BillsDm.pas' {BillsData: TDataModule},
  30. Globals in '..\..\Units\Globals.pas',
  31. StageDm in '..\..\DataModules\StageDm.pas' {StageData: TDataModule},
  32. ExcelImport in '..\..\Units\ExcelImport.pas',
  33. CacheTree in '..\..\Units\CacheTree.pas',
  34. MCacheTree in '..\..\Units\MCacheTree.pas',
  35. ProjectPropertiesFrm in '..\..\Forms\ProjectPropertiesFrm.pas' {ProjectPropertiesForm},
  36. ProjectProperty in '..\..\Units\ProjectProperty.pas',
  37. FormulaCalc in '..\..\Units\FormulaCalc.pas',
  38. BillsCommand in '..\..\Units\BillsCommand.pas',
  39. PhaseData in '..\..\Units\PhaseData.pas',
  40. PhaseProperty in '..\..\Units\PhaseProperty.pas',
  41. BillsClipboard in '..\..\Units\BillsClipboard.pas',
  42. ProjectCommands in '..\..\Units\ProjectCommands.pas',
  43. PhaseCompareDm in '..\..\DataModules\PhaseCompareDm.pas' {PhaseCompareData: TDataModule},
  44. PhaseCompareFme in '..\..\Frames\PhaseCompareFme.pas' {PhaseCompareFrame: TFrame},
  45. OptionFrm in '..\..\Forms\OptionFrm.pas' {OptionForm},
  46. DealPaymentDm in '..\..\DataModules\DealPaymentDm.pas' {DealPaymentData: TDataModule},
  47. DealPaymentFme in '..\..\Frames\DealPaymentFme.pas' {DealPaymentFrame: TFrame},
  48. PhasePayDm in '..\..\DataModules\PhasePayDm.pas' {PhasePayData: TDataModule},
  49. ZJJLDm in '..\..\DataModules\ZJJLDm.pas' {ZJJLData: TDataModule},
  50. BillsGatherDm in '..\..\DataModules\BillsGatherDm.pas' {BillsGatherData: TDataModule},
  51. BillsGatherFme in '..\..\Frames\BillsGatherFme.pas' {BillsGatherFrame: TFrame},
  52. LoginFrm in '..\..\Forms\LoginFrm.pas' {LoginFrm},
  53. PHPWebDm in '..\..\DataModules\PHPWebDm.pas' {PHPWeb: TDataModule},
  54. MD5Unit in '..\..\Units\MD5Unit.pas',
  55. ConstUnit in '..\..\Units\ConstUnit.pas',
  56. ExportExcel in '..\..\Units\ExportExcel.pas',
  57. mEncryptEditions in '..\..\Encrypt\mEncryptEditions.pas',
  58. mEncryptUnit in '..\..\Encrypt\mEncryptUnit.pas',
  59. CryptUtils in '..\..\Encrypt\CryptUtils.pas',
  60. EncryptDog in '..\..\Encrypt\EncryptDog.pas',
  61. mEncryptPWD in '..\..\Encrypt\mEncryptPWD.pas',
  62. mEncryptTypes in '..\..\Encrypt\mEncryptTypes.pas',
  63. mR1Encrypt in '..\..\Encrypt\mR1Encrypt.pas',
  64. mS4Utils in '..\..\Encrypt\mS4Utils.pas',
  65. mSNSEncrypt in '..\..\Encrypt\mSNSEncrypt.pas',
  66. Rockey1 in '..\..\Encrypt\Rockey1.pas',
  67. mConnectEncrypt in '..\..\Encrypt\NetClient\mConnectEncrypt.pas',
  68. FindUserFrm in '..\..\Forms\FindUserFrm.pas' {FindUserForm},
  69. CslJson in '..\..\Units\CslJson.pas',
  70. OrderCheckerFme in '..\..\Frames\OrderCheckerFme.pas' {OrderCheckerFrame: TFrame},
  71. CheckerFme in '..\..\Frames\CheckerFme.pas' {CheckerFrame: TFrame},
  72. WebNewTenderFrm in '..\..\Forms\WebNewTenderFrm.pas' {WebNewTenderForm},
  73. ScFileArchiver in '..\..\Encrypt\ScFileArchiver.pas',
  74. SearchDm in '..\..\DataModules\SearchDm.pas' {SearchData: TDataModule},
  75. DealBillsDm in '..\..\DataModules\DealBillsDm.pas' {DealBillsData: TDataModule},
  76. BGLDm in '..\..\DataModules\BGLDm.pas' {BGLData: TDataModule},
  77. StaffDm in '..\..\DataModules\StaffDm.pas' {StaffData: TDataModule},
  78. BillsCompileDm in '..\..\DataModules\BillsCompileDm.pas' {BillsCompileData: TDataModule},
  79. BillsMeasureDm in '..\..\DataModules\BillsMeasureDm.pas' {BillsMeasureData: TDataModule},
  80. ReportManager in '..\..\Units\ReportManager.pas',
  81. BGLSelectFrm in '..\..\Forms\BGLSelectFrm.pas' {BGLSelectForm},
  82. BillsCompileFme in '..\..\Frames\BillsCompileFme.pas' {BillsCompileFrame: TFrame},
  83. BillsMeasureFme in '..\..\Frames\BillsMeasureFme.pas' {BillsMeasureFrame: TFrame},
  84. BatchReplaceBillsFrm in '..\..\Forms\BatchReplaceBillsFrm.pas' {BatchReplaceBillsForm},
  85. ZJJLFme in '..\..\Frames\ZJJLFme.pas' {ZJJLFrame: TFrame},
  86. BGLFme in '..\..\Frames\BGLFme.pas' {BGLFrame: TFrame},
  87. MergeTextFrm in '..\..\Forms\MergeTextFrm.pas' {MergeTextForm},
  88. ReportsFrm in '..\..\Forms\ReportsFrm.pas' {ReportsForm},
  89. ReportAdjustFrm in '..\..\Forms\ReportAdjustFrm.pas' {ReportAdjustForm},
  90. SearchFme in '..\..\Frames\SearchFme.pas' {SearchFrame: TFrame},
  91. AuthFrm in '..\..\Forms\AuthFrm.pas' {AuthorizeForm},
  92. AboutFrm in '..\..\Forms\AboutFrm.pas' {AboutForm},
  93. ImportExcelHintFrm in '..\..\Forms\ImportExcelHintFrm.pas' {ImportExcelHintForm},
  94. PasswordInputFrm in '..\..\Forms\PasswordInputFrm.pas' {PasswordInputForm},
  95. BatchInsertBillsFrm in '..\..\Forms\BatchInsertBillsFrm.pas' {BatchInsertBillsForm},
  96. MainDataListDm in '..\..\DataModules\MainDataListDm.pas' {MainListData: TDataModule},
  97. mProgressFrm in '..\..\Forms\mProgressFrm.pas' {mProgress},
  98. rmGclBillsBGDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsBGDm.pas' {rmGclBillsBGData: TDataModule},
  99. rmGclBillsCompareDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsCompareDm.pas' {rmGclBillsCompareData: TDataModule},
  100. rmBGLExecutionDm in '..\..\DataModules\ReportMemoryDm\rmBGLExecutionDm.pas' {rmBGLExecutionData: TDataModule},
  101. rmBillsGatherDm in '..\..\DataModules\ReportMemoryDm\rmBillsGatherDm.pas' {rmBillsGatherData: TDataModule},
  102. rmFxBillsAddDm in '..\..\DataModules\ReportMemoryDm\rmFxBillsAddDm.pas' {rmFxBillsAddData: TDataModule},
  103. rmFxBillsCompareDm in '..\..\DataModules\ReportMemoryDm\rmFxBillsCompareDm.pas' {rmFxBillsCompareData: TDataModule},
  104. rmGclBillsAddDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsAddDm.pas' {rmGclBillsAddData: TDataModule},
  105. rmGridHeaderDm in '..\..\DataModules\ReportMemoryDm\rmGridHeaderDm.pas' {rmGridHeaderData: TDataModule},
  106. rmCacheData in '..\..\DataModules\ReportMemoryDm\rmCacheData.pas',
  107. rmSelectProjectFrm in '..\..\Forms\rmSelectProjectFrm.pas' {ProjectSelectForm},
  108. ConditionalDefines in '..\..\Units\ConditionalDefines.pas',
  109. ProgressHintFrm in '..\..\Forms\ProgressHintFrm.pas' {ProgressHintForm},
  110. CheckAndClearFrm in '..\..\Forms\CheckAndClearFrm.pas' {CheckAndClearForm},
  111. rmGclBillsAuditCompareDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsAuditCompareDm.pas' {rmGclBillsAuditCompareData: TDataModule},
  112. rmTestFrm in '..\..\DataModules\ReportMemoryDm\rmTestFrm.pas' {rmTestForm},
  113. DealBillsFrm in '..\..\Forms\DealBillsFrm.pas' {DealBillsForm},
  114. TenderBackupFrm in '..\..\Forms\TenderBackupFrm.pas' {TenderBackupForm},
  115. TenderBackupDm in '..\..\DataModules\TenderBackupDm.pas' {TenderBackupData: TDataModule},
  116. BillsBookmarkDm in '..\..\DataModules\BillsBookmarkDm.pas' {BillsBookmarkData: TDataModule},
  117. BookmarkFme in '..\..\Frames\BookmarkFme.pas' {BookmarkFrame: TFrame},
  118. rmDealInfosDm in '..\..\DataModules\ReportMemoryDm\rmDealInfosDm.pas' {rmDealInfosData: TDataModule},
  119. rmXmjBGLDetailDm in '..\..\DataModules\ReportMemoryDm\rmXmjBGLDetailDm.pas' {rmXmjBGLDetailData: TDataModule},
  120. WelcomeFrm in '..\..\Forms\WelcomeFrm.pas' {WelcomeForm},
  121. rmOtherReport1Dm in '..\..\DataModules\ReportMemoryDm\rmOtherReport1Dm.pas' {rmOtherReport1Data: TDataModule},
  122. CheckerMemoFrm in '..\..\Forms\CheckerMemoFrm.pas' {CheckerMemoForm},
  123. CslHint in '..\..\Units\CslHint.pas',
  124. IPFrm in '..\..\Forms\IPFrm.pas' {IPForm},
  125. TenderBackupManager in '..\..\Units\TenderBackupManager.pas',
  126. UpFileManageUnit in '..\..\Units\UpFileManageUnit.pas',
  127. UpFileFrame in '..\..\Forms\UpFileFrame.pas',
  128. UpFileManageFrame in '..\..\Forms\UpFileManageFrame.pas',
  129. SheetSelectFrm in '..\..\Forms\SheetSelectFrm.pas' {SheetSelectForm},
  130. ReportInteractInfo in '..\..\Units\ReportInteractInfo.pas',
  131. Checker in '..\..\Units\Checker.pas',
  132. AuditSelectFrm in '..\..\Forms\ReportInteractFrms\AuditSelectFrm.pas' {AuditSelctForm},
  133. DealBillsFme in '..\..\Frames\DealBillsFme.pas' {DealBillsFrame: TFrame},
  134. rmGclBillsPlaneDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsPlaneDm.pas' {rmGclBillsPlaneData: TDataModule},
  135. StageCompareDm in '..\..\DataModules\StageCompareDm.pas' {StageCompareData: TDataModule},
  136. mDataRecord in '..\..\Units\mDataRecord.pas',
  137. BGLClipboard in '..\..\Units\BGLClipboard.pas',
  138. rmMentalCustomized1Dm in '..\..\DataModules\ReportMemoryDm\rmMentalCustomized1Dm.pas' {rmMentalCustomized1Data: TDataModule},
  139. rmGcl_XmjBillsDm in '..\..\DataModules\ReportMemoryDm\rmGcl_XmjBillsDm.pas' {rmGcl_XmjBillsData: TDataModule},
  140. rmCustomized2Dm in '..\..\DataModules\ReportMemoryDm\rmCustomized2Dm.pas' {rmCustomized2Data: TDataModule},
  141. CalcDecimal in '..\..\Units\CalcDecimal.pas',
  142. BillsPasteSelectFrm in '..\..\Forms\BillsPasteSelectFrm.pas' {BillsPasteSelectForm},
  143. DetailExcelImport in '..\..\Units\DetailExcelImport.pas',
  144. mProgressProFrm in '..\..\Forms\mProgressProFrm.pas' {ProgressProForm},
  145. rmHaBaiCustomizedDm in '..\..\DataModules\ReportMemoryDm\rmHaBaiCustomizedDm.pas' {rmHaBaiCustomizedData: TDataModule},
  146. ProjectGLDm in '..\..\DataModules\ProjectGLDm.pas' {ProjectGLData: TDataModule},
  147. PriceMarginBillsDm in '..\..\DataModules\PriceMarginBillsDm.pas' {PriceMarginBillsData: TDataModule},
  148. GclBillsGatherModel in '..\..\Units\GclBillsGatherModel.pas',
  149. DetailGLDm in '..\..\DataModules\DetailGLDm.pas' {DetailGLData: TDataModule},
  150. PriceMarginFme in '..\..\Frames\PriceMarginFme.pas' {PriceMarginFrame: TFrame},
  151. ProjectGLFme in '..\..\Frames\ProjectGLFme.pas' {ProjectGLFrame: TFrame},
  152. SelectDetailGLsFrm in '..\..\Forms\SelectDetailGLsFrm.pas' {SelectDetailGLsForm},
  153. DealPayPlanFrm in '..\..\Forms\DealPayPlanFrm.pas' {DealPayPlanForm},
  154. BaseClipboard in '..\..\Units\BaseClipboard.pas',
  155. mPegFilter in '..\..\Units\mPegFilter.pas',
  156. tpBaseGatherData in '..\..\TenderPartition\tpBaseGatherData.pas',
  157. tpGatherGcl in '..\..\TenderPartition\tpGatherGcl.pas',
  158. tpGatherTree in '..\..\TenderPartition\tpGatherTree.pas',
  159. tpMainData in '..\..\TenderPartition\tpMainData.pas',
  160. tpMainFrm in '..\..\TenderPartition\tpMainFrm.pas' {tpMainForm},
  161. tpNoPegDm in '..\..\TenderPartition\tpNoPegDm.pas' {tpNoPegData: TDataModule},
  162. tpPartTender in '..\..\TenderPartition\tpPartTender.pas',
  163. tpPartTenderFme in '..\..\TenderPartition\tpPartTenderFme.pas' {tpPartTenderFrame: TFrame},
  164. tpPartTenderSet in '..\..\TenderPartition\tpPartTenderSet.pas',
  165. tpPartTenderSetFme in '..\..\TenderPartition\tpPartTenderSetFme.pas' {tpPartTenderSetFrame: TFrame},
  166. tpPeg in '..\..\TenderPartition\tpPeg.pas',
  167. tpPeg_GclDm in '..\..\TenderPartition\tpPeg_GclDm.pas' {tpPeg_GclData: TDataModule},
  168. tpPeg_GclFme in '..\..\TenderPartition\tpPeg_GclFme.pas' {tpPeg_GclFrame: TFrame},
  169. tpPegBlock in '..\..\TenderPartition\tpPegBlock.pas',
  170. tpPegGclGatherDm in '..\..\TenderPartition\tpPegGclGatherDm.pas' {tpPegGclGatherData: TDataModule},
  171. tpPegGclGatherFme in '..\..\TenderPartition\tpPegGclGatherFme.pas' {tpPegGclGatherFrame: TFrame},
  172. tpPegPartSettingFrm in '..\..\TenderPartition\tpPegPartSettingFrm.pas' {tpPegPartSettingForm},
  173. tpPricePartSettingFrm in '..\..\TenderPartition\tpPricePartSettingFrm.pas' {tpPricePartSettingForm},
  174. tpSelectTenderDm in '..\..\TenderPartition\tpSelectTenderDm.pas' {tpSelectTenderData: TDataModule},
  175. tpSelectTenderNode in '..\..\TenderPartition\tpSelectTenderNode.pas',
  176. tpSelectTendersFrm in '..\..\TenderPartition\tpSelectTendersFrm.pas' {SelectTendersForm},
  177. tpTrialPegInputFrm in '..\..\TenderPartition\tpTrialPegInputFrm.pas' {TrialPegInputForm},
  178. PriceMarginBillsFme in '..\..\Frames\PriceMarginBillsFme.pas' {PriceMarginBillsFrame: TFrame},
  179. ReportPrepare in '..\..\Report\ReportPrepare.pas',
  180. rdpBillsGatherDm in '..\..\Report\DataPrepare\rdpBillsGatherDm.pas' {rdpBillsGatherData: TDataModule},
  181. rdpTables in '..\..\Report\DataPrepare\rdpTables.pas',
  182. ColVisibleManager in '..\..\Units\ColVisibleManager.pas',
  183. ReportConnection in '..\..\Report\ReportConnection.pas',
  184. rgpGatherControl in '..\..\Report\ProjGather\rgpGatherControl.pas',
  185. rpgBillsCalcDm in '..\..\Report\ProjGather\rpgBillsCalcDm.pas' {rpgBillsCalcData: TDataModule},
  186. rpgBillsDm in '..\..\Report\ProjGather\rpgBillsDm.pas' {rpgBillsData: TDataModule},
  187. rpgGatherControl in '..\..\Report\ProjGather\rpgGatherControl.pas',
  188. rpgGatherData in '..\..\Report\ProjGather\rpgGatherData.pas',
  189. rpgGatherProjDm in '..\..\Report\ProjGather\rpgGatherProjDm.pas' {rpgGatherProjData: TDataModule},
  190. rProjGatherTables in '..\..\Report\ProjGather\rProjGatherTables.pas',
  191. ProjGatherTree in '..\..\ProjGather\ProjGatherTree.pas',
  192. ProjGather in '..\..\ProjGather\ProjGather.pas',
  193. CalcData in '..\..\Units\CalcData.pas',
  194. GatherProjInfo in '..\..\ProjGather\GatherProjInfo.pas',
  195. ProjGatherCalcData in '..\..\ProjGather\ProjGatherCalcData.pas',
  196. ProjGatherSelectFrm in '..\..\ProjGather\ProjGatherSelectFrm.pas' {ProjGatherSelectForm},
  197. DealBillsExcelImport in '..\..\Units\DealBillsExcelImport.pas',
  198. ExcelImport_Bills in '..\..\Units\ExcelImport_Bills.pas',
  199. ExcelImport_GclBills in '..\..\Units\ExcelImport_GclBills.pas',
  200. DbTreeImport in '..\..\Units\DbTreeImport.pas',
  201. DbTreeDm in '..\..\DataModules\DbTreeDm.pas' {DbTreeData: TDataModule},
  202. DebugUsers in '..\..\Units\DebugUsers.pas',
  203. FileDownLoadFrm in '..\..\Forms\FileDownLoadFrm.pas' {FileDownLoadForm},
  204. OtherMeasurePhaseDm in '..\..\DataModules\OtherMeasurePhaseDm.pas' {OtherMeasurePhaseData: TDataModule},
  205. OtherMeasureOnceDm in '..\..\DataModules\OtherMeasureOnceDm.pas' {OtherMeasureOnceData: TDataModule},
  206. OMPhaseRecord in '..\..\Units\DataRecord\OMPhaseRecord.pas',
  207. OtherMeasureFme in '..\..\Frames\OtherMeasureFme.pas' {OtherMeasureFrame: TFrame},
  208. ProjGatherSelectFme in '..\..\ProjGather\ProjGatherSelectFme.pas' {ProjGatherSelectFrame: TFrame},
  209. rpgZoneGatherControl in '..\..\Report\ProjGather\Zone\rpgZoneGatherControl.pas',
  210. rpgZoneProjGatherSelectFrm in '..\..\Report\ProjGather\Zone\rpgZoneProjGatherSelectFrm.pas' {rpgZoneProjGatherSelectForm},
  211. UpFileSelectOnLineFrm in '..\..\Forms\UpFileSelectOnLineFrm.pas' {UpFileSelectOnLineForm},
  212. LogUtils in '..\..\Units\LogUtils.pas',
  213. ReportPdfHelper in '..\..\Units\ReportPdfHelper.pas',
  214. SelectOnlineSignPhaseFrm in '..\..\Forms\SelectOnlineSignPhaseFrm.pas' {SelectOnlineSignPhaseForm},
  215. SignOnlineReportsFrm in '..\..\Forms\SignOnlineReportsFrm.pas' {SignOnlineReportsForm},
  216. SignReports in '..\..\Units\SignReports.pas',
  217. VirtualTrees in '..\..\..\SmartCost\Components\virtualtree\VirtualTrees.pas',
  218. TemplateManagerHelper in '..\..\Units\TemplateManagerHelper.pas',
  219. RenameSignReportFrm in '..\..\Forms\RenameSignReportFrm.pas' {RenameSignReportForm},
  220. rmWeiWuZjjlGatherDm in '..\..\DataModules\ReportMemoryDm\rmWeiWuZjjlGatherDm.pas' {rmWeiWuZjjlGatherData: TDataModule},
  221. SetGuestFrm in '..\..\Forms\SetGuestFrm.pas' {SetGuestForm},
  222. ProjGatherDealPay in '..\..\ProjGather\ProjGatherDealPay.pas',
  223. ProjGatherProperties in '..\..\ProjGather\ProjGatherProperties.pas',
  224. rpgDealPayDm in '..\..\Report\ProjGather\rpgDealPayDm.pas' {rgpDealPayData: TDataModule},
  225. superobject in '..\..\Units\superobject\superobject.pas',
  226. ReportManagerFrm in '..\..\Forms\ReportManagerFrm.pas',
  227. ReportManagerDM in '..\..\DataModules\ReportManagerDM.pas' {Reports: TDataModule},
  228. ReportHistoryFrm in '..\..\Forms\ReportHistoryFrm.pas' {ReportHistoryForm},
  229. MeasureGatherZJJL in '..\..\Units\MeasureGatherZJJL.pas',
  230. stgGatherControl in '..\..\SubTenderGather\stgGatherControl.pas',
  231. stgSelectFileFrm in '..\..\SubTenderGather\stgSelectFileFrm.pas' {stgSelectFileForm},
  232. stgGatherCacheData in '..\..\SubTenderGather\stgGatherCacheData.pas',
  233. stgGatherDm in '..\..\SubTenderGather\stgGatherDm.pas' {stgGatherData: TDataModule},
  234. stgResultFrm in '..\..\SubTenderGather\stgResultFrm.pas' {stgResultForm},
  235. stgGatherUtils in '..\..\SubTenderGather\stgGatherUtils.pas',
  236. stgExcelExport in '..\..\SubTenderGather\stgExcelExport.pas',
  237. stgSubGatherFile in '..\..\SubTenderGather\stgSubGatherFile.pas',
  238. stgSubGatherFileDm in '..\..\SubTenderGather\stgSubGatherFileDm.pas' {stgSubGatherData: TDataModule},
  239. stgTables in '..\..\SubTenderGather\stgTables.pas',
  240. stgGather in '..\..\SubTenderGather\stgGather.pas',
  241. rmZhongKaiDm in '..\..\DataModules\ReportMemoryDm\rmZhongKaiDm.pas' {rmZhongKaiData: TDataModule},
  242. BillsTree in '..\..\Units\BillsTree.pas',
  243. BillsPosTree in '..\..\Units\BillsPosTree.pas',
  244. DealPayFinalDm in '..\..\DataModules\DealPayFinalDm.pas' {DealPayFinalData: TDataModule},
  245. rmWuJiuZqzfGatherDm in '..\..\DataModules\ReportMemoryDm\rmWuJiuZqzfGatherDm.pas' {rmWuJiuZqzfGatherData: TDataModule},
  246. uGetMacAddr in '..\..\Units\uGetMacAddr.pas',
  247. AttachmentInfoDm in '..\..\DataModules\AttachmentInfoDm.pas' {AttachmentInfoData: TDataModule};
  248. {$R *.res}
  249. var
  250. Mutex: THandle;
  251. IPForm: TIPForm;
  252. begin
  253. Mutex := CreateMutex(nil, True, G_AppHandleName);
  254. if GetLastError = ERROR_ALREADY_EXISTS then
  255. Application.MessageBox('程序正在运行, 请勿重复打开该软件!', '系统提示', MB_OK + MB_ICONINFORMATION)
  256. else
  257. begin
  258. Application.CreateHandle;
  259. Application.Initialize;
  260. Application.Title := '纵横公路工程结算决算计量一体化软件云版';
  261. {$IFDEF _mCloud}
  262. IPForm := TIPForm.Create(nil);
  263. try
  264. if not IPForm.HasIP then
  265. begin
  266. IPForm.ShowModal;
  267. if IPForm.ModalResult <> mrOK then
  268. begin
  269. Application.Terminate;
  270. Exit;
  271. end;
  272. end;
  273. finally
  274. IPForm.Free;
  275. end;
  276. {$IFDEF _mLoginNoPW}
  277. sName := PHPWeb.GetNameFromURLProtocol(ParamStr(1));
  278. if sName = '' then // 表示手工运行的
  279. begin
  280. Application.MessageBox('请从 项目管理信息平台 打开软件。', '系统提示', MB_OK + MB_ICONINFORMATION);
  281. Application.Terminate;
  282. end
  283. else
  284. begin
  285. // For Test only!
  286. // Application.MessageBox(PChar(ParamStr(1) + #10#13 + sName), '系统提示', MB_OK + MB_ICONINFORMATION);
  287. // Application.Terminate;
  288. if sName[1] = '%' then
  289. sName := UTF8Decode(HttpDecode(sName));
  290. case PHPWeb.Login(sName, '', 2, sInfo, sURL) of
  291. ltLoginFail:
  292. begin
  293. Application.MessageBox('该用户尚未注册不能登录!', '操作提醒', MB_OK + MB_ICONWARNING);
  294. Application.Terminate;
  295. end;
  296. ltUpdate: // 升级
  297. begin
  298. if Application.MessageBox(PChar(sInfo), '系统提示', MB_OKCANCEL + MB_ICONQUESTION) = ID_OK then
  299. begin
  300. vFDForm := TFileDownLoadForm.Create(nil);
  301. try
  302. vFDForm.URL := sURL;
  303. vFDForm.ShowModal;
  304. finally
  305. vFDForm.Free;
  306. end;
  307. end;
  308. Application.Terminate;
  309. end;
  310. ltDisCon:
  311. begin
  312. Application.MessageBox('网络错误,请稍后重试!', '操作提醒', MB_OK + MB_ICONWARNING);
  313. Application.Terminate;
  314. end;
  315. else
  316. ;
  317. end;
  318. end;
  319. {$ELSE}
  320. if not LoginForm then
  321. begin
  322. Application.Terminate;
  323. Exit;
  324. end;
  325. {$ENDIF}
  326. {$ENDIF}
  327. if CheckDogExists then
  328. begin
  329. Application.CreateForm(TMainForm, MainForm);
  330. Application.CreateForm(TSetGuestForm, SetGuestForm);
  331. end;
  332. Application.Run;
  333. end;
  334. ReleaseMutex(Mutex);
  335. end.