小區(qū)物業(yè)管理系統(tǒng)正文大學(xué)學(xué)位論文_第1頁(yè)
小區(qū)物業(yè)管理系統(tǒng)正文大學(xué)學(xué)位論文_第2頁(yè)
小區(qū)物業(yè)管理系統(tǒng)正文大學(xué)學(xué)位論文_第3頁(yè)
小區(qū)物業(yè)管理系統(tǒng)正文大學(xué)學(xué)位論文_第4頁(yè)
小區(qū)物業(yè)管理系統(tǒng)正文大學(xué)學(xué)位論文_第5頁(yè)
已閱讀5頁(yè),還剩17頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

畢業(yè)設(shè)計(jì)用紙摘要對(duì)于小區(qū)物業(yè)管理來(lái)說(shuō),其工作流程的繁雜性、多樣化、管理復(fù)雜、收繳費(fèi)用與設(shè)備維護(hù)繁瑣。計(jì)算機(jī)已完全能夠勝任物業(yè)管理工作,而且更加準(zhǔn)確、方便、快捷、高效、清晰、透明,它完全可以克服以上所述的不足之處。這將給項(xiàng)目查詢和管理帶來(lái)很大的方便,從而給物業(yè)管理工作帶來(lái)更高的效率,這也是物業(yè)管理正規(guī)化、現(xiàn)代化的重要標(biāo)志。

因此,開(kāi)發(fā)一套高效率、無(wú)差錯(cuò)的小區(qū)物業(yè)管理系統(tǒng)軟件十分必要。本系統(tǒng)的主要目的是告別帳本,安全、快捷的保存數(shù)據(jù)信息。由于小區(qū)物業(yè)管理涉及到費(fèi)用問(wèn)題,為了增強(qiáng)系統(tǒng)的保密性,使業(yè)主利益不受損害,使業(yè)主能夠?qū)ψ约业奈飿I(yè)費(fèi)用和投訴等情況提供透明化、直觀的了解。關(guān)鍵詞:,sqlserver,C#,小區(qū)物業(yè)

AbstractAs

for

the

plot

estate

management

that,

its

work

flow

numerous

and

diverse,

the

diversification,

the

management

complex,

capture

the

expense

and

the

maintenance

of

equipment

is

tedious.

The

computer

could

definitely

be

competent

the

estate

management

work,

moreover

more

accurate,

convenient,

quick,

highly

effective,

clear,

is

transparent

above,

it

definitely

may

overcome

the

deficiency

which

states.

This

will

give

the

project

inquiry

and

the

management

brings

very

big

convenient,

thus

will

bring

a

higher

efficiency

for

the

estate

management

work,

this

also

will

be

the

estate

management

standardization,

the

modernized

important

symbol.

Therefore,

develops

set

of

high

efficiency,

the

non-

mistake

plot

estate

management

system

softwares

is

extremely

essential.

This

system

main

goal

is

says

goodbye

to

the

account

book,

the

security,

the

quick

preservation

data

message.

Because

the

plot

estate

management

involves

to

the

expense

question,

in

order

to

strengthen

the

system

the

secrecy,

causes

the

owner

benefit

not

to

receive

harms,

enables

the

owner

to

situation

and

so

on

oneself

property

expense

and

suit

provides,

the

direct-viewing

understanding.Keywords:,sqlserver,C#

目錄TOC\o"1-3"\h\u第一章緒論 ①Jump:在每一幀的update()方法中檢測(cè)是否有點(diǎn)擊事件觸發(fā)。有,則觸發(fā)Jump;沒(méi)有繼續(xù)奔跑動(dòng)畫(huà)。而Jump則是通過(guò)cocos2dx中的Box2d,賦予物體向上的速度實(shí)現(xiàn)。②Share:Share的功能是通過(guò)ShareSDK的集成實(shí)現(xiàn),只需要將ShareSDK集成至游戲中,并在游戲結(jié)束時(shí)實(shí)例調(diào)用即可。③計(jì)時(shí):計(jì)時(shí)相對(duì)簡(jiǎn)單,只需要一直獲得每一幀的系統(tǒng)時(shí)間,并同時(shí)計(jì)算差值的和并可以得到游戲時(shí)間。

第五章系統(tǒng)實(shí)現(xiàn)5.1開(kāi)始場(chǎng)景開(kāi)始場(chǎng)景是玩家進(jìn)入游戲的地方:Scene*gameBegin::createWelcome(){ autobeginScene=Scene::create(); autowelcomeLayer=foreGround::create(); autobackLayer=backGround::create(Color4B(255,255,255,255));/*因?yàn)楸尘爸辉O(shè)置了顏色,就沒(méi)有單獨(dú)初始化*/ autoplayLayer=playGround::create(); beginScene->addChild(welcomeLayer,50); beginScene->addChild(backLayer,-20); beginScene->addChild(playLayer,0); returnbeginScene;}//用于創(chuàng)建場(chǎng)景boolforeGround::init(){if(!Layer::init()){returnfalse;} SizescrSize=Director::sharedDirector()->getWinSize();SizevisibleSize=Director::getInstance()->getVisibleSize();Vec2origin=Director::getInstance()->getVisibleOrigin();autocloseItem=MenuItemImage::create("blackblade/my_Scene/Close_Down.png","blackblade/my_Scene/Close_Select.png", CC_CALLBACK_1(foreGround::menuCloseCallback,this)); closeItem->setPosition(Vec2(origin.x+visibleSize.width-closeItem->getContentSize().width/2,origin.y+visibleSize.height-closeItem->getContentSize().height/2)); autobeginLabel=Label::createWithSystemFont("StartGame","Altas",34); beginLabel->setTextColor(Color4B(0,0,0,255)); autobeginItem=MenuItemLabel::create(beginLabel,CC_CALLBACK_1(foreGround::menuBeginCallback,this)); beginItem->setPosition(Vec2(origin.x+visibleSize.width*3.0/4.0,origin.y+visibleSize.height*0.5)); automenu=Menu::create(closeItem,beginItem,NULL);menu->setPosition(Vec2::ZERO);this->addChild(menu,1); log("addLayer:foreGroundSuccessly");returntrue;}//foregroundLayer的初始化boolplayGround::init(){ if(!Layer::init()) { returnfalse; } log("AddLayer:playGroundsuccessly!"); SizescrSize=Director::sharedDirector()->getWinSize(); SizevisibleSize=Director::getInstance()->getVisibleSize(); Vec2origin=Director::getInstance()->getVisibleOrigin(); Sprite*animationRun=runSprite::getRun(); animationRun->setAnchorPoint(Vec2(0,1)); SizegetRunSpSize=animationRun->getContentSize(); log("animationSpritewidth:%f,animationSpriteheigh:%f",getRunSpSize.width,getRunSpSize.height); animationRun->setPosition(Vec2(origin.x+getRunSpSize.width,origin.y+getRunSpSize.height));/* autospriteTest=Sprite::create("blackblade/Running/man_move1.png"); spriteTest->setPosition(origin.x+visibleSize.width/2,origin.y+visibleSize.height/2); this->addChild(spriteTest);*/ this->addChild(animationRun); returntrue;}//playgroundLayer的初始化三個(gè)場(chǎng)景的基本設(shè)置一樣故不一一贅述。5.2進(jìn)行場(chǎng)景GameControl*GameControl::create(Layer*layer,floatpositionY){ autoinitCon=newGameControl(); initCon->init(layer,positionY); initCon->autorelease(); returninitCon;}boolGameControl::init(Layer*layer,floatpositionY){ m_layer=layer; m_positionY=positionY; m_visibleSize=Director::getInstance()->getVisibleSize(); //addedge autoedge=Edge::create(); edge->setPosition(m_visibleSize.width/2,m_visibleSize.height/2+positionY); layer->addChild(edge); //addground autoground=Sprite::create(); ground->setColor(Color3B(0,0,0)); ground->setTextureRect(Rect(0,0,m_visibleSize.width,6)); ground->setPositionY(3+positionY); layer->addChild(ground); //addfireman autofireman=Fireman::create(); fireman->setPosition(50,fireman->getContentSize().height/2+positionY); layer->addChild(fireman); returntrue;}//進(jìn)行時(shí)場(chǎng)景voidGameControl::OnUpdate(floatdt){ currectIndex++; if(currectIndex>=nextIndex) { reset(); addBlock(); }}//每一幀中調(diào)用障礙生成并設(shè)置下一個(gè)障礙物的出現(xiàn)距離voidGameControl::reset(){ currectIndex=0; nextIndex=(rand()%120)+60;}//設(shè)置障礙物的生成間隔voidGameControl::addBlock(){ autoblock=Block::create(); m_layer->addChild(block); block->setPositionY(block->getContentSize().height/2+m_positionY);}//添加障礙物//以上為游戲控制器調(diào)用,控制游戲中跑步角色的生成以及障礙物的生成5.3結(jié)束游戲結(jié)束游戲分為了兩個(gè)連續(xù)的部分,首先是碰撞檢測(cè):voidGameScene::detectionCrash(){CCArray*bulletsToDelete=CCArray::create();bulletsToDelete->retain(); CCObject*bt,*et;CCArray*enemyToDelete=CCArray::create();enemyToDelete->retain();CCRectrectHero=this->heroLayer->getHero()->boundingBox();floatx=rectHero.origin.x+rectHero.size.width*0.3;floaty=rectHero.origin.y+rectHero.size.height*0.4;floatwidth=rectHero.size.width*0.3;floatheight=rectHero.size.height*0.6;CCRectrect_HeroForCrash=CCRectMake(x,y,width,height);//檢測(cè)CCARRAY_FOREACH(this->enemyLayer->m_enemys,et){//break;Enemy*enemy=(Enemy*)et;if(enemy->getLife()==0){break;}//CCPointrect1=this->heroLayer->getHero()->getPosition();if(enemy->boundingBox().intersectsRect(rect_HeroForCrash)){this->heroLayer->setIsHeroLive(false);this->heroLayer->setHeroLifes(this->heroLayer->getHeroLifes()-1);enemyLayer->stopTakeEnemy();enemyLayer->bomb(enemy);enemyLayer->removeAllEnmeys();SimpleAudioEngine::sharedEngine()->pauseBackgroundMusic();inttempHightScore=GameScene::getHightestScore();if(this->m_totalScore>tempHightScore){GameScene::saveHightestScore(this->m_totalScore);}charlife[64];sprintf(life,"%d",this->heroLayer->getHeroLifes());CCLabelTTF*lbLife=(CCLabelTTF*)this->getChildByTag(tagOfLife);lbLife->setString(life);this->heroLayer->heroBomb(0.1f);if(this->heroLayer->getHeroLifes()==0){this->scheduleOnce(schedule_selector(GameScene::gameOverCallback),2.0f);}else{this->scheduleOnce(schedule_selector(GameScene::newLife),2.0f);}return;}}CCARRAY_FOREACH(this->heroLayer->getBullets()->m_bullets,bt){CCSprite*bullet=(CCSprite*)bt;CCARRAY_FOREACH(this->enemyLayer->m_enemys,et){Enemy*enemy3=(Enemy*)et;if(enemy3->boundingBox().intersectsRect(bullet->boundingBox())){if(enemy3->getLife()>1){enemy3->loseLife();bulletsToDelete->addObject(bullet);}elseif(enemy3->getLife()==1){enemy3->loseLife();bulletsToDelete->addObject(bullet);enemyToDelete->addObject(enemy3);this->m_totalScore+=enemy3->getScore();charstr1[20];sprintf(str1,"%d",(int)this->m_totalScore);CCLabelTTF*label1=(CCLabelTTF*)this->getChildByTag(tagOfScore);label1->setString(str1);}}}}//檢測(cè)是否相撞在完成了得到檢測(cè)之后,回調(diào)gameover,并創(chuàng)建gameover場(chǎng)景boolGameOver::init(){ LayerColor::create(); initWithColor(Color4B::WHITE); autooverLabel=Label::create(); overLabel->setString("GameOver!"); overLabel->setSystemFontSize(60); overLabel->setTextColor(Color4B::BLACK); this->addChild(overLabel); returntrue;}Scene*GameOver::createScene(){ autoOverscene=Scene::create(); autoOverlayer=GameOver::create(); Overscene->addChild(Overlayer); returnOverscene;}5.3Jump的實(shí)現(xiàn)voidGameCtrl::onUserTouch(){ hero->getPhysicsBody()->setVelocity(Vec2(0,400));}將火柴人做個(gè)剛體,賦予一個(gè)向上的速度即可實(shí)現(xiàn)jump.5.4隨機(jī)障礙的實(shí)現(xiàn)以及銷毀boolBlock::init(){ Sprite::init(); SizewinSize=Director::getInstance()->getVisibleSize(); setPositionX(winSize.width); setColor(Color3B(0,0,0)); Sizesize=Size((rand()%20)+5,(rand()%30)+10); setContentSize(size); setTextureRect(Rect(0,0,size.width,size.height)); setPhysicsBody(PhysicsBody::createBox(size)); getPhysicsBody()->setDynamic(false); getPhysicsBody()->setContactTestBitmask(1); scheduleUpdate(); returntrue;}//黑色障礙的隨機(jī)生成voidBlock::update(floattime){ this->setPositionX(getPositionX()-5); if(getPositionX()<0) { unscheduleUpdate(); removeFromParent(); }}//障礙物的銷毀

總結(jié)這次畢業(yè)設(shè)計(jì),是對(duì)我三年所學(xué)知識(shí)的重新溫習(xí),我認(rèn)識(shí)到了自身有很多不足。這次畢業(yè)設(shè)計(jì)的難點(diǎn)在游戲框架設(shè)計(jì)以

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論