| | |
| | | // txtCode |
| | | // |
| | | this.txtCode.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtCode.Location = new System.Drawing.Point(244, 32); |
| | | this.txtCode.Location = new System.Drawing.Point(225, 12); |
| | | this.txtCode.Name = "txtCode"; |
| | | this.txtCode.Size = new System.Drawing.Size(160, 26); |
| | | this.txtCode.TabIndex = 1; |
| | |
| | | // btnTest |
| | | // |
| | | this.btnTest.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.btnTest.Location = new System.Drawing.Point(417, 32); |
| | | this.btnTest.Location = new System.Drawing.Point(399, 12); |
| | | this.btnTest.Name = "btnTest"; |
| | | this.btnTest.Size = new System.Drawing.Size(75, 26); |
| | | this.btnTest.TabIndex = 0; |
| | |
| | | // |
| | | this.cbCode.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cbCode.FormattingEnabled = true; |
| | | this.cbCode.Location = new System.Drawing.Point(23, 34); |
| | | this.cbCode.Location = new System.Drawing.Point(12, 12); |
| | | this.cbCode.Name = "cbCode"; |
| | | this.cbCode.Size = new System.Drawing.Size(198, 24); |
| | | this.cbCode.TabIndex = 2; |
| | |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(504, 89); |
| | | this.ClientSize = new System.Drawing.Size(486, 48); |
| | | this.Controls.Add(this.cbCode); |
| | | this.Controls.Add(this.btnTest); |
| | | this.Controls.Add(this.txtCode); |
| | | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
| | | this.Name = "FrmTool"; |
| | | this.ShowInTaskbar = false; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; |
| | | this.Text = "FrmTool"; |
| | | this.ResumeLayout(false); |
| | | this.PerformLayout(); |
| | |
| | | this.axTETree.Margin = new System.Windows.Forms.Padding(2); |
| | | this.axTETree.Name = "axTETree"; |
| | | this.axTETree.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTETree.OcxState"))); |
| | | this.axTETree.Size = new System.Drawing.Size(400, 600); |
| | | this.axTETree.Size = new System.Drawing.Size(280, 600); |
| | | this.axTETree.TabIndex = 1; |
| | | // |
| | | // FrmTree |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(400, 600); |
| | | this.ClientSize = new System.Drawing.Size(280, 600); |
| | | this.Controls.Add(this.axTETree); |
| | | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; |
| | | this.Margin = new System.Windows.Forms.Padding(2); |
| | |
| | | this.axTEWin.Margin = new System.Windows.Forms.Padding(2); |
| | | this.axTEWin.Name = "axTEWin"; |
| | | this.axTEWin.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axTEWin.OcxState"))); |
| | | this.axTEWin.Size = new System.Drawing.Size(784, 561); |
| | | this.axTEWin.Size = new System.Drawing.Size(1024, 768); |
| | | this.axTEWin.TabIndex = 1; |
| | | // |
| | | // FrmWin |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(784, 561); |
| | | this.ClientSize = new System.Drawing.Size(1024, 768); |
| | | this.Controls.Add(this.axTEWin); |
| | | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; |
| | | this.Margin = new System.Windows.Forms.Padding(2); |
| | |
| | | |
| | | string mainUrl; |
| | | |
| | | public SGWorld74 SG; |
| | | public SGWorld71 SG; |
| | | |
| | | private bool isAngle; |
| | | |
| | |
| | | |
| | | private double angleSize; |
| | | |
| | | private ITerrainLabel74 angleLabel; |
| | | private ITerrainLabel71 angleLabel; |
| | | |
| | | private ITerrainPolyline74 angleLine; |
| | | private ITerrainPolyline71 angleLine; |
| | | |
| | | private string angleGroupName = "角量算"; |
| | | |
| | |
| | | return; |
| | | } |
| | | |
| | | SG = new SGWorld74(); |
| | | SG = new SGWorld71(); |
| | | SG.OnLoadFinished += SG_OnLoadFinished; |
| | | |
| | | tree = new FrmTree(); |
| | |
| | | SG.Command.Execute(1014, 26); break; |
| | | case 0xc6: // 模型数据(*.osgb) |
| | | ExecCmd(new List<string> { "taskkill /f /t /im MeshLayerTool.exe" }); // SG.Command.Execute(2342, null); |
| | | RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunApp TerraExplorer -RunConvertor -Mode ImportMeshLayer -Type osgb", false); |
| | | RunExe(Path.Combine(ConfigurationManager.AppSettings["tePath"], "MeshLayerTool.exe"), " -RunConvertor -Mode ImportMeshLayer -Type osgb", false); // -RunApp TerraExplorer |
| | | break; |
| | | case 0xc7: // 模型数据(*.obj) |
| | | SG.Command.Execute(1012, 13); break; |
| | |
| | | this.ShowHtml("坡度分析", mainUrl + @"\Resources\SlopeMapQuery\SlopeMapQuery.html", 20, 20, 350, 365); |
| | | break; |
| | | case 1045: |
| | | this.ShowHtml("体积分析", mainUrl + @"\Resources\Volume\Volume.html", 20, 20, 350, 255); |
| | | this.ShowHtml("体积分析", mainUrl + @"\Resources\Volume\Volume.html", 20, 20, 350, 225); |
| | | break; |
| | | } |
| | | } |
| | |
| | | </select> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <!--<tr> |
| | | <td class="s8b"> |
| | | <label for="Mode" class="i18n">drawObjects</label> |
| | | </td> |
| | |
| | | <input type="checkbox" id="showObjectsID"> |
| | | <span class="slider round"></span> |
| | | </label> |
| | | <!-- <input type="checkbox" id="showObjectsID" /> --> |
| | | </td> |
| | | </tr> |
| | | </tr>--> |
| | | |
| | | </table> |
| | | <tr class="s8"> |
| | |
| | | <appSettings> |
| | | <add key="isTest" value="1"/> |
| | | <add key="testFly" value="E:\data\opting\2022.fly"/> |
| | | <add key="tePath" value="C:\Program Files\Skyline\TerraExplorer Pro"/> |
| | | <!--<add key="tePath" value="C:\Program Files\Skyline\TerraExplorer Pro"/>--> |
| | | <add key="tePath" value="C:\Program Files\SmartEarth\TerraExplorer Pro"/> |
| | | </appSettings> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> |