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

📄 form1.frm

📁 燃料燃烧计算程序 Fuel Combustion Computing Software 欢迎你使用本软件
💻 FRM
📖 第 1 页 / 共 2 页
字号:
      Top             =   840
      Width           =   495
   End
   Begin VB.Label Label15 
      Caption         =   "Label15"
      Height          =   255
      Left            =   9000
      TabIndex        =   30
      Top             =   2280
      Width           =   1335
   End
   Begin VB.Label Label14 
      Caption         =   "实际烟气量SY(m3/m3)"
      Height          =   255
      Left            =   8640
      TabIndex        =   29
      Top             =   1560
      Width           =   1815
   End
   Begin VB.Label Label13 
      Caption         =   "Label13"
      Height          =   255
      Left            =   9000
      TabIndex        =   28
      Top             =   840
      Width           =   1335
   End
   Begin VB.Label Label12 
      Caption         =   "实际空气需要量Ln(m3/m3)"
      Height          =   255
      Left            =   8640
      TabIndex        =   27
      Top             =   240
      Width           =   2175
   End
   Begin VB.Label Label11 
      Caption         =   "空气消耗系数"
      Height          =   255
      Left            =   7080
      TabIndex        =   25
      Top             =   240
      Width           =   1215
   End
   Begin VB.Label Label10 
      Caption         =   "Label10"
      Height          =   255
      Left            =   5160
      TabIndex        =   24
      Top             =   3720
      Width           =   1335
   End
   Begin VB.Label Label9 
      Caption         =   "理论烟气量LY(m3/m3)"
      Height          =   255
      Left            =   5040
      TabIndex        =   23
      Top             =   3000
      Width           =   2055
   End
   Begin VB.Label Label8 
      Caption         =   "Label8"
      Height          =   255
      Left            =   5160
      TabIndex        =   22
      Top             =   2280
      Width           =   1095
   End
   Begin VB.Label Label7 
      Caption         =   "理论空气需要量L0(m3/m3)"
      Height          =   255
      Left            =   5040
      TabIndex        =   21
      Top             =   1560
      Width           =   2175
   End
   Begin VB.Label Label6 
      Caption         =   "Label6"
      Height          =   255
      Left            =   5160
      TabIndex        =   20
      Top             =   840
      Width           =   1095
   End
   Begin VB.Label Label5 
      Caption         =   "低发热量Qd(KJ/kg)"
      Height          =   255
      Left            =   5040
      TabIndex        =   19
      Top             =   240
      Width           =   1575
   End
   Begin VB.Label Label4 
      Caption         =   "g"
      Height          =   255
      Left            =   3480
      TabIndex        =   17
      Top             =   1560
      Width           =   495
   End
   Begin VB.Label Label3 
      Caption         =   "输入空气温度(度)"
      Height          =   255
      Left            =   3120
      TabIndex        =   15
      Top             =   240
      Width           =   1695
   End
   Begin VB.Label Label2 
      Caption         =   "燃料成分(%)"
      Height          =   255
      Left            =   1680
      TabIndex        =   7
      Top             =   240
      Width           =   1095
   End
   Begin VB.Label Label1 
      Caption         =   "W"
      Height          =   255
      Index           =   6
      Left            =   600
      TabIndex        =   6
      Top             =   5280
      Width           =   375
   End
   Begin VB.Label Label1 
      Caption         =   "A"
      Height          =   255
      Index           =   5
      Left            =   600
      TabIndex        =   5
      Top             =   4560
      Width           =   375
   End
   Begin VB.Label Label1 
      Caption         =   "S"
      Height          =   255
      Index           =   4
      Left            =   600
      TabIndex        =   4
      Top             =   3840
      Width           =   375
   End
   Begin VB.Label Label1 
      Caption         =   "N"
      Height          =   255
      Index           =   3
      Left            =   600
      TabIndex        =   3
      Top             =   3120
      Width           =   375
   End
   Begin VB.Label Label1 
      Caption         =   "O"
      Height          =   255
      Index           =   2
      Left            =   600
      TabIndex        =   2
      Top             =   2400
      Width           =   375
   End
   Begin VB.Label Label1 
      Caption         =   "H"
      Height          =   255
      Index           =   1
      Left            =   600
      TabIndex        =   1
      Top             =   1680
      Width           =   375
   End
   Begin VB.Label Label1 
      Caption         =   "C"
      Height          =   255
      Index           =   0
      Left            =   600
      TabIndex        =   0
      Top             =   840
      Width           =   375
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Form_Load()
 Dim i As Integer
  'Text2.Text = " "
  'Text3.Text = " "
 ' Text3.Text = " "
  'Text4.Text = " "
 ' Text5.Text = " "
 ' Text6.Text = " "
 ' Text7.Text = " "
  'For i = 0 To 6
 ' Text1(i).Text = ""
  'Next i
End Sub
'Dim g As Double
'SearchG 35, g
'Text1.Text = Str(g)
Private Sub Command2_Click()
  Dim i As Integer
  Dim A As Integer
  Text2.Text = " "
  Text3.Text = " "
  Text3.Text = " "
  Text4.Text = " "
  Text5.Text = " "
  Text6.Text = " "
  Text7.Text = " "
  For i = 0 To 6
   Text1(i).Text = ""
  Next i
  For t = 0 To 4
   Label18(t).Caption = ""
  Next t
  Label6.Caption = ""
  Label8.Caption = ""
  Label10.Caption = ""
  Label13.Caption = ""
  Label15.Caption = ""
  Label23.Caption = ""
End Sub

Private Sub Command3_Click()
 Unload MDIForm1
End Sub

Public Sub command1_click()
Dim V As Single, value As Boolean
Dim C, H, O, N, S, A, W As Single
'Dim l, m, st As Single
t = Val(Text2.Text)
'l = Val(Text5.Text)
'm = Val(Text6.Text)
'st = Val(a.Text7.Text)
value = SearchG1(t, V)
If Not value Then MsgBox "记录不存在!", 64, "提示"
Text3.Text = Str(V)
'Label14.Caption = Val(Text3.Text) * 22.4 * 0.001 * 100 / (18 + 31.1 * 22.4 * 0.001)
'For i = 0 To 7
    ' Label6(i) = Int((Val(Text1(i).Text) * 100 / (100 + 0.124 * Val(Text3.Text))) * 100) / 100
'Next i
C = Val(Text1(0).Text)
H = Val(Text1(1).Text)
O = Val(Text1(2).Text)
N = Val(Text1(3).Text)
S = Val(Text1(4).Text)
A = Val(Text1(5).Text)
W = Val(Text1(6).Text)
'N2 = Val(Label6(6).Caption)
'Label14.Caption = 100 - CO - H2 - CH4 - C2H4 - H2S - O2 - CO2 - N2
'W = Val(Label14.Caption)
Label6 = LQd(C, H, O, S, W)
Label8 = LL0(C, H, S, O)
Label10 = LLY(C, H, S, W, N, O)
Label13 = LLn(C, H, S, O)
Label15 = LSY(C, H, O, N, S, W)
Label18(0) = LPCO2(C)
Label18(1) = LPSO2(S)
Label18(2) = LPH2O(C, H, O, S, W)
Label18(3) = LPN2(N, C, H, S, O)
Label18(4) = LPO2(C, H, O, S)
Label23 = Lt理(C, H, O, S, W)
'Label25 = C产(st)
'Label28 = Q燃(l)
'Label30 = Q空(m, V, CO, H2, CH4, C2H4, H2S, O2)
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
 Dim msg
 If UnloadMode > 0 Then
  msg = "确实要退出应用程序吗?"
 Else
  msg = "确实要关闭窗体吗?"
  End If
  If MsgBox(msg, 36, Me.Caption) = 7 Then Cancel = True
End Sub



⌨️ 快捷键说明

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