【正文】
but some began to attune their music to his rather than to the thought w hich they had at first. Then the discord of Melkor spread ever wider, and the melodies which had been heard before foundered in a sea of turbulent sound. But Il 鷙 atar sat and hearkened until it seemed that about his throne there was a raging storm, as of dark waters that made war one upon another in an endless wrath that would not be assuaged. Then Il 鷙 atar arose, and the Ainur perceived that he smiled。 and a sound arose of endless interchanging melodies woven in harmony that passed beyond hearing into the depths and into the heights, and the places of the dwelling of Il 鷙 atar were filled to overflowing, and the music and the echo of the music went out into the Void, and it was not void. Never since have the A inur made a ny music like to this music, though it has been said that a greater still shall be made before Il鷙 atar by the choirs of the Ainur and the Children of Il 鷙 atar after the end of days. Then the themes of Il鷙 atar shall be played aright, and ta ke Being in the moment of their utterance, for all shall then understand fully his intent in their part, and each shall know the prehension of eac h, and Il 鷙 atar shall give to their thoughts the secret fire, being well pleased. But now Il 鷙 atar sat and hearkened, and for a great while it seemed good to him, for in the music there were no flaws. But as the theme progressed, it came into the heart of Melkor to interweave matters of his own imagining that were not in accord with the theme of Il 鷙 atar, for he sought therein to increase the power and glory of the part assigned to himself. To Melkor among the A inur had be en given the greatest gifts of power and knowledge, and he had a share in all the gifts of his brethren. He had gone often alone into the void places seeking the I mperishable Flame。Of the theme that I have declared to you, I will now that ye make in harmony together a Great Music. And since I have kindled you with the Flame Imperishable, ye shall show forth your powers in adorning this theme, each with his own thoughts and devices, if he will. But I win sit and hearken, and be glad that through you great beauty has been wakened into song.39。 for each prehended only that part of me mind of Il 鷙 atar from which he came, and in the understanding of their brethren they grew but slowly. Yet ever as they listened they came to deeper understanding, and increased in unison and harmony. And it came to pass that Il 鷙 atar called together all the Ainur and declared to them a mighty theme, unfolding to them things greater and more wonderful than he had yet revealed。 and he made first the Ainur, the Holy Ones, that were the offspring of his thought, and they were with him before aught else was made. And he spoke to them, propounding to them themes of music。從 1999年九月至今的四年時(shí)間里,導(dǎo)師不僅在專(zhuān)業(yè)學(xué)習(xí)上對(duì)我嚴(yán)格要求,給予我孜孜不倦的教誨,而且在思想和生活上給予我朋友般的關(guān)心和幫助。 在現(xiàn)代計(jì)算機(jī)技術(shù)高速發(fā)展的條件下,將計(jì)算機(jī)技術(shù)應(yīng)用到物資器材的管理領(lǐng)域中,將使倉(cāng)庫(kù)管理的效率得到大幅度的提高,同時(shí)大大縮減了軍事力量的發(fā)展與倉(cāng)庫(kù)管理之間的距離。 結(jié) 束 語(yǔ) 為了提高我國(guó)的國(guó)防科技力量,使我國(guó)能夠毅然挺立在當(dāng)今世界形勢(shì)的風(fēng)云變幻之中,在軍事力量發(fā)展的同時(shí),更應(yīng)該注重軍需物資器材的現(xiàn)代化管理,使得物資器材的供給能夠得到強(qiáng)有力的保障。 通過(guò)系統(tǒng)的實(shí)施,使得開(kāi)發(fā)實(shí)現(xiàn)的系統(tǒng)最終能夠投入實(shí)際的應(yīng)用中 。對(duì)于該問(wèn)題,從網(wǎng)絡(luò)上的文件傳輸方面來(lái)看,為了保證文件在傳輸過(guò)程中的穩(wěn)定性,同時(shí)又要保證對(duì)用戶(hù)身份的保密,鑒于這兩方面的考慮,可以通過(guò)采用 TCP/IP 協(xié)議來(lái)進(jìn)行文件的傳輸。雖然文件在傳送前已經(jīng)經(jīng)過(guò)加密程序進(jìn)行加密,接收后再經(jīng)過(guò)解密程序進(jìn)行解密,文件里的內(nèi)容具有很好的保密性;但 是在文件的上傳和下載過(guò)程中,下載方可以采取匿名的形式進(jìn)行下載,但上傳方的用戶(hù)身份對(duì)外是公開(kāi)的,無(wú)所謂保密性的問(wèn)題。同時(shí),通過(guò)運(yùn)用分隔符,將使得器材信息的各個(gè)數(shù)據(jù)項(xiàng)不再受到位數(shù)的限制,從而使得將來(lái)數(shù)據(jù)項(xiàng)長(zhǎng)度的改變不會(huì)影響到條碼信息的采集,也使得該應(yīng)用程序具有更強(qiáng)的適應(yīng)性。這樣就可以把數(shù)據(jù)項(xiàng)中的沒(méi)用的空格信息去掉,各個(gè)數(shù)據(jù)項(xiàng)也可以不受固定長(zhǎng)度的限制,即條碼信息的長(zhǎng)度是可變的,從而大大減小了條碼信息的 存儲(chǔ)空間。 綜合技術(shù)上開(kāi)發(fā)的難度情況和對(duì)發(fā)展前景的考慮,對(duì)此問(wèn)題將采用在條碼信息中插入分隔符的方法來(lái)解決。 但是,并不是每一項(xiàng)器材信息的長(zhǎng)度都是相等的,所以在二維條碼所存儲(chǔ)的器材信息中,必定包含很多多余的空格,使得無(wú)用信息占用了相當(dāng)大的條碼存儲(chǔ)資源。對(duì)于系統(tǒng)所存在的瑕癖,通過(guò)以后對(duì)系統(tǒng)的不斷改進(jìn)和維護(hù),將使得系統(tǒng)日趨完美。 系統(tǒng)存在的問(wèn)題和可能的 改進(jìn)方向 至此,對(duì)整個(gè)系統(tǒng)的總體構(gòu)架已經(jīng)圓滿(mǎn)完成,對(duì)系統(tǒng)的詳細(xì)設(shè)計(jì)也進(jìn)行了完整的闡述,同時(shí)對(duì)主要的技術(shù)問(wèn)題也提出了很好的解決方案,因此,可以說(shuō)整個(gè)系統(tǒng)已經(jīng)大致完成。 在器材出庫(kù)、庫(kù)存盤(pán)點(diǎn)的應(yīng)用子程序中,當(dāng)要進(jìn)行器材出庫(kù)或盤(pán)點(diǎn)時(shí),同樣要先打開(kāi)掃描器,然后將出庫(kù)文件或盤(pán)庫(kù)清單的記錄逐項(xiàng)讀出顯示在屏幕上,然后進(jìn)行對(duì)器材條碼的掃描,每掃描一個(gè)器材條碼,就與屏幕上顯示的器材信息進(jìn)行比較,條碼信息與屏幕上顯示的相符時(shí),才能進(jìn)行數(shù)量的錄入。 在程序結(jié)束時(shí)要記得關(guān)閉掃描器,使得掃描器在程序退出后不再被使用,同時(shí)將用來(lái)保存條碼信息的字段清空。由于條碼內(nèi)的數(shù)據(jù)是以字符的形式保存的,所以,對(duì)于非字符型 的數(shù)據(jù)要進(jìn)行格式轉(zhuǎn)換。在該事件中首先判斷是否正確讀入條碼信息,如果讀入的信息為空,則掃描的信息出錯(cuò),要求重新掃描。 Option Explicit Dim strTemp Private Sub Form_Load() End Sub 當(dāng)條碼掃描器掃完條碼后,有數(shù)據(jù)傳入時(shí),會(huì)引發(fā)條碼控件的 ScanComplete事件。在應(yīng)用程序的開(kāi)始,即應(yīng)用界面的Form_Load 程序當(dāng)中,先把 ScanControl 啟動(dòng)起來(lái)。 用二維條碼采集、保存信息的技術(shù)問(wèn)題 整個(gè)程序設(shè)計(jì)都是圍繞著采集器材上二維條碼的數(shù)據(jù)信息來(lái)進(jìn)行的,二維條碼內(nèi)的數(shù)據(jù)是以固定長(zhǎng) 度得字符串形式保存的,且各個(gè)數(shù)據(jù)項(xiàng)在字符串內(nèi)擁有固定的位數(shù)和位置。 通過(guò)對(duì) 以上的 二維條碼控件 ScanControl 屬性、方法和事件的設(shè)置及調(diào)用,就可以很好地完成系統(tǒng)預(yù)定的目標(biāo)。ScanComplete 事件擁有三個(gè)參數(shù): BstrBarcode:條碼中存儲(chǔ)的字符串信息 BstrSource:數(shù)據(jù)信息來(lái)源 LStatus:數(shù)據(jù)信息的使用級(jí)別 LLabelType:掃描器標(biāo)簽的類(lèi)型 對(duì)該事件進(jìn)行編程、設(shè)計(jì)掃描器對(duì)條碼掃描的響應(yīng),設(shè)定掃描器讀入條碼信息后對(duì)條碼信息的篩選規(guī)則,設(shè)計(jì)對(duì)器材的各項(xiàng)信息的截取和顯示方式,從 而完成對(duì)二維條碼信息的讀入、顯示和保存功能的設(shè)定。 ,通過(guò)調(diào)用該方法,就 可以關(guān)閉掃描器,該方法將在掃描器結(jié)束掃描,用戶(hù)退出應(yīng)用子程序時(shí)被調(diào)用,用以關(guān)閉掃描器。應(yīng)用程序只有在掃描器打開(kāi)的情況下,才能調(diào)用掃描器進(jìn)行掃描。參數(shù): TRUE,正在使用;FALSE,不允許使用 與本系統(tǒng)相關(guān)的 條碼控件 ScanControl 的方法有: ,進(jìn)行掃描。具有兩個(gè)參數(shù): True,可用; False,不可用 PDF417 碼的可讀性。 雖然條碼控件 ScanControl 擁有很多屬性、方法和事件,但在本系統(tǒng)開(kāi)發(fā)過(guò)程中,不用對(duì)它的每一屬性和方法都進(jìn)行調(diào)用,也不用對(duì)它的響應(yīng)事件進(jìn)行一一編程;只需對(duì)與系統(tǒng)相關(guān)的某些屬性和方法進(jìn)行調(diào)用,及對(duì)與系統(tǒng)相關(guān)的事件進(jìn)行編程即可。 條碼控件 ScanControl 擁有很多屬性、方法和事件。 安裝完本接口程序后, eVB 的組件框里就自動(dòng)生成一個(gè)二維條碼控件,通過(guò)對(duì)組件框里二維條碼控件的選定后, eVB編程窗口的工具箱上就出現(xiàn)了一個(gè)二維條碼控件 ScanControl。所以在程序設(shè)計(jì)的起初,并沒(méi)有控件能夠直接響應(yīng)二維條碼掃描器的掃描事件,也就是無(wú)法通過(guò)應(yīng)用程序來(lái)實(shí)現(xiàn)對(duì)二維條碼掃描器的調(diào)用。所以整個(gè)程序設(shè)計(jì)的關(guān)鍵問(wèn)題,就是如何很好的將二維條碼中的數(shù)據(jù)讀出來(lái)。之所以選擇 eVB 作為本系統(tǒng)的編程語(yǔ)言,是因?yàn)?eVB 具有 Visual Basic 的基本功能,是專(zhuān)門(mén)用于設(shè)計(jì) PDA 應(yīng)用程序的語(yǔ)言, eVB 還可以用很簡(jiǎn)潔的程序代碼說(shuō)明復(fù)雜的程序運(yùn)行原理,同時(shí)它還支持很多平臺(tái)(如 PalmSize PC、 HandheldPC/Pro、PocketPC、 PocketPC2020 及 HandheldPC2020 等)。 系統(tǒng)采用的軟件開(kāi)發(fā)工具 由于本系統(tǒng)主要是運(yùn)用在條碼掃描器 PDA 上,所以對(duì)于編程軟件工具的選用,必須使得編成的軟件能夠在 PDA 上面使用,所以要求必須選用 PDA 專(zhuān)用的編程軟件,即基于 WinCE. NET 操作系統(tǒng)的編程軟件,基于以上的種種要求,本系統(tǒng)采用了專(zhuān)門(mén)用于開(kāi)發(fā) PDA 應(yīng)用程序的 eMbedded Visual Basic 軟件開(kāi)發(fā)工具。也就是說(shuō)不會(huì)發(fā)生在維護(hù)時(shí)牽一發(fā)而動(dòng)全身 的連鎖反應(yīng)。同時(shí),二維條碼內(nèi)的信息都是按固定的格式存儲(chǔ)的,且條碼信息的各個(gè)信息項(xiàng)都擁有固定的長(zhǎng)度和存儲(chǔ)位置,所以在數(shù)據(jù)采集方面也擁有很好的規(guī)范性。 3. 規(guī)范性 規(guī)范性即系統(tǒng)的劃分、書(shū)寫(xiě)的格式、變量的命名等都按統(tǒng)一規(guī)范,這對(duì)于今后程序的閱讀、修改和維護(hù)都是十分必要的。本著從用戶(hù)角度考慮,本系統(tǒng)采用的二維條碼中已經(jīng)包含了器材絕大部分的信息,使得用戶(hù)通過(guò)掃描器材上的二維條碼即可獲得器材的基本信息,需要用戶(hù)輸入的信息數(shù)據(jù)很少,這樣用戶(hù)在操作上就十分方便,只需輕輕按一下掃描器 PDA 上的掃描鍵,再輸入器材的數(shù)