Commit 99339a04501cc6dd665f3366c51ab0978f97bfa2
1 parent
3b3ecfd1
Exists in
textosRedesEsgoto
V. 8.1.2 - Os textos dos materiais das redes de esgoto não estavam funcionando. Corrigido.
Showing
7 changed files
with
11 additions
and
6 deletions
Show diff stats
install/GeraSetupGeoSan/ArquivosInstGeoSan/GeoSan.exe
No preview for this file type
install/GeraSetupGeoSan/Codigo Gerador Instalador Geosan com TerraComponents.iss
trunk/GeoSan.exe
No preview for this file type
trunk/GeoSan.vbp
@@ -139,8 +139,8 @@ Class=clsRamalController; classes\clsRamalController.cls | @@ -139,8 +139,8 @@ Class=clsRamalController; classes\clsRamalController.cls | ||
139 | Class=clsConsumidorModel; classes\clsConsumidorModel.cls | 139 | Class=clsConsumidorModel; classes\clsConsumidorModel.cls |
140 | Class=clsConsumidorControler; classes\clsConsumidorControler.cls | 140 | Class=clsConsumidorControler; classes\clsConsumidorControler.cls |
141 | Object={F03ABD98-7B60-43E4-9934-DA5F0D19FDAC}#1.0#0; TeComViewManager.dll | 141 | Object={F03ABD98-7B60-43E4-9934-DA5F0D19FDAC}#1.0#0; TeComViewManager.dll |
142 | -ResFile32="GeoSan.RES" | ||
143 | Class=CAcertaZsDosNosEsgoto; classes\CAcertaZsDosNosEsgoto.cls | 142 | Class=CAcertaZsDosNosEsgoto; classes\CAcertaZsDosNosEsgoto.cls |
143 | +ResFile32="GeoSan.RES" | ||
144 | IconForm="FrmMain" | 144 | IconForm="FrmMain" |
145 | Startup="Sub Main" | 145 | Startup="Sub Main" |
146 | HelpFile="" | 146 | HelpFile="" |
@@ -153,7 +153,7 @@ HelpContextID="0" | @@ -153,7 +153,7 @@ HelpContextID="0" | ||
153 | CompatibleMode="0" | 153 | CompatibleMode="0" |
154 | MajorVer=8 | 154 | MajorVer=8 |
155 | MinorVer=1 | 155 | MinorVer=1 |
156 | -RevisionVer=1 | 156 | +RevisionVer=2 |
157 | AutoIncrementVer=0 | 157 | AutoIncrementVer=0 |
158 | ServerSupportFiles=0 | 158 | ServerSupportFiles=0 |
159 | VersionCompanyName="NEXUS GeoEngenharia e Com. Ltda." | 159 | VersionCompanyName="NEXUS GeoEngenharia e Com. Ltda." |
trunk/Modules/Global.bas
@@ -201,7 +201,7 @@ Public Sub Main() | @@ -201,7 +201,7 @@ Public Sub Main() | ||
201 | End If | 201 | End If |
202 | 'Configura a versão atual do GeoSan | 202 | 'Configura a versão atual do GeoSan |
203 | Versao_Geo = App.Major & "." & App.Minor & "." & App.Revision | 203 | Versao_Geo = App.Major & "." & App.Minor & "." & App.Revision |
204 | - Versao_Geo = "08.02.00" | 204 | + Versao_Geo = "08.01.02" |
205 | glo.diretorioGeoSan = App.path 'salva globalmente o caminho onde encontra-se o GeoSan.exe | 205 | glo.diretorioGeoSan = App.path 'salva globalmente o caminho onde encontra-se o GeoSan.exe |
206 | SaveLoadGlobalData glo.diretorioGeoSan + "/controles/variaveisGlobais.txt", True 'salva em um arquivo todas as variáveis globais para poderem ser acessadas por outras aplicações | 206 | SaveLoadGlobalData glo.diretorioGeoSan + "/controles/variaveisGlobais.txt", True 'salva em um arquivo todas as variáveis globais para poderem ser acessadas por outras aplicações |
207 | connn = "" | 207 | connn = "" |
trunk/Projeto_NxViewmanager/NxViewManager2.oca
No preview for this file type
trunk/classes/clsTerraLib.cls
@@ -989,13 +989,18 @@ End Function | @@ -989,13 +989,18 @@ End Function | ||
989 | Private Function InsertTextAttributesLine(LayerName As String, geom_id As Long, object_id As String) As Boolean | 989 | Private Function InsertTextAttributesLine(LayerName As String, geom_id As Long, object_id As String) As Boolean |
990 | On Error GoTo Trata_Erro | 990 | On Error GoTo Trata_Erro |
991 | Dim Length As Double, Diameter As String, Material As String, CotaIni As Double, CotaFim As Double | 991 | Dim Length As Double, Diameter As String, Material As String, CotaIni As Double, CotaFim As Double |
992 | + | ||
993 | + If cgeo.GetTypeText(tcs.getCurrentLayer) = 1 Then ' redes de água | ||
994 | + a = "X_MATERIAL" | ||
995 | + Else ' redes de esgoto ou drenagem | ||
996 | + a = "X_MATERIAL_ESGOTO" | ||
997 | + End If | ||
992 | 998 | ||
993 | - a = "X_MATERIAL" | ||
994 | b = "MATERIAL" | 999 | b = "MATERIAL" |
995 | c = "MATERIALID" | 1000 | c = "MATERIALID" |
996 | d = "OBJECT_ID_" | 1001 | d = "OBJECT_ID_" |
997 | If frmCanvas.TipoConexao <> 4 Then | 1002 | If frmCanvas.TipoConexao <> 4 Then |
998 | - Set rs = Conn.execute("SELECT * From " & tcs.getCurrentLayer & " left JOIN x_Material on material=materialid where object_id_='" & object_id & "'") | 1003 | + Set rs = Conn.execute("SELECT * From " & tcs.getCurrentLayer & " left JOIN " & a & " on material=materialid where object_id_='" & object_id & "'") |
999 | Else | 1004 | Else |
1000 | 'MsgBox "ARQUIVO DEBUG SALVO" | 1005 | 'MsgBox "ARQUIVO DEBUG SALVO" |
1001 | 'WritePrivateProfileString "A", "A", "SELECT * From " + """" + tcs.getCurrentLayer + """" + " left JOIN " + """" + a + """" + " on" + """" + b + """" + "=" + """" + c + """" + " where " + """" + d + """" + "='" & object_id & "'", App.path & "\DEBUG.INI" | 1006 | 'WritePrivateProfileString "A", "A", "SELECT * From " + """" + tcs.getCurrentLayer + """" + " left JOIN " + """" + a + """" + " on" + """" + b + """" + "=" + """" + c + """" + " where " + """" + d + """" + "='" & object_id & "'", App.path & "\DEBUG.INI" |