200 likes | 263 Views
Mesh Enabling sobees Demo. Jean-Pierre Rey, Professor HES, jpierre.rey@hevs.ch Alain Duc, scientific collaborator , alain.duc@hevs.ch Academic TechDays , Geneva, Bern, April 2009. Live Framework Client. VPC: mesh@sobees.com. Laptop: mesh@sobees.com. MeshAppPOC Startup.
E N D
MeshEnablingsobeesDemo Jean-Pierre Rey, Professor HES, jpierre.rey@hevs.ch Alain Duc, scientificcollaborator, alain.duc@hevs.ch AcademicTechDays, Geneva, Bern, April 2009
Live Framework Client • VPC: mesh@sobees.com • Laptop: mesh@sobees.com
MeshAppPOC Startup • VPC: MeshAppPOC Startup • Laptop: MeshAppPOC Startup
Connection to Cloud LOE • VPC: MeshAppPOC Startup • Laptop: MeshAppPOC Connect to Cloud LOE
Profile • VPC: MeshAppPOC Startup • Laptop: MeshAppPOC Connected to Cloud LOE
MeshObject • VPC: MeshAppPOC Startup • Laptop: MeshAppPOC Create MeshObject
Connect to Local LOE • VPC: MeshAppPOC Connect to Local LOE and wait for MeshObject • Laptop: MeshAppPOC Connect to Local LOE and wait for MeshObject
Local LOE ready • VPC: MeshAppPOC Connected to Local LOE and MeshObject ready • Laptop: MeshAppPOC Connected to Local LOE and MeshObject ready
DataEntries • VPC: MeshAppPOC Get DataEntries • Laptop: MeshAppPOC Get DataEntries
Add images • VPC: MeshAppPOC Wait for Images • Laptop: MeshAppPOC Drag&Drop Images
Synchronization • VPC: MeshAppPOC Images are synchronized • Laptop: MeshAppPOC
Delete image • VPC: MeshAppPOCDelete an image • Laptop: MeshAppPOCWait for image to bedeleted
Synchronization • VPC: MeshAppPOC • Laptop: MeshAppPOC Image is deleted
Sharing MeshObject • Receive invitation • Laptop: MeshAppPOC Share MeshObject
Login on Live Mesh • Login on Live Mesh • Laptop: MeshAppPOC
Accept invitation • Accept invitation • Laptop: MeshAppPOC
MeshAppPOC • VPC: MeshAppPOC • Laptop: MeshAppPOC
CreateMeshObject / Data • //CreateMeshObject • meshObject = new MeshObject(MESHOBJECT); • //Addit to collection • loe.Mesh.MeshObjects.Add(refmeshObject); • //CreateDataFeed • dataFeed = new DataFeed(DATAFEED); • //Addit to collection • meshObject.DataFeeds.Add(refdataFeed); • //Mappings • foreach (MeshDevicedevice in loe.Mesh.Devices.Entries) • { • Mappingmap = new Mapping(); • map.Device = device; • meshObject.Mappings.Add(refmap); • }
Notifications • //Set a handlertracking if MeshObjects collection changes • loe.Mesh.MeshObjects.ChangeNotificationReceived += new EventHandler(MeshObjects_ChangeNotificationReceived); • //Set a handlertracking if DataEntries collection changes • dataFeed.DataEntries.ChangeNotificationReceived += new EventHandler(DataEntries_ChangeNotificationReceived);