📄 cvector.cls
字号:
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "CVector"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "SavedWithClassBuilder6" ,"Yes"
Attribute VB_Ext_KEY = "Top_Level" ,"Yes"
Option Explicit
'
Private mDate As Date
Private mTime As Date
Private mTotal As Double
Private mFlow As Double
Private mFlag As Long '标志,如:是否截取。
Private Sub Class_Initialize()
mDate = Date
mTime = Time
End Sub
Public Property Get DDate() As Date
DDate = mDate
End Property
Public Property Get DTime() As Date
DTime = mTime
End Property
Public Property Get TFlow() As Double
TFlow = mFlow
End Property
Public Property Let TFlow(ByVal vData As Double)
mFlow = vData
End Property
Public Property Get TTotal() As Double
TTotal = mTotal
End Property
Public Property Let TTotal(ByVal vData As Double)
mDate = Date
mTime = Time
mTotal = vData
mFlag = 0 '标志=0
End Property
Public Property Get Flag() As Long
Flag = mFlag
End Property
Public Property Let Flag(ByVal vData As Long)
mFlag = vData
End Property
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -