成人免费AA片在线观看-成人免费a级毛片-成人免费a级毛片无码片2022-成人免费a级毛片无码网站入口-成人免费ā片在线观看-成人免费a视频

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

国产成年女一区二区三区 | 91亚洲人成手机在线观看 | 亚洲精品午夜国产va久久成人 | 婷婷亚洲久悠悠色悠在线播放 | 成人公开免费视频 | 亚洲av中文无码乱人伦在线观看 | 少妇做爰免费视频了 | 久久国产精品视频一区 | 男人的天堂免费a级毛片无码 | 色综合视频一区中文字幕 | 3344成年站福利在线视频免费 | 成人欧美日韩一区二区三区 | 久久婷婷人人澡人人爽人人爱 | 亚洲欧美乱综合图片区小说区 | 中文无码av一区二区三区 | 97久久香蕉国产线看观看 | 久久综合精品国产二区无码 | 久久精品国产亚洲av大全 | 久久99精品久久久久久hb无码 | 二次元满满正能量网站在线看 | 成人免费久久精品国产片久久影院 | 亚洲熟妇无码一区二区三区 | 国产老熟妇精品观看 | 91久久99热青草国产 | 中文字幕久精品免费视频 | 韩国三级中文字幕hd久久精品 | 国产精品一区二区久久国产 | 日本边添边摸边做边爱 | 色五月丁香五月综合五月4438 | 高清性做爰免费无遮挡网站 | 狠狠色噜噜狠狠狠7777奇米 | 女人18毛片a级毛片免费视频 | 国产精品毛片一区 | 吸咬奶头狂揉60分钟视频 | 成 人 免 费 黄 色 | 无遮挡边吃摸边吃奶边做 | 99蜜桃在线观看免费视频网站 | 亚洲av无码第一区二区三区 | 亚洲av无码专区在线 | 国产爆乳无码视频在线观看3 | 日韩精品无码视频一区二区蜜桃 |