日本特级淫片免费看-日本特级黄色-日本特级黄录像片-日本视频中文字幕-成年偏黄网站站免费-成年人福利

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

主站蜘蛛池模板: 日韩欧国产精品一区综合无码 | 亚洲天堂区 | 亚洲国产欧美日韩精品一区二区三区 | 四虎免费网站永久地址2 | 亚洲欧洲日韩国产一区二区三区 | 亚洲欧洲国产成人精品 | 午夜噜噜噜私人影院在线播放 | 成人看的午夜免费毛片 | 1级黄色毛片 | a级毛片 黄 免费a级毛片 | 日韩午夜影院 | 国产成人毛片毛片久久网 | 国产成人免费高清在线观看 | 一级做a爰片久久毛片毛片 一级做a爰片久久毛片看看 | 国产原创系列在线 | 色婷婷中文字幕 | 国产精品k | 国产高清在线丝袜精品一区 | 视频在线91 | 日本孕妇孕交 | 国产精品久久毛片 | 亚洲天码中文字幕第一页 | 欧美大片在线 | 性视频小说 | 国产综合色在线视频播放线视 | 欧美性受一区二区三区 | 国产高清成人吃奶成免费视频 | 欧美亚洲高清日韩成人 | 四虎在线网址 | 亚洲精品国产综合一线久久 | 久操资源网 | 久久国产三级精品 | 免费看成人毛片 | 久久黄色精品视频 | 特级黄| 欧美婷婷| 亚洲第一色网站 | 日韩精品在线一区 | 亚洲国产成人久久一区www妖精 | 91麻豆传传媒波多野衣久久看 | 一区不卡|