日本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
          

主站蜘蛛池模板: 国产精品人妻无码久久久免费看 | 久久亚洲日韩精品一区二区三区 | 精品国产乱码久久久久久88av | 亚洲欧美在线综合图区 | 国产射射射 | 久久无码中文字幕免费影院蜜桃 | 91亚州熟女网站 | 精品久久久bbbb人妻 | 国产精品视频一区二区三区四区五区 | 无码免费人妻A片AAA毛片西瓜 | 色啪影院 | 我和隔壁的少妇人妻HD | 日韩大片在线免费观看 | 日本成人在线不卡一区二区三区 | 狠狠插久久综合网最新章节 | 欧美伦费免费全部午夜最新 | 免费永久看黄在线观看 | 好爽好紧好大的免费视频国产 | 天天澡夜夜澡人人澡 | 欧美男人天堂网 | 欧美综合自拍亚洲综合图片区 | 精品国产18久久久久久白浆软件 | 内射视频←WWW夜 | 国产小受被做到哭咬床单GV | 性欧美暴力猛交69HD | 成全动漫视频在线观看免费高清 | 国产成人二区 | 日韩视频在线观看免费 | 日韩精品无码一区二区三区av | 黄色搞逼视频 | 老奶奶性视频 | 成人无码潮喷在线观看 | 男人撕开奶罩揉吮奶头 | 欧美激情网页 | 久久久久久久综合日本 | 成人自拍视频在线观看 | 日本色频 | 午夜精品久久久久9999高清 | 野花社区日本免费图片 | 久久久国产精品一区 | 国产精品美女自拍 |