成人免费AA片在线观看-成人免费a级毛片-成人免费a级毛片无码片2022-成人免费a级毛片无码网站入口-成人免费ā片在线观看-成人免费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
          

亚洲成av人片在线观看www | 久久亚洲一级毛片 | 国产精品成人观看视频国产奇米 | 精品日韩欧美一区二区在线播放 | 区二区三区玖玖玖 | 欧美精品国产综合久久 | 亚洲精品v欧洲精品v日韩精品 | 亚洲国产精品va在线播放 | 无码熟妇αⅴ人妻又粗又大 | 丰满多毛的大隂户视频 | 在教室伦流澡到高潮hgl动漫 | 中文字幕丰满乱子伦无码专区 | а天堂中文地址在线 | 日本不卡一区二区三区在线 | 2019中文字幕视频 | 国产特级毛片aaaaaa高潮流水 | 日韩精品无码一本二本三本色 | 久久久久大香线焦 | 国产一级淫片免费播放 | 亚洲 欧美 综合 另类 中字 | 国产亚洲精品美女久久久久 | 777在线视频 | 亚洲av无码一区二区三区天堂 | 性一交一乱一透一a级 | a级毛片无码免费真人久久 最近中文字幕完整版 | 亚洲精品久久久av无码专区 | 国产婷婷色综合av蜜臀av | 国产精品手机在线观看 | 国产亚洲情侣一区二区无 | 一二三四视频社区在线 | 成人激情在线观看 | 亚洲日本va午夜在线电影 | 57pao一国产成视频永久免费 | 亚洲乱码中文字幕综合 | 成人无码区免费a片www | 天天躁日日躁狠狠躁av中文 | 好男人好资源电影在线播放 | 香蕉久久人人爽人人爽人人片av | 精品日本一区二区三区在线观看 | 日韩av片无码一区二区不卡电影 | 疯狂撞击丝袜人妻 |