成人免费AA片在线观看-成人免费a级毛片-成人免费a级毛片无码片2022-成人免费a级毛片无码网站入口-成人免费ā片在线观看-成人免费a视频

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

少妇人妻诗雨系列无删减 | 亚洲成av人片天堂网 | 激情内射亚洲一区二区三区 | 国产精品国产三级国产an | 无码人妻一区二区三区在线 | 无限看片在线版免费视频大全 | 亚洲精品自在在线观看 | 亚洲av综合av一区二区三区 | 人人爽人人爽人人片av免费 | 久久久久久久久久久大尺度免费视频 | 国产寡妇树林野战在线播放 | 久久亚洲精品无码va白人极品 | 国产无遮挡又黄又爽在线视频 | 日韩精品人妻中文字幕有码 | 久久精品国产亚洲av麻豆色欲 | 久久久久99精品成人片试看 | 洗澡被公强奷30分钟视频 | 色欲av永久无码精品无码蜜桃 | 国产精品久久久久久影视 | 久久亚洲人成网站 | 香蕉人妻av久久久久天天 | 亚洲色婷婷一区二区三区 | 蜜臀av国产精品久久久久 | 成人观看天堂在线影片 | 久久婷婷综合色丁香五月 | 亚洲av无码精品国产成人 | 亚洲人成网77777色在线播放 | 爱爱视频免费网站 | 人妻夜夜爽天天爽一区 | 国产成人午夜精华液 | 黄网站在线播放 | 强行糟蹋人妻hd中文字幕 | 大胸少妇午夜三级 | 国产一级片大全 | 后进式激情在线视频 | 国产精品区一区二区三在线播放 | 中文字幕日韩欧美一区二区三区 | 色avav色av爱avav亚洲色拍 | 18岁禁免费网站 | 欧美变态另类刺激 | 亚洲人成精品久久久久 |