⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 VB作上位机,通过跟51单片机通讯,控制家用电器电源的通断
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1 
   Caption         =   "家用电器监控系统"
   ClientHeight    =   7785
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   5565
   FillColor       =   &H000000FF&
   Icon            =   "Form1.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   7785
   ScaleWidth      =   5565
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "退出系统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   360
      TabIndex        =   28
      Top             =   7080
      Width           =   1215
   End
   Begin VB.Timer Timer3 
      Interval        =   100
      Left            =   960
      Top             =   7080
   End
   Begin VB.Timer Timer2 
      Interval        =   5000
      Left            =   1920
      Top             =   7080
   End
   Begin VB.Timer Timer1 
      Interval        =   5000
      Left            =   1440
      Top             =   7080
   End
   Begin MSCommLib.MSComm MSComm1 
      Left            =   360
      Top             =   7080
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      DTREnable       =   -1  'True
   End
   Begin VB.Frame Frame4 
      Caption         =   "控制板复位"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   975
      Left            =   360
      TabIndex        =   4
      Top             =   5760
      Width           =   4815
      Begin VB.CommandButton Command1 
         Caption         =   "确定复位"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   2880
         TabIndex        =   25
         Top             =   360
         Width           =   1095
      End
      Begin VB.TextBox Text11 
         Height          =   375
         Left            =   1200
         Locked          =   -1  'True
         TabIndex        =   24
         Top             =   360
         Width           =   1095
      End
      Begin VB.Label Label2 
         Caption         =   "发送代码:"
         Height          =   375
         Left            =   240
         TabIndex        =   23
         Top             =   480
         Width           =   855
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "控制板状态"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   855
      Left            =   360
      TabIndex        =   3
      Top             =   4440
      Width           =   4815
      Begin VB.TextBox Text10 
         Height          =   270
         Left            =   2880
         Locked          =   -1  'True
         TabIndex        =   22
         Text            =   "通讯失败"
         Top             =   360
         Width           =   1215
      End
      Begin VB.TextBox Text9 
         Height          =   270
         Left            =   480
         Locked          =   -1  'True
         TabIndex        =   21
         Text            =   "通讯正常"
         Top             =   360
         Width           =   1095
      End
      Begin VB.Shape Shape10 
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   2520
         Shape           =   3  'Circle
         Top             =   240
         Width           =   255
      End
      Begin VB.Shape Shape9 
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   120
         Shape           =   3  'Circle
         Top             =   240
         Width           =   255
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "节点状态"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1575
      Left            =   360
      TabIndex        =   2
      Top             =   2520
      Width           =   4815
      Begin VB.TextBox Text8 
         Height          =   270
         Left            =   3960
         Locked          =   -1  'True
         TabIndex        =   20
         Text            =   "节点8"
         Top             =   960
         Width           =   615
      End
      Begin VB.TextBox Text7 
         Height          =   270
         Left            =   2880
         Locked          =   -1  'True
         TabIndex        =   19
         Text            =   "节点7"
         Top             =   960
         Width           =   615
      End
      Begin VB.TextBox Text6 
         Height          =   270
         Left            =   1680
         Locked          =   -1  'True
         TabIndex        =   18
         Text            =   "节点6"
         Top             =   960
         Width           =   615
      End
      Begin VB.TextBox Text5 
         Height          =   270
         Left            =   480
         Locked          =   -1  'True
         TabIndex        =   17
         Text            =   "节点5"
         Top             =   960
         Width           =   615
      End
      Begin VB.TextBox Text4 
         Height          =   270
         Left            =   3960
         Locked          =   -1  'True
         TabIndex        =   16
         Text            =   "节点4"
         Top             =   360
         Width           =   615
      End
      Begin VB.TextBox Text3 
         Height          =   270
         Left            =   2880
         Locked          =   -1  'True
         TabIndex        =   15
         Text            =   "节点3"
         Top             =   360
         Width           =   615
      End
      Begin VB.TextBox Text2 
         Height          =   270
         Left            =   1680
         Locked          =   -1  'True
         TabIndex        =   14
         Text            =   "节点2"
         Top             =   360
         Width           =   615
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Left            =   480
         Locked          =   -1  'True
         TabIndex        =   13
         Text            =   "节点1"
         Top             =   360
         Width           =   615
      End
      Begin VB.Shape Shape6 
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   1320
         Shape           =   3  'Circle
         Top             =   840
         Width           =   255
      End
      Begin VB.Shape Shape2 
         FillColor       =   &H00000040&
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   1320
         Shape           =   3  'Circle
         Top             =   240
         Width           =   255
      End
      Begin VB.Shape Shape5 
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   120
         Shape           =   3  'Circle
         Top             =   840
         Width           =   255
      End
      Begin VB.Shape Shape1 
         FillColor       =   &H00000040&
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   120
         Shape           =   3  'Circle
         Top             =   240
         Width           =   255
      End
      Begin VB.Shape Shape7 
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   2520
         Shape           =   3  'Circle
         Top             =   840
         Width           =   255
      End
      Begin VB.Shape Shape3 
         FillColor       =   &H00000040&
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   2520
         Shape           =   3  'Circle
         Top             =   240
         Width           =   255
      End
      Begin VB.Shape Shape8 
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   3600
         Shape           =   3  'Circle
         Tag             =   "840"
         Top             =   840
         Width           =   255
      End
      Begin VB.Shape Shape4 
         FillColor       =   &H00000040&
         FillStyle       =   0  'Solid
         Height          =   615
         Left            =   3600
         Shape           =   3  'Circle
         Top             =   240
         Width           =   255
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "节点控制(选择节点,再按确定)"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1575
      Left            =   360
      TabIndex        =   1
      Top             =   600
      Width           =   4815
      Begin VB.CheckBox 节点7 
         Caption         =   "节点7"
         Height          =   375
         Left            =   2280
         TabIndex        =   12
         Top             =   960
         Width           =   975
      End
      Begin VB.CheckBox 节点8 
         Caption         =   "节点8"
         Height          =   420
         Left            =   3240
         TabIndex        =   11
         Top             =   960
         Width           =   855
      End
      Begin VB.CheckBox 节点6 
         Caption         =   "节点6"
         Height          =   375
         Left            =   1320
         TabIndex        =   10
         Top             =   960
         Width           =   975
      End
      Begin VB.CheckBox 节点4 
         Caption         =   "节点4"
         Height          =   615
         Left            =   3240
         TabIndex        =   9
         Top             =   240
         Width           =   975
      End
      Begin VB.CheckBox 节点3 
         Caption         =   "节点3"
         Height          =   375
         Left            =   2280
         TabIndex        =   8
         Top             =   360
         Width           =   855
      End
      Begin VB.CheckBox 节点5 
         Caption         =   "节点5"
         Height          =   375

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -