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

午夜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
          

主站蜘蛛池模板: 2022国产成人精品视频人| 粉嫩av国产一区二区三区| 综合五月激情二区视频| 乱码视频午夜在线观看| 亚洲精品第一国产综合亚av| 尤物国产在线精品福利三区| аⅴ天堂中文在线网| 欧美色欧美亚洲国产熟妇| 国产精品无码永久免费888 | 国产成人久久婷婷精品流白浆| 99精品国产兔费观看久久99| 国产成人av综合亚洲色欲| 麻豆果冻传媒2021精品传媒一区下载| 免费永久在线观看黄网站| 奇米777四色在线精品| 日韩夜夜高潮夜夜爽无码| 亚洲精品无码不卡在线播he| 337p日本欧洲亚洲大胆精品| 国产xxx视频在线观看软件| 国产精品怡红院永久免费| 强被迫伦姧高潮无码bd电影| 国产麻豆剧果冻传媒星空视频| 精品乱码久久久久久久| 亚洲免费最大黄页网站| 精品人妻一区二区三区浪潮在线 | 激情呻吟久久久久久99av | 性动态图av无码专区| 少妇伦子伦精品无吗| 又黄又爽吃奶视频在线观看| 亚洲色婷婷六月亚洲婷婷6月| 国产午夜精品一区二区| 亚洲人成人网站18禁| 成人无码www在线看免费| 国产成人高清亚洲综合| 99久久伊人精品综合观看| 成人爽a毛片在线视频| 欧美黑人xxxx性高清版 | 少妇一晚三次一区二区三区| 国产精品992tv在线观看| 超碰免费公开| 狠狠色噜噜狠狠狠狠7777米奇|