Snippet Management System

Silverlight 2 Controls

TMS

I have just released a new Silverlight 2 Web Site, for TMS, which uses the following controls:

Carousel control
A while back I wrote a post about upgrading a Carousel control to Silverlight version 2 beta 2 . Now it is a Silverlight version 2 control.
Carousel

Download Carousel Source Code

Menu control
A black gradient dropdown top menu.

Menu

Download Silverlight Menu Source Code

Driving Simulator

DrivingSimulator

Live Demo!

Synchronize Google Maps and Microsoft Virtual Earth Maps

Download Source Code

iEnergis

image

 

Source Code Here

http://www.codeplex.com/iEnergis


Project Description

Reducing the energy needs of buildings plays a key role in achieving climate protection goals worldwide. The biggest potential for savings is in the consumption of heating energy. The latter currently accounts for about a third of our total energy requirement. In commercial buildings and other purpose-built structures the lighting is also an important factor, responsible for some 20% of overall power consumption in this sector. In addition to protection of the environment, there are also sound economic reasons that compel us to act. This applies in particular to public buildings such as schools and universities, whose escalating operating and energy costs make a big dent in the budgets of communities and states.
Just like we humans depend on our mind and perception, intelligent green buildings need a complete and intelligent system (iENERGIS) that makes decisions depending on the energy consumption.In addition, the iENERGIS application provides remote monitoring and control of the electrical appliances in a building. Through our web site every user can send his data to our live database, and so, with the use of virtual earth, we can monitor the energy consumption in a whole area. These could be used from environmental organisations and energy companies so that to optimize the energy supply in an area and to export statistical data.
image

Project Goals

•Energy savings with lighting control
•Energy savings with temperature control
•Energy savings by controlling the rest of the electric devices
•Energy savings by implementing building automation scenarios
•Energy savings with motion detector control
•Remote monitor and control of the house
•Real time monitoring of the energy consumption in whole areas
•Statistical analysis of the data provided by the users

Project Requirements

  • Visual Studio 2008
  • Microsoft .Net Framework 3.5
  • Windows Mobile Pro 6 SDK

http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

  • Silverlight 2

http://www.microsoft.com/downloads/details.aspx?FamilyID=e0bae58e-9c0b-4090-a1db-f134d9f095fd&displaylang=en

  • Microsoft SQL Server Compact 3.5 SP1

http://www.microsoft.com/downloads/details.aspx?FamilyId=68539FAE-CF03-4C3B-AEDA-769CC205FE5F&displaylang=en

  • ADO.NET Entity Framework Beta 3 & ADO.Net Entity Framework Tools Dec 07 Community Technology Preview

http://www.microsoft.com/downloads/details.aspx?FamilyId=15DB9989-1621-444D-9B18-D1A04A21B519&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyId=D8AE4404-8E05-41FC-94C8-C73D9E238F82&displaylang=en

iEnergis Architecture

image

Application Components

iENERGIS application can be divided into four distinct, yet integrated, modules:
iENERGIS PC Application
The iENERGIS PC Application serves as the control system of the iENERGIS application for the specific house. The PC application communicates, via RS-232 serial port, with the CM11 or Z-Wave Controller. Using Microsoft Virtual Earth, a certain household can be located and, then, saved in the application database. Next, the user can determine the zones of the house, filling the information concerning its name and id which must match the zone id of every plug end in the specific zone. Finally, in each zone the user can add a plug by filling the information concerning its name, power consumption in watts and id which must match the plug id of the specific plug end. The aforementioned information is, then, saved in the database. Another feature of the PC Application is the real-time monitoring of the household. The user can view the total power consumption of the household and also, partially, the consumption of every zone and every unique plug. Apart from monitoring the system, the user can intervene by turning on and off a specific plug.
image
image
image
iENERGIS Mobile Application
The iENERGIS Mobile Application can be used for monitoring and controlling the power consumption of the household. The user can view the total power consumption of the household and also, partially, the consumption of every zone and every unique plug. Apart from monitoring the system, the user can intervene by turning on and off a specific plug.
image
iENERGIS Server Application
The iENERGIS server is composed of an IIS Web Server hosting Web Services for the exchange of the aforementioned data between the server, the Mobile Application and the Website
iENERGIS Website
The iENERGIS Website support multiple households per user. To explain, each user can have several households manipulated by the iENERGIS application, each one using its own iENERGIS PC Application. Using Microsoft Virtual Earth the user, after logging to the system, can view all his households in the map. In addition, the user can view the total power consumption of a specific household and also, partially, the consumption of every zone and every unique plug. Apart from monitoring the system, the user can intervene by turning on and off a specific plug. In addition, via Microsoft Virtual Earth, the user can view in real time the power consumption in the surrounding area.
image
image
image

Technologies

Servers: IIS, Microsoft SQL Server 2005 Developer Edition, Microsoft SQL Server 2005 Compact Edition SP1
Development Tools: Microsoft Visual Studio 2008 Team Suite
Other Technologies: .NET Compact Framework 3.5, Windows Mobile SDK 6.0, Windows Vista Ultimate, Microsoft Silverlight 2.0, Microsoft Expression Studio 2, ASP.NET, VB.NET, C#, WCF, WPF, ADO.NET Entity Framework, Microsoft Virtual Earth
Hardware: X10 Protocol, CM11 Serial RS-232 Controller, X10 Appliances, Z-Wave
SDK, Dell Axim 51V.

Further Improvements

The iENERGIS PC Application will be modified in order to support real-time statistics of the power consumption of the house, specific zone or specific plug for a specific time period and presenting them with charts. In addition, the algorithm that makes energy-efficient decisions will be optimized using fuzzy logic decisions and sending user notifications via SMS and e-mail. Finally, the energy-efficient decisions can be altered by some additional web services, i.e. a weather service can affect the heating or cooling system.

"Fuzzy Logic Decisions and Web Services for a Personalized GIS" @ SpringerLink

My work

Fuzzy Logic Decisions and Web Services for a Personalized Geographical Information System

published in New Directions in Intelligent Interactive Multimedia of Studies in Computational Intelligence. You can view my paper at: http://dx.doi.org/10.1007/978-3-540-68127-4_45
(you may need to copy and paste the URL into your browser).

Virtual Earth & Silverlight 2 Beta 2

Combine Virtual Earth and Silverlight into one Project.

Subjects:
Load VE Map in a html page.
Create/Edit a Simple Silverlight Control.
Use Expression Blend for editing templates and styles.
Communication between Javascript and Silverlight.
Basic functions in Virtual Earth

image

Download Source Code

Read the rest of this entry »

Upgrade Jaime Rodriguez Carousel control to Silverlight 2 Beta 2

Jaime Rodriguez has developed a Carousel Control for Silverlight Version 2 Beta 1. The source and the control sample is available at Jaime’s Blog:
http://blogs.msdn.com/jaimer/archive/2008/03/17/a-carousel-control-in-silverlight-2.aspx

image

I  upgraded it for Silverlight 2 Beta 2.
Download Carousel control for Silverlight 2 Beta 2 and a demonstration application

Thank you Jaime Rodriguez.
Read the rest of this entry »

WPF Application for searching movies in Imdb

Fuzzy Logic Decisions and Web Services for a Personalized Geographical Information System

Abstract.
This article describes a software navigation system which will provide location based services in a personalized way taking into account the preferences and the interests of each user. The system is called Smart Earth and it combines the geographical position of users with the behavior, actions and their profile so as to provide services of added value in the user. The technology of web
services is used to provide location based services. The use of web services constitutes an alternative way in the growth of navigation systems. The personalization mechanism is based on fuzzy logic decisions.

Keywords.
Personalization, location-based services, fuzzy logic, fuzzy decisions , web services, user modeling, GPS, GIS, navigation

Download Paper
Download Presentation

Chain Game in C++

Source Code in C++
Read the rest of this entry »

Combinatory Logic Program

 
Source Code in C

Read the rest of this entry »

Binary Search

 
Source Code in C

Read the rest of this entry »

Linear Search

 
Source Code in C

Read the rest of this entry »

Merge - Sort

A merge sort algorithm used to sort an array o...Image via Wikipedia
Source Code in C

Read the rest of this entry »

Merge 2 Arrays