ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magicsld/SuperEntite.vb
Revision: 40
Committed: Mon Aug 20 21:30:28 2007 UTC (18 years ago) by bournival
File size: 1190 byte(s)
Log Message:
Projet de these de Sylvain Bournival. Attention projet VB.

File Contents

# Content
1 Public MustInherit Class SuperEntite
2
3 Public nom As String
4 Public nomOrig As String ' le nom original (sans les conditions aux limites)
5 Public condition As String = "" ' la condition aux limites
6 Public Shared NoRealConstant As Long
7
8 ''' <summary>
9 ''' En théorie devrait être obsolète...
10 ''' </summary>
11 ''' <param name="tipe"></param>
12 ''' <param name="valeur"></param>
13 ''' <remarks></remarks>
14 Public Sub addCaL(ByRef tipe As String, ByRef valeur As Double)
15 Dim addition As String
16 Dim c As Integer
17 Dim nb As Integer
18
19 If condition = "" Then condition = "01" Else nb = CInt(Left(condition, 2)) + 1 : Mid(condition, 1, 2) = Format(nb, "00")
20
21 addition = tipe & Format(valeur, "0.00000e+000")
22
23 For c = 1 To Len(addition)
24 If Mid(addition, c, 1) = "," Then Mid(addition, c, 1) = "."
25 Next c
26 condition = condition & addition
27
28 End Sub
29
30
31 Public MustOverride Sub Selectionner(Optional ByVal Mark As Integer = 0, Optional ByRef Append As Boolean = True)
32 Public MustOverride Sub SaveNom()
33
34
35 Public Sub New()
36
37 End Sub
38 End Class