欧洲色情三级欧美三级视频_国产成人无码av在线播放不卡_大地资源中文在线观看免费_午夜天堂AV天堂久久久_私人家庭影院在线_www.日韩在线

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

主站蜘蛛池模板: 国产av无码专区亚洲av果冻传媒 | 四虎成人在线视频 | 久久久久久一级片 | 被严重低估的铜陵有色 | 龙凤斗国语免费观看 | av日韩网址 | 中日韩一级露脸视频 | 夜夜爽天天操 | 高清日韩欧美 | 专业操老外 | 国产精品99久久久精品 | 啪啪免费网 | 午夜av亚洲翘臀国产精网 | 99国产欧美久久久精品蜜芽 | 久久久精品久久久毛片 | 曰韩免费无码AV一区二区 | 色77av| 亚洲色婷婷一区二区三区 | 丝袜理论片在线观看 | A天堂最新版在线中文 | 热热涩热热狠狠色香蕉综合 | 麻豆一区二区三区蜜桃免费 | 97色碰碰公开视频 | 国产一级一级理论片一区二区 | 精品视频一区二区在线 | 精品人妻系列无码人妻不卡 | 自拍欧美亚洲 | 精品成人免费自拍视频 | 羞羞午夜爽爽爽爱爱爱爱人人人 | 婷婷综合国产 | 99天堂网| 亚洲VA成无码人在线观看 | 久久精品一区二区三区黑人印度 | 少妇人妻挤奶水中文视频毛片 | 刺激videoschina偷拍 | 看国产精品 | 夜夜爽妓女8888视频免费观看 | 国产精品免费一区二区 | 国产欧美一区二区三区国产幕精品 | 2021国产精品视频 | 夜夜被两个男人玩得死去活来 |