欧美 日韩 国产 成人 在线观看丨欧美综合自拍亚洲综合图丨3d动漫精品啪啪一区二区中丨人妻无码一区二区不卡无码av丨日躁夜躁狠狠躁2001

午夜339351
級別: 實習會員
精華主題: 0
發(fā)帖數(shù)量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
樓主  發(fā)表于: 2018-03-23 16:29
圖片:
采用MX COMPONENT 界面監(jiān)視軟元件狀態(tài),用的entryDeviceStatus指令,通訊界面提醒"超出索引"

       #region  "監(jiān)視元件狀態(tài)"
        private void btn_EntryDeviceStatus_Click(object sender, EventArgs e)
        {
            int iReturnCode;                //Return code
            String szDeviceName = "";        //List data for 'DeviceName'
            int iNumberOfData = 0;            //Data for 'DeviceSize'
            int iMonitorCycle = 0;            //Data for 'MonitorCycle'
            int[] arrDeviceValue;            //Data for 'DeviceValue'


            //Displayed output data is cleared.
            ClearDisplay();

            //Get the list of 'DeviceName'.
            //  Join each line(StringType array) of 'DeviceName' by the separator '\n',
            //  and create a joined string data.
            szDeviceName = String.Join("\n", txt_DeviceNameStatus.Lines);

            //Check the 'DeviceSize'.(If succeeded, the value is gotten.)
            if (!GetIntValue(txt_DeviceSizeStatus, out iNumberOfData))
            {
                //If failed, this process is end.
                return;
            }

            //Check the 'MonitorCycle'.(If succeeded, the value is gotten.)
            if (!GetIntValue(txt_MonitorCycleStatus, out iMonitorCycle))
            {
                //If failed, this process is end.
                return;
            }

            //Check the 'DeviceValue'.(If succeeded, the value is gotten.)
            arrDeviceValue = new int[iNumberOfData];
            if (!GetIntArray(txt_DeviceDataStatus, out arrDeviceValue))
            {
                //If failed, this process is end.
                return;
            }


            //
            //Processing of EntryDeviceStatus method
            //
            try
            {
                    //When ActUtlType is selected by the radio button,
                    //The EntryDeviceStatus method is executed.
                    iReturnCode = axActUtlType1.EntryDeviceStatus(szDeviceName,
                                                                    iNumberOfData,
                                                                    iMonitorCycle,
                                                                    ref arrDeviceValue[0]);
            }

            //Exception processing            
            catch (Exception exception)
            {
                MessageBox.Show(exception.Message, Name,
                                  MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            //The return code of the method is displayed by the hexadecimal.
            txt_ReturnCode.Text = String.Format("0x{0:x8} [HEX]", iReturnCode);
        }
        #endregion
午夜339351
級別: 實習會員
精華主題: 0
發(fā)帖數(shù)量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
1樓  發(fā)表于: 2018-03-23 16:30
各位大神求助!卡了半天了!!謝謝!
午夜339351
級別: 實習會員
精華主題: 0
發(fā)帖數(shù)量: 3 個
工控威望: 46 點
下載積分: 673 分
在線時間: 0(小時)
注冊時間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
2樓  發(fā)表于: 2018-03-23 16:33
          

主站蜘蛛池模板: 少妇爱做高清免费视频| 国产裸体舞一区二区三区| 亚洲成a人无码亚洲成www牛牛 | 中文乱码人妻系列一区二区| 亚洲色欲色欲www在线观看| 中文字字幕人妻中文| 日日摸日日碰人妻无码老牲| 国产成人亚洲精品无码电影不卡| 亚洲一区二区三区偷拍女厕| 在线精品国精品国产尤物| 99在线精品免费视频| 插一插射一射视频| 色欲麻豆国产福利精品| 92在线精品视频在线观看| 国产美女极度色诱视频www| 在线看片免费不卡人成视频| 精品国产亚洲一区二区三区| 久久伊人精品一区二区三区| 国产乱子伦一区二区三区视频播放 | 国产亚洲欧美人成在线| 高清国产亚洲精品自在久久| 国产欧美亚洲精品第1页青草| 999国产精品999久久久久久| 国产一区二区精品久久| 五十六十路熟女交尾a片| 无套内射极品少妇chinese| 黑人糟蹋人妻hd中文字幕| 亚洲欧洲国产综合aⅴ无码| 欧美精品在线观看| 国产精品久久久久久久久岛| 999久久国产精品免费人妻| 国产69精品久久久久app下载| 免费无码久久成人网站入口| 日产国产精品精品a∨| 人妻少妇精品无码专区二区| 麻豆成人久久精品二区三区免费| 日韩精品亚洲人旧成在线| 越南女子杂交内射bbwxz| 两个人看的www在线观看| 伊人色综合久久天天人守人婷| 亚洲国产精品久久久久婷婷老年|