📄 frm_ydwsj.frm
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Begin VB.Form frm_ydwsj
BorderStyle = 3 'Fixed Dialog
Caption = "一点位数据"
ClientHeight = 6585
ClientLeft = 45
ClientTop = 450
ClientWidth = 8535
Icon = "frm_ydwsj.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 6585
ScaleWidth = 8535
ShowInTaskbar = 0 'False
Begin VB.Timer Timer2
Interval = 30000
Left = 6720
Top = 5160
End
Begin VB.TextBox Text8
Height = 270
Left = 5760
TabIndex = 25
Text = "Text8"
Top = 120
Visible = 0 'False
Width = 975
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 10000
Left = 7200
Top = 5160
End
Begin MSWinsockLib.Winsock tcpserver
Left = 7680
Top = 5160
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 360
Top = 5280
Visible = 0 'False
Width = 1200
_ExtentX = 2117
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSDataGridLib.DataGrid DataGrid1
Height = 3735
Left = 120
TabIndex = 24
Top = 2760
Width = 8295
_ExtentX = 14631
_ExtentY = 6588
_Version = 393216
BackColor = -2147483624
HeadLines = 1
RowHeight = 15
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 9
BeginProperty Column00
DataField = "时间"
Caption = "采集时间"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "单价"
Caption = "单 价"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "当前吨数"
Caption = "当前吨数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "剩余水量"
Caption = "剩余水量"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column04
DataField = "剩余钱数"
Caption = "剩余钱数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column05
DataField = "当月吨数"
Caption = "当月吨数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column06
DataField = "总水量"
Caption = "总累计水量"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column07
DataField = "阀门状态"
Caption = "阀门状态"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column08
DataField = "是否窃水"
Caption = "是否窃水"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
ColumnWidth = 854.929
EndProperty
BeginProperty Column01
ColumnWidth = 794.835
EndProperty
BeginProperty Column02
ColumnWidth = 870.236
EndProperty
BeginProperty Column03
ColumnWidth = 840.189
EndProperty
BeginProperty Column04
ColumnWidth = 840.189
EndProperty
BeginProperty Column05
ColumnWidth = 870.236
EndProperty
BeginProperty Column06
ColumnWidth = 1019.906
EndProperty
BeginProperty Column07
ColumnWidth = 900.284
EndProperty
BeginProperty Column08
ColumnWidth = 959.811
EndProperty
EndProperty
End
Begin VB.Frame Frame1
Caption = "一点位数据"
ForeColor = &H000000C0&
Height = 2535
Left = 120
TabIndex = 0
Top = 120
Width = 8295
Begin VB.Frame Frame4
Caption = "通信状态"
ForeColor = &H000000C0&
Height = 615
Left = 5280
TabIndex = 21
Top = 1800
Width = 3015
Begin VB.CommandButton Command5
Caption = "采集数据"
Enabled = 0 'False
Height = 375
Left = 1560
TabIndex = 22
Top = 160
Width = 1215
End
Begin VB.Label Label8
Caption = "等待通信…"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000001&
Height = 255
Left = 240
TabIndex = 23
Top = 240
Width = 1095
End
End
Begin VB.Frame Frame3
Caption = "是否窃水"
ForeColor = &H000000C0&
Height = 615
Left = 0
TabIndex = 18
Top = 1800
Width = 4815
Begin VB.OptionButton Option4
Caption = "无 窃 水 现 象"
Enabled = 0 'False
ForeColor = &H80000001&
Height = 255
Left = 2880
TabIndex = 20
Top = 240
Width = 1695
End
Begin VB.OptionButton Option3
Caption = "有 窃 水 现 象"
Enabled = 0 'False
ForeColor = &H80000001&
Height = 255
Left = 480
TabIndex = 19
Top = 240
Width = 1695
End
End
Begin VB.Frame Frame2
Caption = "阀门状态"
ForeColor = &H000000C0&
Height = 615
Left = 3120
TabIndex = 15
Top = 1200
Width = 5175
Begin VB.OptionButton Option2
Caption = "阀 门 已 关 闭"
Enabled = 0 'False
ForeColor = &H80000001&
Height = 255
Left = 2520
TabIndex = 17
Top = 240
Width = 1815
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -