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

主站蜘蛛池模板: 国产激情精品视频 | 午夜熟女插插XX免费视频 | 日本久久久亚洲精品 | 中文字幕一区二区三区四区五区 | 插我舔内射18免费视频 | 中文字幕亚洲一区 | 无码va在线观看 | 99久久久久99国产免费AV | AV无码久久久久不卡免费网站 | 婷婷俺也去俺也去官网 | 国产原创视频在线 | 久久婷婷五月综合色99啪 | 99久久久精品免费观看国产 | 亚洲国产成人精品无码区花野真一 | 色AV永久无码影院AV | 国产av无码专区亚洲av男同 | 久久国产乱子精品免费女 | 国产永久免费高清在线观看 | 中文字幕无码肉感爆乳在线 | 成人h免费观看视频 | 无码人妻品一区二区三区精99 | 岳肥肉紧嫩嫩伦69 | 玩弄少妇高潮ⅹxxxyw | 亚洲AⅤ无码乱码在线观看性色 | 亚洲人成网站色www 成人国内精品久久久久影院 | 野花视频在线观看最新免费 | 8x8x成人网 | 99久久人妻精品免费一区 | 最新69国产成人精品视频免费 | 破了亲妺妺的处免费视频国产 | 呦女人与动人物A级毛片 | 国产极品粉嫩泬免费观看 | 国产无遮挡又黄又大又爽 | 白嫩无码人妻丰满熟妇啪啪区百度 | 久久久久人妻一区精品果冻 | 国产激情无码一区二区 | 欧美日韩版 | 国产亚洲精品久久久999密壂 | 免费看啪啪人A片AAA片 | www.91av在线 | 浮妇高潮喷白浆视频 |