日本JAPANESE熟睡人妻_久久99热只有频精品6狠狠_欧美一区内射最近更新_美女露100‰奶头18禁_日韩性生活一级片_国产三级无码内射在线看

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

主站蜘蛛池模板: 美国人泡妞xxxxwww免费看 | 柠檬福利视频导航 | 少妇爆乳无码av无码专区 | 老师办公室被吃奶好爽在线观看 | 公在厨房扒开腿让我爽了在线观看 | 91在线看看 | 国产播放啪视频免费视频 | 亚洲AV色福利天堂 | 免费人成视频网站在线观看18 | 在线91观看| 精品久久久久久久久中文字幕 | 国产一级毛片国语普通话对白 | 免费午夜成人片 | 一级在线免费看 | 成人无码免费视频在线观看网址 | 中文字幕日韩精品亚洲七区 | www无套内射高清免费 | 亚洲精品乱码久久久久久蜜桃不卡 | 九一香蕉国产在线观看AV | 成人va视频| 国产日产精品一区二区三区四区 | 国产一级做a爱片久久毛片a | 动漫AV纯肉无码AV在线播放 | 人人澡人人澡人人看添欧美 | 日日碰狠狠添天天爽不卡 | 精品人人搡人妻人人玩A片 天天爱天天做天天爽歪歪 久久精品国产精品亚洲精品 | 日韩欧美1区2区 | 麻豆蜜桃av| a亚洲精品 | 中文字幕高清不卡 | 男生白内裤自慰gv白袜男同 | 国产成人无码网站m3u8 | 日韩欧美亚洲一区二区 | 亚洲综合久久一本久道 | 久久精品国产乱子伦 | 红桃AV一区二区三区在线无码AV | GOGO人体大胆全球少妇 | 99这里只有精品视频 | 亚洲色偷拍区另类无码专区 | 国产精品色片 | 国产九九九 |