-
Notifications
You must be signed in to change notification settings - Fork 0
/
dalle_lidar.vb
63 lines (59 loc) · 1.64 KB
/
dalle_lidar.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Public Class dalle_lidar
Private m_Url As String
Public Property Url() As String
Get
Return m_Url
End Get
Set(ByVal value As String)
m_Url = value
End Set
End Property
Private m_WorkPath As String
Public Property WorkPath() As String
Get
Return m_WorkPath
End Get
Set(ByVal value As String)
m_WorkPath = value
End Set
End Property
Private m_NameFile As String
Public Property NameFile() As String
Get
Return m_NameFile
End Get
Set(ByVal value As String)
m_NameFile = value
End Set
End Property
Private m_JsonName As String
Public Property JsonName() As String
Get
Return m_JsonName
End Get
Set(ByVal value As String)
m_JsonName = value
End Set
End Property
Private m_radicale As String
Public ReadOnly Property Radicale() As String
Get
Return m_radicale
End Get
End Property
Public Sub New(wpath As String, myUrl As String)
m_Url = myUrl
m_WorkPath = wpath
Dim s() As String = myUrl.Split("/")
m_NameFile = s(UBound(s, 1))
m_JsonName = m_WorkPath.Replace("\", "\\") & "\\" & m_NameFile
m_radicale = m_NameFile.Split(".")(0)
End Sub
Public Function Existe() As Boolean
If System.IO.File.Exists(m_WorkPath & "\" & m_NameFile) Then
Return True
Else
Return False
End If
End Function
End Class