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

📄 form2.frm

📁 MsFlexGrid控件的使用细则 MsFlexGrid控件的使用细则
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "相差参数"
   ClientHeight    =   8730
   ClientLeft      =   60
   ClientTop       =   420
   ClientWidth     =   10305
   LinkTopic       =   "Form2"
   ScaleHeight     =   8730
   ScaleWidth      =   10305
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text4 
      Height          =   735
      Left            =   5160
      TabIndex        =   31
      Text            =   "Text4"
      Top             =   3000
      Width           =   1695
   End
   Begin VB.CommandButton Command4 
      Caption         =   "上一步"
      Height          =   495
      Left            =   9000
      TabIndex        =   30
      Top             =   1080
      Width           =   1215
   End
   Begin VB.CommandButton Command3 
      Caption         =   "退出"
      Height          =   495
      Left            =   9000
      TabIndex        =   7
      Top             =   6120
      Width           =   1215
   End
   Begin VB.CommandButton Command2 
      Caption         =   "计算"
      Height          =   495
      Left            =   9000
      TabIndex        =   6
      Top             =   4440
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "绘图"
      Height          =   495
      Left            =   9000
      TabIndex        =   5
      Top             =   2760
      Width           =   1215
   End
   Begin VB.Frame Frame5 
      Caption         =   "钻井参数"
      Height          =   1695
      Left            =   480
      TabIndex        =   4
      Top             =   6720
      Width           =   2055
      Begin VB.TextBox Text3 
         Enabled         =   0   'False
         Height          =   375
         Index           =   1
         Left            =   1320
         TabIndex        =   29
         Text            =   "3"
         Top             =   1080
         Width           =   615
      End
      Begin VB.TextBox Text3 
         Height          =   375
         Index           =   0
         Left            =   1320
         TabIndex        =   27
         Text            =   "1.50"
         Top             =   360
         Width           =   615
      End
      Begin VB.Label Label3 
         Caption         =   "泵体积流量   (L/s)"
         Height          =   375
         Index           =   1
         Left            =   240
         TabIndex        =   28
         Top             =   1080
         Width           =   975
      End
      Begin VB.Label Label3 
         Caption         =   "钻井液密度  (g/cm^3)"
         Height          =   495
         Index           =   0
         Left            =   240
         TabIndex        =   26
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.Frame Frame4 
      Caption         =   "运动管柱参数"
      Height          =   1815
      Left            =   480
      TabIndex        =   3
      Top             =   4560
      Width           =   2055
      Begin VB.TextBox Text2 
         Height          =   270
         Index           =   2
         Left            =   1320
         TabIndex        =   25
         Text            =   "28.5"
         Top             =   1200
         Width           =   615
      End
      Begin VB.TextBox Text2 
         Height          =   270
         Index           =   1
         Left            =   1320
         TabIndex        =   23
         Text            =   "0.6"
         Top             =   720
         Width           =   615
      End
      Begin VB.TextBox Text2 
         Height          =   270
         Index           =   0
         Left            =   1320
         TabIndex        =   21
         Text            =   "0.15"
         Top             =   240
         Width           =   615
      End
      Begin VB.Label Label2 
         Caption         =   "立根长度(m)"
         Height          =   375
         Index           =   2
         Left            =   120
         TabIndex        =   24
         Top             =   1200
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "最大速度(m/s)"
         Height          =   375
         Index           =   1
         Left            =   120
         TabIndex        =   22
         Top             =   720
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "加速度(m/s^2)"
         Height          =   375
         Index           =   0
         Left            =   120
         TabIndex        =   20
         Top             =   240
         Width           =   1215
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "旋转粘度计读数"
      Height          =   1935
      Left            =   360
      TabIndex        =   2
      Top             =   2040
      Width           =   2175
      Begin VB.TextBox Text1 
         Height          =   270
         Index           =   2
         Left            =   1440
         TabIndex        =   19
         Text            =   "100"
         Top             =   1320
         Width           =   615
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Index           =   1
         Left            =   1440
         TabIndex        =   17
         Text            =   "60"
         Top             =   720
         Width           =   615
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Index           =   0
         Left            =   1440
         TabIndex        =   15
         Text            =   "6"
         Top             =   240
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "600r/min读数"
         Height          =   375
         Index           =   2
         Left            =   240
         TabIndex        =   18
         Top             =   1320
         Width           =   1095
      End
      Begin VB.Label Label1 
         Caption         =   "300r/min读数"
         Height          =   375
         Index           =   1
         Left            =   240
         TabIndex        =   16
         Top             =   720
         Width           =   1095
      End
      Begin VB.Label Label1 
         Caption         =   "3r/min读数"
         Height          =   375
         Index           =   0
         Left            =   240
         TabIndex        =   14
         Top             =   240
         Width           =   1095
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "管柱工作状态"
      Height          =   1215
      Left            =   3600
      TabIndex        =   1
      Top             =   360
      Width           =   4815
      Begin VB.OptionButton Option2 
         Caption         =   "开口管(开泵)"
         Height          =   375
         Index           =   3
         Left            =   2760
         TabIndex        =   13
         Top             =   720
         Width           =   1935
      End
      Begin VB.OptionButton Option2 
         Caption         =   "开口管(关泵)"
         Height          =   375
         Index           =   2
         Left            =   240
         TabIndex        =   12
         Top             =   720
         Width           =   1935
      End
      Begin VB.OptionButton Option2 
         Caption         =   "堵口管(开泵)"
         Height          =   375
         Index           =   1
         Left            =   2760
         TabIndex        =   11
         Top             =   240
         Width           =   1935
      End
      Begin VB.OptionButton Option2 
         Caption         =   "堵口管(关泵)"
         Height          =   375
         Index           =   0
         Left            =   240
         TabIndex        =   10
         Top             =   240
         Value           =   -1  'True
         Width           =   1935
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "起下钻工况"
      Height          =   1215
      Left            =   360
      TabIndex        =   0
      Top             =   360
      Width           =   2175
      Begin VB.OptionButton Option1 
         Caption         =   "起钻"
         Height          =   255
         Index           =   1
         Left            =   120
         TabIndex        =   9
         Top             =   720
         Width           =   1815
      End
      Begin VB.OptionButton Option1 
         Caption         =   "下钻"
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   8
         Top             =   240
         Value           =   -1  'True
         Width           =   1815
      End
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit
Public τ As Double, d0 As Double, di As Double
Public φ3 As Double, φ300 As Double, φ600 As Double, n As Double, K As Double
Public Kc1 As Double, Kc2 As Double, ρm As Double, Re As Double, υ As Double, υp As Double, f As Double, Pbo As Double
Public Pg As Double, α As Double, Pz As Double, Ni As Double, djt As Double
Public dnb As Double, de As Double, Qp As Double
Public t_all As Double, t1 As Double, t2 As Double, t3 As Double, υp_max As Double, S As Double
Public i As Double, J As Double, dei As Double
Dim V_Dc1 As Double, V_Dp1 As Double
Dim V_Dc2 As Double, V_Dp2 As Double
Dim d_Dc1 As Double, d_Dc2 As Double, d_Dp1 As Double, d_Dp2 As Double
Dim Re_Dc1 As Double, Re_Dc2 As Double, Re_Dp1 As Double, Re_Dp2 As Double
Dim f_Dc1 As Double, f_Dc2 As Double, f_Dp1 As Double, f_Dp2 As Double
Dim P As Double '波动压力
Dim Pτ_Dc1 As Double, Pτ_Dc2 As Double, Pτ_Dp1 As Double, Pτ_Dp2 As Double '静应力波动压力
Dim Pb_Dc1 As Double, Pb_Dc2 As Double, Pb_Dp1 As Double, Pb_Dp2 As Double
Dim Pg_Dc1 As Double, Pg_Dc2 As Double, Pg_Dp1 As Double, Pg_Dp2 As Double
Dim Pbt As Double



Private Sub Command2_Click()
    Dim a As Double
    dnb = Form1.Text3
    
    φ3 = Form2.Text1(0)
    τ = Form2.Text1(0)
    φ300 = Form2.Text1(1)
    φ600 = Form2.Text1(2)
    
    α = Form2.Text2(0)
    υp_max = Form2.Text2(1)
    S = Form2.Text2(2)
    
    ρm = Form2.Text3(0)

⌨️ 快捷键说明

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