看n2實(shí)例 #Create a simulator object set ns [new Simulator] #Define different colors for data flows #$ns color 1 Blue #$ns color 2 Red #Open the nam trace file set nf [open out-1.nam w] $ns namtrace-all $nf set f0 [open out0.tr w] set f1 [open out1.tr w] #Define a finish procedure proc finish {} { global ns nf $ns flush-trace #Close the trace file close $nf #Execute nam on the trace file exit 0 } #Create four nodes set n0 [$ns node] set n1 [$ns node] set n2 [$ns node] set n3 [$ns node] #Create links between the nodes $ns duplex-link $n0 $n2 1Mb 10ms
標(biāo)簽: simulator Simulator different Create
上傳時(shí)間: 2016-07-02
上傳用戶:wfl_yy
留言簿架構(gòu) oracle 9i + jsp + struts 留言簿基本功能: 1 、客人簽寫留言 2 、基本的UBB支持,如[url]http://www.lunji.com[/url],[color="red"]紅色字[/color] 3 、ctrl+enter可提交留言 4 、搜索留言 5 、悄悄話功能 安全: 1 、解決了連串字母將表格撐大問(wèn)題 2 、用戶名與留言內(nèi)容不能太長(zhǎng)或?yàn)榭? 3 、用戶不能冒充版主留言 4 、屏垃圾語(yǔ)言功能 管理: 默認(rèn)頁(yè)為/admin/login.do 9 、留言簿基本參數(shù)的設(shè)置如留言簿標(biāo)題,每頁(yè)顯示條數(shù) 10、設(shè)置版主信息 11、設(shè)置管理員用戶名、密碼 12、回復(fù)留言、編輯留言、刪除留言 13、設(shè)置悄悄話功能的開(kāi)啟與關(guān)閉 14、垃圾語(yǔ)言過(guò)濾 15、在線更改最大留言字節(jié)數(shù) 安裝: 1、在oracle中執(zhí)行document/sql/guestbook.sql 2、設(shè)置tomcat server.xml中Connector配置節(jié)增加一個(gè)屬性,URIEncoding="gb2312" 3、用記事本打開(kāi)WEB-INF/classes/init.properties,修改其中的數(shù)據(jù)庫(kù)ip地址,sid,帳號(hào)和密碼等 首頁(yè)默認(rèn)為indx.do
標(biāo)簽: oracle struts jsp UBB
上傳時(shí)間: 2014-11-16
上傳用戶:zl5712176
51單片連tcs230的源程序,絕對(duì)原創(chuàng),可以記憶顏色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定義 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //頻率從TO口輸入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //關(guān)定時(shí)器 TR1=0 TH1=0xB1 TL1=0xE0 //歸0 TH0=0x00 TL0=0x00 //歸0 }
上傳時(shí)間: 2016-11-26
上傳用戶:秦莞爾w
增加系統(tǒng)功能調(diào)用,在Red-Flag5.0下編譯內(nèi)核,注意內(nèi)核版本應(yīng)該是2.6.0~2.6.9,之后版本內(nèi)核的編譯方式有變化!
標(biāo)簽:
上傳時(shí)間: 2016-12-02
上傳用戶:JIUSHICHEN
A novel met hod t o p artially compensate sigma2delta shap ed noise is p rop osed. By injecting t he comp en2 sation cur rent int o t he p assive loop f ilte r during t he delay time of t he p hase f requency detect or ( PFD) , a maximum reduction of t he p hase noise by about 16dB can be achieved. Comp a red t o ot he r compensation met hods , t he tech2 nique p rop osed he re is relatively simple and easy t o implement . Key building blocks f or realizing t he noise cancel2 lation , including t he delay va riable PFD and comp ensation cur rent source , a re sp ecially designed. Bot h t he behavior level and circuit level simulation results a re p resented.
標(biāo)簽: sigma2delta compensate injecting artially
上傳時(shí)間: 2013-12-18
上傳用戶:qlpqlq
創(chuàng)建進(jìn)度條 jpb = new JProgressBar() jbutton = new JButton("觀看演示") jbutton.addActionListener(this) this.getContentPane().add(jbutton) //設(shè)置進(jìn)度條的前景色為紅色 jpb.setForeground(Color.red) this.getContentPane().add(jpb) //給進(jìn)度條注冊(cè)事件監(jiān)聽(tīng)器
標(biāo)簽: jbutton addActionListener JProgressBar new
上傳時(shí)間: 2017-01-06
上傳用戶:wl9454
This worm file is disseminated except that through MIRC and outlook Express. This worm will duplicate red.exe in the computer arriving and infecting too, and in mirc catalogue in the system, produce a script.ini file, let the worm be disseminated through Mirc communication software by this.
標(biāo)簽: This worm disseminated duplicat
上傳時(shí)間: 2017-01-13
上傳用戶:dbs012280
La designaci貿(mào)n Modbus Modicon corresponde a una marca registrada por Gould Inc. Como en tantos otros casos, la designaci貿(mào)n no corresponde propiamente al est謾ndar de red, incluyendo todos los aspectos desde el nivel f鉚sico hasta el de aplicaci貿(mào)n, sino a un protocolo de enlace [nivel OSI 2]. Puede, por tanto, implementarse con diversos tipos de conexi貿(mào)n f鉚sica y cada fabricante suele suministrar un software de aplicaci貿(mào)n propio, que permite parametrizar sus producto
標(biāo)簽: corresponde registrada designaci Modicon
上傳時(shí)間: 2014-12-01
上傳用戶:梧桐
This tutorial explains how to communicate with IO devices on the DE2 Board and how to deal with interrupts using C and the Altera Monitor Program. Two example programs are given that diplay the state of the toggle switches on the red LEDs. The fi rst program uses the programmed I/O approach and the second program uses interrupts.
標(biāo)簽: with communicate how tutorial
上傳時(shí)間: 2013-12-13
上傳用戶:熊少鋒
This application report discusses the design of non-invasive optical plethysmography also called as pulsoximeter using the MSP430FG437 Microcontroller (MCU). The pulsoximeter consists of a peripheral probe combined with the MCU displaying the oxygen saturation and pulse rate on a LCD glass. The same sensor is used for both heart-rate detection and pulsoximetering in this application. The probe is placed on a peripheral point of the body such as a finger tip, ear lobe or the nose. The probe includes two light emitting diodes (LEDs), one in the visible red spectrum (660nm) and the other in the infrared spectrum (940nm). The percentage of oxygen in the body is worked by measuring the intensity from each frequency of light after it transmits through the body and then calculating the ratio between these two intensities.
標(biāo)簽: plethysmography non-invasive application discusses
上傳時(shí)間: 2014-01-17
上傳用戶:天誠(chéng)24
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1