国产一区视频在线观看-国产重口老太和小伙-亚洲v高-中文岛国精品亚洲一区亚-免费a级毛片出奶水-黄网站入口

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

主站蜘蛛池模板: 77777五月色婷婷丁香视频| 无码专区6080yy国产电影| 中文字幕无码日韩av| 欧美艳星nikki激情办公室| 亚洲日韩在线观看免费视频| 国产成人综合日韩精品无码| 激情国产一区二区三区四区小说 | 国产日韩一区在线精品| 国产成人精品2021| 国产毛片一区二区精品| 偷拍激情视频一区二区三区| 久久这里只有精品18| 久久精品国产精品亚洲下载| 中字幕久久久人妻熟女天美传媒| 国产午夜福利在线观看视频| 亚洲春色cameltoe一区| 日本一卡2卡3卡4卡无卡免费网站| 成人免播放器午夜视频| 黑人又粗又大xxx精品| 两根大肉大捧一进一出好爽视频| 老司机久久精品最新免费| 亚洲中文字幕av一区二区三区| 日韩一区二区三免| 国产涩涩视频在线观看| 久久九九精品国产综合喷水| 亚洲国产一二三精品无码| 狠狠躁夜夜躁人人爽天天5| 无码内射成人免费喷射| 亚洲精品午夜一区人人爽| 欧美人与动欧交视频| 国产午夜伦伦午夜伦无码| 国产无套精品一区二区三区| 亚洲伦无码中文字幕另类 | 欧美成人精品午夜免费影视| 国产一区内射最近更新| 麻豆国产96在线日韩麻豆| 国内精品伊人久久久久影院麻豆 | 国产suv精品一区二区69| 青青草国产精品一区二区| 邻居少妇张开腿让我爽了在线观看| 亚洲а∨天堂男人色无码|