Measure_Cloud.dpr 21 KB

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