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

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

主站蜘蛛池模板: 婷婷久久香蕉五月综合 | 国产视色精品亚洲一区二区 | 波萝蜜A毛黄AAA片 | 日本高清中文字幕免费一区二区 | 精品欧美二区 | 亚洲美女牲交高清淅视频 | 最新免费av在线观看 | 激情婷婷丁香五月色综合 | 中文无码亚洲精品字幕 | 忍着娇喘人妻被中出中文字幕 | 国产乱xxⅹxx国语对白 | 成年男女免费视频网站不卡 | 人人妻人人澡人人爽曰本 | 久久久久久成人毛片免费看 | 日韩AV高清无码 | 国产做爰xxxⅹ高潮视频12p | 15GAY男同志同性1069 | 在线看片免费人成视频福利 | 久久成人综合网 | 人妻无码中文字幕一区二区三区 | 亚洲欧美日韩综合久久久久 | 别揉我奶头~嗯~啊~免费视频 | 欧美在线成人影院 | 亚洲国产一区二区三区波多野结衣 | 日韩在线观看一区二区三区 | 亚洲欧美日韩精品成人 | 2023国产无人区卡一卡二卡三 | 无罩大乳的熟妇正在播放 | 国产在线精品免费一区 | 上司人妻互换hd无码中文 | 日本髙清无码免费视频 | 很黄很色的动态图 | 一本色道久久88加勒比—综合 | 国产亚洲精品久久久久久无码 | 国产欧美一区二区三区国产幕精品 | 亚洲国产成人久久一区 | 国产高清视频在线一区 | 午夜精品久久18免费观看 | 综合亚洲深深色噜噜狠狠网站 | 国产一区二区精品久 | 午夜天堂成人欧美www无码 |