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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? frmopcgroupproperties.frm

?? 很好的Kepware的VB的OPC Client例子.
?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本大道久久精品懂色aⅴ| 欧美在线视频全部完| 中文字幕乱码一区二区免费| 成人久久视频在线观看| 丝袜美腿亚洲一区二区图片| 极品销魂美女一区二区三区| 日韩欧美国产三级电影视频| 国产日本亚洲高清| 亚洲一区二区影院| 成人国产精品免费网站| 在线成人免费观看| 中文字幕电影一区| 蜜臀久久99精品久久久久久9| 奇米影视7777精品一区二区| 久久精品一区八戒影视| 色综合久久久网| 久久99精品一区二区三区三区| 久久综合久久久久88| 91在线观看免费视频| 久久aⅴ国产欧美74aaa| 亚洲精品你懂的| 久久影院电视剧免费观看| 丰满放荡岳乱妇91ww| 日本成人在线电影网| 欧美精品777| 91免费看视频| 蜜臀91精品一区二区三区| 亚洲欧美日韩在线| 3d动漫精品啪啪1区2区免费| 成人av电影在线观看| 亚洲狠狠丁香婷婷综合久久久| 欧美日韩国产精选| 色综合婷婷久久| 粉嫩av一区二区三区粉嫩| 精品一区二区三区免费毛片爱| 亚洲第一狼人社区| 18成人在线视频| 国产精品亲子乱子伦xxxx裸| 2023国产一二三区日本精品2022| 91精品婷婷国产综合久久性色| 在线观看日韩一区| 91免费看`日韩一区二区| 国产高清亚洲一区| 国产精选一区二区三区| 午夜av一区二区三区| 亚洲天堂a在线| 中文字幕在线不卡视频| 国产欧美日韩视频在线观看| 精品国产亚洲在线| 亚洲综合精品久久| 韩国精品一区二区| 中文字幕免费在线观看视频一区| 91高清视频免费看| 欧美日韩一区二区三区在线看| 婷婷激情综合网| 综合久久久久综合| 国产午夜精品在线观看| 色哟哟日韩精品| 肉丝袜脚交视频一区二区| 国产精品乱人伦| 日韩色视频在线观看| 99久久国产综合色|国产精品| 久久久久久毛片| 精品久久免费看| 久久影院视频免费| 日韩免费一区二区| 欧美va亚洲va香蕉在线| 久久综合色天天久久综合图片| 26uuuu精品一区二区| 欧美系列一区二区| 99久久99久久综合| 97久久超碰国产精品| 国产欧美一区二区精品秋霞影院| 欧美色老头old∨ideo| 懂色av一区二区三区蜜臀| 国产成人综合网| 精品国产一二三| 国产亚洲精品免费| 欧美日韩国产综合草草| 亚洲高清视频在线| 午夜天堂影视香蕉久久| 免费人成在线不卡| 亚洲电影在线播放| 人人超碰91尤物精品国产| 精品一区二区三区视频在线观看| 精品一二三四区| 成人app在线| 欧美精品三级在线观看| 欧美日韩一区 二区 三区 久久精品| 欧美日本高清视频在线观看| 精品国产麻豆免费人成网站| 国产精品视频免费看| 亚洲宅男天堂在线观看无病毒| 欧美一区二区三级| 欧美videofree性高清杂交| 一区二区日韩电影| 欧美a一区二区| 国产69精品久久777的优势| 婷婷久久综合九色综合绿巨人| 亚洲视频狠狠干| 天堂资源在线中文精品| 国产一区二区三区电影在线观看| 成人黄色电影在线| 欧美一区二区视频网站| 成人a区在线观看| 精品一区二区在线播放| av亚洲精华国产精华| 制服丝袜中文字幕一区| 欧美一级高清片在线观看| 国产亚洲欧美日韩俺去了| 亚洲女厕所小便bbb| 日韩精品视频网站| 成人99免费视频| va亚洲va日韩不卡在线观看| 欧美成人三级在线| 在线精品视频免费播放| 欧美日韩精品一二三区| 国产亚洲综合av| 亚洲精品成人精品456| 国产在线国偷精品产拍免费yy| www.一区二区| 久久久亚洲精华液精华液精华液 | 国产精品一区二区三区99| 日韩欧美一区二区三区在线| 国产成人免费视频一区| 欧美日韩成人综合| 亚洲男人的天堂在线观看| 麻豆精品久久久| 777午夜精品视频在线播放| 欧美电影免费观看高清完整版在线 | 日韩精品综合一本久道在线视频| 亚洲免费观看高清在线观看| 国产一区二区三区香蕉| 9191久久久久久久久久久| 亚洲美女电影在线| 成人91在线观看| 国产目拍亚洲精品99久久精品| 一区二区三区国产精品| 94-欧美-setu| 国产精品无码永久免费888| 激情久久五月天| 精品欧美久久久| 久久成人麻豆午夜电影| 在线不卡中文字幕播放| 天堂一区二区在线免费观看| 中文字幕精品一区| 亚洲r级在线视频| 免费在线观看成人| 欧美日韩视频在线观看一区二区三区| 国产精品国产三级国产| 成人黄色在线网站| 国产精品不卡一区| 欧美亚一区二区| 蜜桃久久久久久久| 国产欧美一二三区| 91久久奴性调教| 蜜臀av一级做a爰片久久| 欧美精品一区二| 99久久精品免费精品国产| 一区二区三区在线观看欧美| 91精品久久久久久久99蜜桃| 国产福利一区在线观看| 亚洲日本在线天堂| 7777女厕盗摄久久久| heyzo一本久久综合| 国产欧美1区2区3区| 北条麻妃一区二区三区| 亚洲国产aⅴ天堂久久| 欧美哺乳videos| 99久久久国产精品免费蜜臀| 日韩影院精彩在线| 亚洲国产精品黑人久久久| 欧美日韩中文字幕一区二区| 麻豆精品在线观看| 亚洲免费大片在线观看| 91麻豆精品国产综合久久久久久| 国产电影一区二区三区| 亚洲人123区| 欧美精品一区二区久久久| 91在线视频观看| 狠狠色综合播放一区二区| 一区二区三区四区高清精品免费观看| 欧美一区二区视频网站| av成人免费在线| 狠狠网亚洲精品| 午夜精品久久久久久久久| 国产欧美日韩激情| 日韩午夜中文字幕| 色一情一乱一乱一91av| 国产综合一区二区| 亚洲成人手机在线| 1区2区3区精品视频| 2023国产精品视频| 欧美蜜桃一区二区三区| 97久久精品人人爽人人爽蜜臀| 久久草av在线| 视频在线在亚洲| 一卡二卡欧美日韩| 中文字幕一区二区视频| 欧美xxxxx牲另类人与|