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

📄 frmqueue.frm

📁 基于化工行业造气岗位的自动化监控系统
💻 FRM
📖 第 1 页 / 共 3 页
字号:
      Left            =   830
      Shape           =   3  'Circle
      Top             =   400
      Width           =   225
   End
   Begin VB.Line Line4 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   3
      X1              =   7800
      X2              =   7800
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line3 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   3
      X1              =   6000
      X2              =   7800
      Y1              =   2040
      Y2              =   2040
   End
   Begin VB.Line Line2 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   3
      X1              =   6000
      X2              =   6000
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   3
      X1              =   6000
      X2              =   7800
      Y1              =   360
      Y2              =   360
   End
   Begin VB.Line Line4 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   2
      X1              =   5880
      X2              =   5880
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line3 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   2
      X1              =   4080
      X2              =   5880
      Y1              =   2040
      Y2              =   2040
   End
   Begin VB.Line Line2 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   2
      X1              =   4080
      X2              =   4080
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   2
      X1              =   4080
      X2              =   5880
      Y1              =   360
      Y2              =   360
   End
   Begin VB.Line Line4 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   1
      X1              =   3960
      X2              =   3960
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line3 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   1
      X1              =   2160
      X2              =   3960
      Y1              =   2040
      Y2              =   2040
   End
   Begin VB.Line Line2 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   1
      X1              =   2160
      X2              =   2160
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   1
      X1              =   2160
      X2              =   3960
      Y1              =   360
      Y2              =   360
   End
   Begin VB.Line Line4 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   0
      X1              =   2040
      X2              =   2040
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line3 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   0
      X1              =   720
      X2              =   2040
      Y1              =   2040
      Y2              =   2040
   End
   Begin VB.Line Line2 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   0
      X1              =   720
      X2              =   720
      Y1              =   360
      Y2              =   2040
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00FF0000&
      BorderWidth     =   2
      Index           =   0
      X1              =   720
      X2              =   2040
      Y1              =   360
      Y2              =   360
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "14"
      Height          =   180
      Index           =   20
      Left            =   7530
      TabIndex        =   20
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "13"
      Height          =   180
      Index           =   19
      Left            =   7043
      TabIndex        =   19
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "12"
      Height          =   180
      Index           =   18
      Left            =   6567
      TabIndex        =   18
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "11"
      Height          =   180
      Index           =   17
      Left            =   6091
      TabIndex        =   17
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "10"
      Height          =   180
      Index           =   16
      Left            =   5615
      TabIndex        =   16
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "9"
      Height          =   180
      Index           =   15
      Left            =   5139
      TabIndex        =   15
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "8"
      Height          =   180
      Index           =   14
      Left            =   4663
      TabIndex        =   14
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "7"
      Height          =   180
      Index           =   13
      Left            =   4187
      TabIndex        =   13
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "15"
      Height          =   180
      Index           =   12
      Left            =   3711
      TabIndex        =   12
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "6"
      Height          =   180
      Index           =   11
      Left            =   3235
      TabIndex        =   11
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "5"
      Height          =   180
      Index           =   10
      Left            =   2759
      TabIndex        =   10
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "4"
      Height          =   180
      Index           =   9
      Left            =   2283
      TabIndex        =   9
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "3"
      Height          =   180
      Index           =   8
      Left            =   1807
      TabIndex        =   8
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "2"
      Height          =   180
      Index           =   7
      Left            =   1331
      TabIndex        =   7
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "1"
      Height          =   180
      Index           =   6
      Left            =   855
      TabIndex        =   6
      Top             =   120
      Width           =   180
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "吹净"
      Height          =   180
      Index           =   5
      Left            =   210
      TabIndex        =   5
      Top             =   1800
      Width           =   360
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "二上"
      Height          =   180
      Index           =   4
      Left            =   210
      TabIndex        =   4
      Top             =   1458
      Width           =   360
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "下吹"
      Height          =   180
      Index           =   3
      Left            =   210
      TabIndex        =   3
      Top             =   1116
      Width           =   360
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "上吹"
      Height          =   180
      Index           =   2
      Left            =   210
      TabIndex        =   2
      Top             =   774
      Width           =   360
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "吹风"
      Height          =   180
      Index           =   1
      Left            =   210
      TabIndex        =   1
      Top             =   432
      Width           =   360
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      AutoSize        =   -1  'True
      BackColor       =   &H00FFFFFF&
      BackStyle       =   0  'Transparent
      Caption         =   "炉号"
      Height          =   180
      Index           =   0
      Left            =   210
      TabIndex        =   0
      Top             =   120
      Width           =   360
   End
End
Attribute VB_Name = "frmQueue"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_Load()
Dim RetVal As Long
RetVal = SetParent(Me.hWnd, frmMain.hWnd)
Me.Show
End Sub

Private Sub Timer1_Timer()
Dim ID As Long
    For ID = 0 To StoveNumber - 1
        If Stove(ID).CurrentStep = 0 Or Stove(ID).CurrentStep = 7 Then
            Shape1(StoveNumber * i + ID).FillColor = &H0&
        Else
            If Stove(ID).CurrentStep = 1 Then
                Shape1(StoveNumber * 0 + ID).FillColor = &HFF00&
            Else
                Shape1(StoveNumber * 0 + ID).FillColor = &HFF&
            End If
            If Stove(ID).CurrentStep = 3 Then
                Shape1(StoveNumber * 1 + ID).FillColor = &HFF00&
            Else
                Shape1(StoveNumber * 1 + ID).FillColor = &HFF&
            End If
            If Stove(ID).CurrentStep = 4 Then
                Shape1(StoveNumber * 2 + ID).FillColor = &HFF00&
            Else
                Shape1(StoveNumber * 2 + ID).FillColor = &HFF&
            End If
            If Stove(ID).CurrentStep = 5 Then
                Shape1(StoveNumber * 3 + ID).FillColor = &HFF00&
            Else
                Shape1(StoveNumber * 3 + ID).FillColor = &HFF&
            End If
            If Stove(ID).CurrentStep = 6 Then
                Shape1(StoveNumber * 4 + ID).FillColor = &HFF00&
            Else
                Shape1(StoveNumber * 4 + ID).FillColor = &HFF&
            End If
        End If
    Next
End Sub

⌨️ 快捷键说明

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