欧洲色情三级欧美三级视频_国产成人无码av在线播放不卡_大地资源中文在线观看免费_午夜天堂AV天堂久久久_私人家庭影院在线_www.日韩在线

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

主站蜘蛛池模板: 久久久久久久久久久福利观看 | 国产剧情精品在线 | 欧美一区二区在线视频 | 一区二区三区产品乱码的解决方法 | 伊甸园永久入口www 欧美人成片免费看视频 | 亚洲开心婷婷中文字幕 | 午夜精品久久久久久久四虎美女版 | 91s视频| 人善交oooooo另类毛片 | 夜夜被两个男人玩得死去活来 | 超级碰在线 | 国产成人AV三级在线观看按摩 | 91欧美精品午夜性色福利在线 | 亚洲欧美综合7777色婷婷 | 日韩激情国产 | 黄色天堂av | 国产精品美女久久久久久久网站 | 国产精品久久婷婷 | 亚洲av无码久久寂寞少妇 | 上流社会高清免费观看 | 美女视频免费是黄的网站 | 黄色短视频网站 | 人妻中文字系列无码专区 | 黄色日漫网站 | 91大神唐先生22部在线观看 | 国产成人手机在线视频 | 国家一级毛片 | 欧美v亚洲v综合v国产v | 久久看片视频 | 国产麻豆精品一区二区在线 | 66lu国产在线观看 | 91欧美一区二区三区综合在线 | 久久人人射 | 手机在线免费观看av片 | 青青青免费视频在线 | 中文字幕人成高视频 | 日本高清视频免费在线观看 | 国产伦理精品一期二期三期 | 酒色综合| 青椒国产97在线熟女 | 亚洲人成在线免费观看 |