日本特级淫片免费看-日本特级黄色-日本特级黄录像片-日本视频中文字幕-成年偏黄网站站免费-成年人福利

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

主站蜘蛛池模板: 欧美黄页 | 一级片视频免费 | 奇米欧美成人综合影院 | 亚洲综合网址 | 色综合久久精品中文字幕首页 | 亚洲 欧美 日韩在线一区 | 亚洲欧美另类精品久久久 | 欧美性猛交aa一级 | 伊人四虎 | 久久婷婷五夜综合色频 | 久热99这里只有精品视频6 | 日日天日日夜日日摸 | 欧美日韩网站 | 四虎影视久久 | 免费看黄色a级片 | a黄毛片 | 在线毛片免费 | 亚洲视频毛片 | wwwcom黄| 久久综合五月开心婷婷深深爱 | 久久这里只有精品免费看青草 | 中文精品久久久久国产网站 | 香蕉久草视频 | 亚洲欧洲国产成人精品 | 黄色一级毛片免费看 | 欧美成人亚洲综合精品欧美激情 | 亚洲最猛黑人xxxx黑人猛交 | 视频在线欧美 | 伊人中文网 | 伊人久久综合网亚洲 | 中文字幕久热 | 黄色片a级片 | 色成人综合网 | 四虎永久在线精品免费影视 | 污视频在线播放观看 | 九七婷婷狠狠成人免费视频 | 精品国产免费观看一区高清 | 麻豆国产在线视频 | 成人日韩视频 | 国产精品一区二区三区四区 | 亚洲欧洲国产经精品香蕉网 |