亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? frmopcgroupproperties.frm

?? vb6.0與OPCSERVER的完整例子
?? FRM
字號:
VERSION 5.00
Begin VB.Form frmOPCGroupProperties 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "OPC Group Properties"
   ClientHeight    =   2235
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4680
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2235
   ScaleWidth      =   4680
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  'CenterOwner
   Begin VB.CommandButton OkButton 
      Caption         =   "Ok"
      Height          =   375
      Left            =   1920
      TabIndex        =   7
      Top             =   1800
      Width           =   855
   End
   Begin VB.CheckBox ActiveState 
      Alignment       =   1  'Right Justify
      Caption         =   "Active State:"
      Height          =   375
      Left            =   360
      TabIndex        =   6
      ToolTipText     =   "Click here to change the active state of the group"
      Top             =   1320
      Value           =   1  'Checked
      Width           =   1215
   End
   Begin VB.TextBox DeadBand 
      Height          =   285
      Left            =   1320
      MaxLength       =   3
      TabIndex        =   5
      Text            =   "0"
      ToolTipText     =   "Enter a new Group DeadBand 0 - 100"
      Top             =   960
      Width           =   3135
   End
   Begin VB.TextBox UpdateRate 
      Height          =   285
      Left            =   1320
      TabIndex        =   3
      Text            =   "100"
      ToolTipText     =   "Enter a new Group Update Rate 0 - 2147483647 milliseconds"
      Top             =   600
      Width           =   3135
   End
   Begin VB.TextBox GroupName 
      Height          =   285
      Left            =   1320
      Locked          =   -1  'True
      TabIndex        =   1
      Text            =   "Group Name"
      ToolTipText     =   "The Group Name cannot be edited in this demo"
      Top             =   240
      Width           =   3135
   End
   Begin VB.Label Label3 
      Caption         =   "Dead Band:"
      Height          =   255
      Left            =   360
      TabIndex        =   4
      Top             =   960
      Width           =   975
   End
   Begin VB.Label Label2 
      Caption         =   "Update Rate:"
      Height          =   255
      Left            =   240
      TabIndex        =   2
      Top             =   600
      Width           =   975
   End
   Begin VB.Label Label1 
      Caption         =   "Group Name:"
      Height          =   225
      Left            =   330
      TabIndex        =   0
      Top             =   240
      Width           =   990
   End
End
Attribute VB_Name = "frmOPCGroupProperties"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' The OPC Group Properties form allows the user to modify the
' the Update Interval, DeadBand and Active state of a group
' that has already been added to a server.  This form
' demonstrates how these parameters of the OPCGroupClass
' can be directly changed to control how an OPC group is
' operating.  As changes are made on this form they will
' be applied to the group immediately.  The variable
' SelectedOPCGroup is set when the user either Left or Right
' clicks on a group name in the tvTreeView control.  The
' SelectedOPCGroup pointer determines what instance of
' the OPCGroupClass object will be effected.
'
' To see the effects of these changes add some items to the
' OPC group like "Device_1.R0" and "Device_1.R1" then
' make changes to the Update rate and active state to see
' their effect.

Option Explicit
Option Base 1


' Get the current values of the group from the selected
' instance of the OPCGroupClass object.
'
Private Sub Form_Load()
    Dim VarSingle As Single
    Dim VarLong As Long
    Dim VarState As Boolean
        
    If Not Module1.SelectedOPCGroup Is Nothing Then
        ' Get the groups name.  Remeber this could be a name that
        ' has been provided by the OPC server if you added the group
        ' with a blank group name.
        GroupName.Text = Module1.SelectedOPCGroup.GetGroupName
               
        ' Get the Update rate
        If (Module1.SelectedOPCGroup.GetGroupUpdateRate(VarLong) = True) Then
            UpdateRate.Text = Str(VarLong)
        Else
            UpdateRate.Text = "0"
        End If
        
        ' Get the DeadBand
        If (Module1.SelectedOPCGroup.GetGroupDeadBand(VarSingle) = True) Then
            DeadBand.Text = Str(VarSingle)
        Else
            DeadBand.Text = "0"
        End If
        
        ' Get the Active State
        If (Module1.SelectedOPCGroup.GetGroupActiveState(VarState) = True) Then
            ' Convert from the returned Boolean to a what the check box wants.
            If VarState = True Then
                ActiveState.Value = 1
            Else
                ActiveState.Value = 0
            End If
        Else
            ActiveState.Value = 0
        End If
        
    End If
       
End Sub


' Change the Active state of the group by using the
' SetGroupActiveState function of the OPCGroupClass object.
' In your application this may be done programmatically rather
' than being driven from user input. The change takes effect
' immediately.
'
Private Sub ActiveState_Click()
    If Not Module1.SelectedOPCGroup Is Nothing Then
        Module1.SelectedOPCGroup.SetGroupActiveState (ActiveState.Value)
    End If
End Sub


' Change the Dead Band of the group by using the
' SetGroupDeadBand function of the OPCGroupClass object.
' In your application this may be done programmatically rather
' than being driven from user input. The change takes effect
' immediately.
'
Private Sub DeadBand_Change()
    If Not Module1.SelectedOPCGroup Is Nothing Then
        Module1.SelectedOPCGroup.SetGroupDeadBand (Val(DeadBand.Text))
    End If
End Sub


' Change the Update Rate of the group by using the
' SetGroupUpdateRate function of the OPCGroupClass object.
' In your application this may be done programmatically rather
' than being driven from user input. The change takes effect
' immediately. The update rate of a group is a powerful tool
' when using OPC servers.  By using multiple groups to
' segregate your data you can optimize the amount of data
' the OPC server is acquiring.  By placing data with
' differing update requirements in their own groups you can
' have one group of items that is read at a high rate of
' speed while another group can be set to update infrequently.
' Using the update rate of the group can be a powerful tool
' for your application and since the update rate can be changed
' at any time you can even design your application to change
' the rate based on what the user is doing or looking at.
'
Private Sub UpdateRate_Change()
    If Not Module1.SelectedOPCGroup Is Nothing Then
        Module1.SelectedOPCGroup.SetGroupUpdateRate (Val(UpdateRate.Text))
    End If
End Sub


' Since the change on this form take effect immediately there's
' nothing to do on exit.
'
Private Sub OkButton_Click()
    ' Reenable the tree view
    fMainForm.tvTreeView.Enabled = True
    Unload Me
End Sub


' The Deactivate event is used here as a cheap way
' of keeping the form on top of the application if
' the user clicks on the main window.  There may be
' other ways to do this but this works fairly well.
'
Private Sub Form_Deactivate()
    ' use the show memthod to force the form
    ' back to the front
    frmOPCGroupProperties.Show
End Sub

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
高清成人免费视频| 日韩影视精彩在线| 欧美一区二区二区| 色8久久精品久久久久久蜜| 成人免费不卡视频| 懂色中文一区二区在线播放| 丁香激情综合五月| 成人av一区二区三区| av网站免费线看精品| 成人av免费网站| 91麻豆国产精品久久| 色视频一区二区| 欧美精品第1页| 精品日韩在线观看| 国产视频一区不卡| 中文字幕第一区第二区| 国产精品美女久久久久高潮| 中文字幕av一区 二区| 综合分类小说区另类春色亚洲小说欧美| 中文字幕欧美激情| 一区二区理论电影在线观看| 一个色在线综合| 久久电影网电视剧免费观看| 精品综合久久久久久8888| 激情文学综合插| 不卡的av中国片| 欧美日韩一区二区三区四区五区| 欧美一级一区二区| 中文字幕 久热精品 视频在线 | 中文字幕高清一区| 一区二区三区中文在线观看| 日本va欧美va精品发布| 日本v片在线高清不卡在线观看| 韩国女主播一区二区三区| 91香蕉视频黄| 91精品久久久久久久久99蜜臂| 久久久久国产精品人| 亚洲自拍偷拍九九九| 久久成人免费网站| 色噜噜久久综合| 久久久久免费观看| 无吗不卡中文字幕| 懂色一区二区三区免费观看| 欧美日韩一区二区在线观看视频| 久久精品一区二区三区av| 亚洲国产精品自拍| 9色porny自拍视频一区二区| 欧美性一二三区| 中文字幕欧美激情一区| 精品一区二区三区蜜桃| 欧美在线视频全部完| 中文一区二区在线观看| 美女mm1313爽爽久久久蜜臀| 欧美视频在线观看一区二区| 中文一区二区完整视频在线观看| 欧美aaa在线| 欧美性三三影院| 国产精品久久久久久久久动漫| 日产欧产美韩系列久久99| 91福利视频久久久久| 国产精品家庭影院| 国产成人无遮挡在线视频| 日韩色在线观看| 午夜久久久影院| 色综合久久中文字幕| 国产精品久久久久久久岛一牛影视 | 亚洲一区二区三区四区五区中文| 国产精品伊人色| 精品国产91久久久久久久妲己 | 国产91对白在线观看九色| 欧美一二三区精品| 日韩制服丝袜av| 欧美日本免费一区二区三区| 一区二区在线观看免费视频播放 | 91蝌蚪porny| 亚洲天堂中文字幕| 大陆成人av片| 国产精品少妇自拍| 成人网在线播放| 国产欧美精品区一区二区三区 | 26uuu亚洲综合色| 日本不卡在线视频| 欧美电影免费观看高清完整版在线 | 亚洲国产美女搞黄色| 色欧美乱欧美15图片| 亚洲欧美视频一区| 欧美日韩你懂的| 精品一区二区三区久久久| 久久久综合激的五月天| 国产成人精品影视| 亚洲天堂网中文字| 91 com成人网| 国产精品亚洲午夜一区二区三区 | 免费观看在线综合色| 精品精品国产高清a毛片牛牛| 毛片av一区二区| 久久精品一区二区三区不卡牛牛| 成人在线综合网| 亚洲精品国产精华液| 欧美日韩欧美一区二区| 久久国产欧美日韩精品| 久久久噜噜噜久噜久久综合| 成人av综合在线| 亚洲高清免费视频| 2021中文字幕一区亚洲| 91免费国产在线| 久久国产三级精品| 亚洲天堂精品在线观看| 91精品免费观看| av动漫一区二区| 日本怡春院一区二区| 国产日韩欧美不卡| 欧美日韩日日骚| 成人福利在线看| 免费人成精品欧美精品| 亚洲丝袜自拍清纯另类| 欧美一卡在线观看| 一本大道久久a久久精二百| 日av在线不卡| 亚洲激情成人在线| 欧美精品一区二区三区久久久| 91视频www| 国产成人综合亚洲网站| 亚洲成av人综合在线观看| 欧美国产丝袜视频| 日韩三级在线免费观看| 色婷婷香蕉在线一区二区| 狠狠色2019综合网| 婷婷综合久久一区二区三区| 国产精品日日摸夜夜摸av| 欧美伦理影视网| 欧美自拍丝袜亚洲| 99精品视频在线观看免费| 久久精品二区亚洲w码| 午夜亚洲国产au精品一区二区| 中文字幕成人在线观看| 精品日本一线二线三线不卡| 欧美色成人综合| 色一情一伦一子一伦一区| 高清成人在线观看| 懂色av一区二区夜夜嗨| 精品一区二区三区日韩| 久久超碰97人人做人人爱| 亚洲成a人片综合在线| 亚洲尤物视频在线| 亚洲黄色小视频| 亚洲精品国产无套在线观| 亚洲激情网站免费观看| 国产精品美女一区二区三区| 国产欧美精品一区| 国产视频一区二区在线| 国产亚洲人成网站| 国产亚洲精品免费| 国产亚洲一区二区在线观看| 精品国产成人系列| 久久久久久久国产精品影院| 欧美va亚洲va香蕉在线| 久久色.com| 日本一区二区在线不卡| 国产精品亲子伦对白| 日韩一区中文字幕| 夜夜嗨av一区二区三区四季av| 亚洲欧美国产三级| 亚洲va欧美va人人爽| 视频一区在线播放| 激情文学综合插| 成人av在线资源| 精品视频一区三区九区| 欧美日韩精品欧美日韩精品一| 欧美丰满嫩嫩电影| 2019国产精品| 中文字幕一区二区三区在线不卡| 伊人开心综合网| 麻豆国产精品一区二区三区| 国模大尺度一区二区三区| 波多野结衣中文字幕一区二区三区| 99久久伊人网影院| 欧美人xxxx| 国产亚洲人成网站| 亚洲午夜精品一区二区三区他趣| 日韩av成人高清| 97se亚洲国产综合自在线观| 欧美日韩精品系列| 国产日韩av一区二区| 亚洲永久免费视频| 国产乱对白刺激视频不卡| 色综合咪咪久久| 精品国产一区二区三区久久久蜜月 | 国产精品天干天干在观线| 一区二区三区在线免费| 久久99热狠狠色一区二区| 99久久伊人网影院| 欧美v国产在线一区二区三区| 中文字幕在线不卡| 麻豆国产欧美日韩综合精品二区| 成人激情动漫在线观看| 日韩一级高清毛片| 亚洲激情一二三区| 成人午夜激情在线| 日韩一本二本av|