国产狂喷潮在线观看-日韩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
          

主站蜘蛛池模板: 久久不见久久见免费影院www日本| 成人网站av亚洲国产| 就去干成人网| 国产日韩制服丝袜第一页| 国产精品久久久久久影视不卡| 免费人成视频在线观看网站 | 一区二区不卡av免费观看| 国产00高中生在线无套进入| 曰韩少妇内射免费播放| 国产午夜亚洲精品不卡网站 | 动漫高h纯肉无码视频在线观看| 激情五月色综合国产精品| 久99久无码精品视频免费播放| 国产免费不卡av在线播放| 亚洲成a∨人片在线观看不卡| 亚洲欧美日本国产mag| 成人午夜高潮免费视频在线观看| 久久久久青草线蕉综合| 国产黄大片在线观看| 99精品人妻少妇一区二区| 五月综合缴情婷婷六月| 制服国产欧美亚洲日韩| 久久天天躁夜夜躁狠狠85台湾| 久久男人高潮女人高潮| 国产成人精品怡红院在线观看 | 国产成人无码免费网站| 亚洲人成色在线观看| 国产偷录视频叫床高潮| 潮喷大喷水系列无码视频| 国产稚嫩高中生呻吟激情在线视频 | 亚洲综合色婷婷七月丁香| 精品国品一二三产品区别在线观看| 亚洲欧洲日产国产 最新| 大伊香蕉精品一区二区| 国产乱人伦av在线麻豆a| 无码gogo大胆啪啪艺术| 国产女主播白浆在线观看| 亚洲无码免费观看| 娜娜麻豆国产电影| 性xxxxx欧美极品少妇| 亚洲性色成人av天堂|