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

麻豆av一区二区三区 | 黄色在线观看视频免费 | 亚洲色无码国产精品网站可下载 | 不卡视频在线播放 | 夫妇交换性三中文字幕 | 黄色一级毛片看一级毛片 | 国产成人无码综合亚洲日韩 | www日本免费 | 美里有纱中文字幕在线视频 | 国内精品91久久久久 | 亚洲日韩av无码中文字幕美国 | 亚洲av无码av在线播放 | 免费福利视频在线观看 | 99久久精品费精品国产一区二 | 中文字幕无码日韩专区免费 | 91成人午夜性a一级毛片 | 免费观看亚洲视频 | 国产∨亚洲v天堂无码久久久 | 欧美午夜精品久久久久久浪潮 | 亚洲精品无码aⅴ中文字幕蜜桃 | 国产三级日产三级韩国三级 | 中字幕人妻一区二区三区 | 老头天天吃我奶躁我的动图 | 免费的特黄特色大片在线观看 | 无码专区丰满人妻斩六十路 | 亚洲国产婷婷香蕉久久久久久 | 理论片午午伦夜理片影院 | 亚洲日韩av无码中文字幕美国 | 色噜噜av亚洲色一区二区 | 亚洲av综合色区无码另类小说 | 国产精品免费精品自在线观看 | 成熟丰满熟妇av无码区 | 国产免费av一区二区三区 | 国产无遮挡aaa片爽爽 | 日韩精品无码一区二区三区四区 | 亚洲久热无码av中文字幕 | 亚洲av无码无在线观看红杏 | 水蜜桃亚洲一二三四在线 | 看av免费毛片手机播放 | 亚洲av无码第一区二区三区 | 女人夜夜春高潮爽a∨片传媒 |