97视频免费观看2区_无码A级毛片免费视频内谢_JAPANESEXXXX日本熟妇伦视频_国产精品主播在线_黄色大片视频观看性感_久久精品国际

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

主站蜘蛛池模板: 久草在线视频免费播放 | 中国黄色一级电影 | 少妇奶头出奶水一级毛片 | 欧美久久久网站 | 国产日韩一区在线精品 | 我是大哥大在线观看 | 激情欧美 | 中国一级毛片免费观看 | 野花免费观看 | 回复术士的重启人生第2季在线观看免费 | 少妇放荡的呻吟干柴烈火视频 | 秦岭神树动漫版免费看 | 国产精品丝袜久久久久久免费观看 | 日本黄色大全 | 1313午夜精品美女爱做视频 | 一区二区不卡 | 日韩欧美一区2区3区 | 久久久久久久久久久久久久免费看 | 欧洲女人牲交视频免费 | 久久无色 | 日本国产精品视频 | 无码精品A在线观看无 | 一区二区亚洲精品国产精华液 | 特黄三级毛片 | 九九热久久99国产盗摄蜜臀 | 粉嫩玉足夹茎视频在线看 | 免费无码毛片一区二区三区A片 | 午夜三级黄色 | 厨房玩弄人妻系列 | 国产精品免费vv欧美成人a | 少妇边打电话边呻吟在线91 | 欧美精品一区二区性色 | 岛国av大片| 亚洲精品天堂在线观看 | 久久精品影片 | 欧美人与zozozoxxxx | 日本不卡高清视频一区 | 精选国产AV精选一区二区三区 | 日韩美香港a一级毛片免费 奇米影视欧美 | 国产三级全黄A级视频 | 精品日韩欧美一区二区 |