📄 form8.frm
字号:
X1 = 600
X2 = 600
Y1 = 3720
Y2 = 3960
End
Begin VB.Label Label18
Caption = "Un ="
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 720
TabIndex = 23
Top = 3720
Width = 855
End
Begin VB.Label Label17
Caption = "V"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2400
TabIndex = 22
Top = 2880
Width = 255
End
Begin VB.Line Line7
X1 = 1080
X2 = 1080
Y1 = 2880
Y2 = 3120
End
Begin VB.Line Line6
X1 = 600
X2 = 600
Y1 = 2880
Y2 = 3120
End
Begin VB.Label Label16
Caption = "Ut ="
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 720
TabIndex = 20
Top = 2880
Width = 735
End
Begin VB.Label Label15
Caption = "a="
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1080
TabIndex = 18
Top = 2160
Width = 375
End
Begin VB.Label Label14
Caption = "V"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2280
TabIndex = 17
Top = 720
Width = 495
End
Begin VB.Label Label13
Caption = "Ugn="
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 720
TabIndex = 15
Top = 720
Width = 735
End
End
Begin VB.Label Label12
Caption = "Ut、Un分别为实测发电机机端和中性点的三次谐波电压"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1320
TabIndex = 12
Top = 7320
Width = 7335
End
Begin VB.Label Label11
Caption = "其中:a为发电机正常运行时最大三次谐波电压比值"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 11
Top = 6600
Width = 6855
End
Begin VB.Label Label10
Caption = "(1.05-1.15)a"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2640
TabIndex = 10
Top = 6000
Width = 1935
End
Begin VB.Label Label9
Caption = ">"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2280
TabIndex = 9
Top = 6000
Width = 375
End
Begin VB.Line Line5
X1 = 2040
X2 = 2040
Y1 = 6240
Y2 = 6480
End
Begin VB.Line Line4
X1 = 1560
X2 = 1560
Y1 = 6240
Y2 = 6480
End
Begin VB.Line Line3
X1 = 2040
X2 = 2040
Y1 = 5760
Y2 = 6000
End
Begin VB.Line Line2
X1 = 1560
X2 = 1560
Y1 = 5760
Y2 = 6000
End
Begin VB.Line Line1
X1 = 1440
X2 = 2160
Y1 = 6120
Y2 = 6120
End
Begin VB.Label Label8
Caption = "Un"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1680
TabIndex = 8
Top = 6240
Width = 375
End
Begin VB.Label Label7
Caption = "Ut"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1680
TabIndex = 7
Top = 5760
Width = 375
End
Begin VB.Label Label6
Caption = "2、三次谐波电压单相接地保护"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 840
TabIndex = 6
Top = 5280
Width = 4455
End
Begin VB.Label Label5
Caption = "其中:Uunb.max=5%*Ugn/nTV"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1320
TabIndex = 5
Top = 4440
Width = 3975
End
Begin VB.Label Label4
Caption = "Uop=Krel*Uunb.max"
BeginProperty Font
Name = "宋体"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1320
TabIndex = 4
Top = 3840
Width = 2655
End
Begin VB.Label Label3
Caption = "1、基波零序过电压保护"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 840
TabIndex = 3
Top = 3240
Width = 3615
End
Begin VB.Label Label2
Caption = "其整定步骤如下:"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 840
TabIndex = 2
Top = 2760
Width = 2535
End
Begin VB.Label Label1
Caption = $"Form8.frx":0038
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1335
Left = 840
TabIndex = 1
Top = 1080
Width = 10335
End
End
End
Attribute VB_Name = "Form8"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Text1.Text = 18000
Text7.Text = 180
End Sub
Private Sub Command2_Click()
u = Text1.Text
nv = Text7.Text
t = Text3.Text
n = Text4.Text
a = Text2.Text
Text5.Text = 1.2 * 0.05 * u / nv
Text6.Text = t / n
If Text6.Text > 1.1 * a Then Label25.Caption = "满足要求"
If Text6.Text < 1.1 * a Then Label25.Caption = "不满足要求"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -