成人免费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永久天堂一区二区三区 | 国产精品一区二区不卡的视频 | 老师脱了内裤让我进去 | 亚洲av国产精品色午夜洪2 | 亚洲色成人www永久在线观看 | 亚洲最大成人综合网720p | 亚洲成a人无码 | 亚洲av成人无码久久精品老人 | 亚洲精品无码久久久久 | 国产麻豆一精品一av一免费 | а天堂中文最新版在线 | 91短视频在线观看免费最新 | 天天干成人网 | 国产韩国精品一区二区三区 | 18级成人毛片免费观看 | 6080yy午夜不卡一二三区 | 欧洲熟妇色xxxx欧美老妇软件 | 国产精品欧美日韩视频一区 | 久久久久亚洲av成人无码电影 | 蜜桃av噜噜一区二区三区 | 精品热久国产福利视频 | 亚洲а∨天堂久久精品2021 | 亚洲日韩国产精品第一页一区 | 好吊色欧美一区二区三区四区 | av线上免费观看 | 好爽别插了无码视频 | 91亚洲精品丁香在线观看 | 国模雨珍浓密毛大尺度150p | 大学生高潮无套内谢视频 | 午夜福利视频 | 竹菊影视欧美日韩一区二区三区四区五区 | 午夜不卡av免费 | 男女猛烈激情xx00免费视频 | 亚洲av无码专区在线厂 | 国产成人一区二区三区影院动漫 | 丰满人妻熟妇乱又伦精品 | 一本本月无码- | 久久人人爽人人爽人人片av高请 | 亚洲av无码xxx麻豆艾秋 | 国产一级a毛片 |