📄 dada_aqu.frm
字号:
VERSION 4.00
Begin VB.Form Form1
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
Caption = "Form1"
ClientHeight = 4620
ClientLeft = 1365
ClientTop = 1440
ClientWidth = 5625
FillColor = &H00000012&
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00404040&
Height = 5025
Left = 1305
LinkTopic = "Form1"
ScaleHeight = 4620
ScaleWidth = 5625
Top = 1095
Width = 5745
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Frame1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 3345
Left = 3000
TabIndex = 10
Top = 90
Width = 2535
Begin VB.TextBox Text7
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
TabIndex = 14
Text = "Text7"
Top = 1920
Width = 2175
End
Begin VB.TextBox Text10
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
LinkItem = "R2C1"
LinkTopic = "Excel|[Book1]Sheet1"
TabIndex = 13
Text = "Text10"
Top = 2970
Width = 2175
End
Begin VB.TextBox Text9
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
TabIndex = 12
Text = "Text9"
Top = 2610
Width = 2175
End
Begin VB.TextBox Text8
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
TabIndex = 11
Text = "Text8"
Top = 2250
Width = 2175
End
Begin GraphLib.Graph Graph1
Height = 1335
Left = 240
TabIndex = 15
Top = 360
Width = 2055
_Version = 65536
_ExtentX = 3625
_ExtentY = 2355
_StockProps = 96
BorderStyle = 1
RandomData = 1
ColorData = 0
ExtraData = 0
ExtraData[] = 0
FontFamily = 4
FontSize = 4
FontSize[0] = 200
FontSize[1] = 150
FontSize[2] = 100
FontSize[3] = 100
FontStyle = 4
GraphData = 0
GraphData[] = 0
LabelText = 0
LegendText = 0
PatternData = 0
SymbolData = 0
XPosData = 0
XPosData[] = 0
End
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 2520
Tag = "clock & read plc buffer "
Top = 0
End
Begin VB.OptionButton Option2
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Option2"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 495
Left = 1560
TabIndex = 8
Top = 1200
Width = 1215
End
Begin VB.OptionButton Option1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Option1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 495
Left = 240
TabIndex = 7
Top = 1170
Width = 1215
End
Begin VB.TextBox Text3
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 180
TabIndex = 6
Text = "Text3"
Top = 2790
Width = 1365
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 180
TabIndex = 5
Text = "Text2"
Top = 2340
Width = 1365
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 180
TabIndex = 4
Text = "Text1"
Top = 1890
Width = 1365
End
Begin VB.TextBox Text4
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
TabIndex = 3
Text = "Text4"
Top = 3510
Width = 3165
End
Begin VB.TextBox Text5
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
TabIndex = 2
Text = "Text5"
Top = 3870
Width = 5415
End
Begin VB.TextBox Text6
Appearance = 0 'Flat
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 180
TabIndex = 1
Text = "Text6"
Top = 4230
Width = 5415
End
Begin VB.CommandButton Command1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Command1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 555
Left = 1680
TabIndex = 0
Top = 1920
Width = 1125
End
Begin MSCommLib.MSComm MSComm1
Left = 2520
Top = 480
_Version = 65536
_ExtentX = 847
_ExtentY = 847
_StockProps = 0
CDTimeout = 0
CommPort = 1
CTSTimeout = 0
DSRTimeout = 0
DTREnable = -1 'True
Handshaking = 0
InBufferSize = 1024
InputLen = 0
Interval = 1000
NullDiscard = 0 'False
OutBufferSize = 512
ParityReplace = "?"
RThreshold = 0
RTSEnable = 0 'False
Settings = "9600,n,8,1"
SThreshold = 0
End
Begin VB.Label Label3
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Label3"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 465
Left = 180
TabIndex = 9
Top = 270
Width = 2715
End
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Dim full_flag%
Dim page_flag%
Dim piece_N As Integer
Private Sub Command1_Click()
Form2.Enabled = True
Form2.Visible = True
Form2.Graph1.Visible = 1
Form2.Text1.Visible = True
Form2.Text2.Visible = True
Form2.Text3.Visible = True
Form2.Text4.Visible = True
comm_flag% = 0
AA$ = write_nch$("DM102", "2301")
End Sub
Private Sub Form_Load()
Form1.Caption = "C40H盡肈: 戈
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -