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

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

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

主站蜘蛛池模板: 国产97人人超碰CAO蜜芽PROM | 国产欧美日韩另类在线专区 | 影音先锋国产精品 | 中文字幕一区二区三区在线观看 | 无码中文字幕乱在线观看 | 国产精品久久久久久三级 | 日本一二三区视频 | 美女视频黄频大全免费的 | 精品麻豆一卡2卡三卡4卡乱码 | 波多野结衣视频在线观看 | 成人免费A级毛片无码片2023 | 欧美日韩成人网 | 久久欧美国产伦子伦精品 | 国产人妻久久精品二区三区 | 少妇人妻综合久久中文字幕 | 国产精品人人妻人人爽人人牛 | 西西444WWW无码视频软件 | 欧美做受又硬又粗又大视频 | 91午夜影院 | 亚洲在线观看一区二区 | 啦啦啦资源视频在线完整免费高清 | 国内午夜无码不卡在线观看 | 日韩欧美在线综合网另类 | 射精情感曰妓女色视频 | 肥妇BBw搡BBw搡BBw小说 | 男人进去女人爽免费视频 | 亚洲日韩成人性av网站 | 无码人妻精品一区二区蜜桃网站 | 成人精品一区二区三区中文字幕 | 久久精选视频 | 中文av字幕| 黄色免费在线看 | 免费观看的AV毛片的网站 | 欧美怡春院一区二区三区 | 国产精品 视频一区 视频二区 | 久久婷婷五月综合成人D啪 精品无人区麻豆乱码1区2区 | 精品国产男人的天堂久久 | 日韩中文人妻无码不卡 | 日韩AV无码社区一区二区三区 | 日本在线中文字幕一区 | 蜜桃视频在线网站 |