Public Sub Main()
Dim attrTitle() As String = {"fistAttr", "secondlyAttr"}
Dim attrValue() As String = {"11111111", "22222222"}
Dim attrNumber As Integer = 2 '属性个数
Dim userPart As Part
Dim flag As Char = "w" '定义为写入属性
'FistProgram()
userPart = CreatePart()
ReadWritePartAttr(attrTitle, attrValue, attrNumber, userPart, flag)
End Sub |