欧美鲁鲁_啦啦啦啦在线观看_日韩精品短视频_玩偶姐姐作品在线观看_天天综合天天做天天综合_国产综合图区

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

主站蜘蛛池模板: 17c在线视频观看免费播放 | 精品无人区麻豆乱码1区2区 | 在线中文字幕第一区 | 裸体在线国模精品偷拍 | 两个人看的www中文在线观看 | 国产成人一区二区无码不卡在线 | 91精品免费看 | 蜜臀av在线播放一区二区三区 | 亚洲欧美中文日韩v在线观看不卡 | 久久久亚洲精品中文字幕 | 极品私人尤物在线精品首页 | 永久免费无代码开发平台网站 | 飘香影院午夜理论片A片 | 亚洲精品乱码久久久久久久 | 美女视频一级片 | 亚洲一区二区视频网站 | 亚洲人成色77777在线观看 | 韩国午夜理论a三级在线观看 | 国产又粗又猛又爽又黄的视频在线观看动漫 | 影院色原网站 | 男人边吃奶边做呻吟免费视频 | 羞羞动漫网站 | 亚洲色欲或者高潮影院 | 永久免费看mv网站入口亚洲 | 中文字幕超清在线免费观看 | caopeng人人| 嗯~宝贝你的胸好软奶罩脱了动漫 | 久久国际精品 | 一级毛片在线看aaaa | 久久影院污| 97色伦午夜国产亚洲精品 | 亚洲一区二区精品视频在线观看 | 一级黄色片国产 | 日本xxxbbb | 亚洲乱色熟女一区二区三区 | 国产精品综合久久久 | 天天做天天爱天天综合网 | aa日韩免费精品视频一 | free性护士videos猛烈 | 亚洲AV永久无码一区二区三区 | 三年片免费观看影视大全满天星 |