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

午夜339351
級(jí)別: 實(shí)習(xí)會(huì)員
精華主題: 0
發(fā)帖數(shù)量: 3 個(gè)
工控威望: 46 點(diǎn)
下載積分: 673 分
在線時(shí)間: 0(小時(shí))
注冊(cè)時(shí)間: 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
級(jí)別: 實(shí)習(xí)會(huì)員
精華主題: 0
發(fā)帖數(shù)量: 3 個(gè)
工控威望: 46 點(diǎn)
下載積分: 673 分
在線時(shí)間: 0(小時(shí))
注冊(cè)時(shí)間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
1樓  發(fā)表于: 2018-03-23 16:30
各位大神求助!卡了半天了!!謝謝!
午夜339351
級(jí)別: 實(shí)習(xí)會(huì)員
精華主題: 0
發(fā)帖數(shù)量: 3 個(gè)
工控威望: 46 點(diǎn)
下載積分: 673 分
在線時(shí)間: 0(小時(shí))
注冊(cè)時(shí)間: 2018-03-23
最后登錄: 2018-03-23
查看午夜339351的 主題 / 回貼
2樓  發(fā)表于: 2018-03-23 16:33
          

主站蜘蛛池模板: 一本色道久久爱88av| 最新国产麻豆aⅴ精品无码| 欧美日韩精品一区二区三区不卡| 久久亚洲国产成人精品无码区| 国语精品自产拍在线观看网站| 成年美女黄网站色大免费视频| 欧美制服丝袜人妻另类| 欧美乱人伦人妻中文字幕| 国模冰莲极品自慰人体| 色狠狠久久av五月综合| 在线观看午夜福利院视频| 久久精品2021国产| 国产精品久久久午夜夜伦鲁鲁| 国产欧美精品亚洲日本一区| 久久久久女人精品毛片| 久久无码精品一区二区三区| 国产成人人综合亚洲欧美丁香花| 国产精品国产三级国产专播 | 欧美性生交大片免费看| 国产日产欧产精品精乱子| 欧美日产国产精品| 亚洲精品一区二区久久| 欧美三级真做在线观看| 亚洲国产精品成人午夜在线观看| 国产精品色内内在线播放| 乱精品一区字幕二区| 麻麻张开腿让我爽了一夜| 国产精品卡1卡2卡三卡四| 国产精品国三级国产av| 人人妻人人澡人人爽人人精品| 亚洲电影区图片区小说区| aaa少妇高潮大片免费看| 超薄肉色丝袜一区二区| 97无码精品综合| av男人的天堂在线观看国产| 国产三级精品三级在线观看| 人人玩人人添人人澡欧美| 国产真实露脸乱子伦| 美女裸体跪姿扒开屁股无内裤| 久久无码高潮喷水抽搐| 丁香花在线影院观看在线播放|