• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

microsoft/SmartHotel360-Mobile: SmartHotel360 Mobile

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

microsoft/SmartHotel360-Mobile

开源软件地址(OpenSource Url):

https://github.com/microsoft/SmartHotel360-Mobile

开源编程语言(OpenSource Language):

C# 99.2%

开源软件介绍(OpenSource Introduction):

This project is retired, archived, and no longer supported. You are welcome to continue to use and fork the repository.

For the latest sample references visit: https://aka.ms/tailwindtraders & https://aka.ms/rpsls

SmartHotel360

During our Connect(); 2017 event this year we presented beautiful app demos using Xamarin.

We are happy to announce the release of SmartHotel360. This release intends to share a simplified version of SmartHotel360 reference sample apps used at Connect(); 2017 Keynotes. If you missed it, you can watch Scott Guthrie’s Keynote: Journey to the Intelligent Cloud in Channel 9.

SmartHotel360 Repos

For this reference app scenario, we built several consumer and line-of-business apps and an Azure backend. You can find all SmartHotel360 repos in the following locations:

Note: This document is about the apps using Xamarin.

Mobile and desktop apps we built for this reference sample include:

SmartHotel360 Mobile and Desktop Apps

Travelers are always on the go, so SmartHotel360 offers a beautiful fully-native cross-device mobile app for guests and business travelers built with Xamarin. In this app guests and business travelers can book rooms and smart conference rooms as well as customize room temperature and lighting settings. The mobile app is available in iOS, Android, and Windows.

We also built a desktop app. This is a version of the SmartHotel360 Xamarin app. With this app, travelers can adjust the temperature and lighting settings of their rooms and find nearby recommended places to go, like coffee shops. All based on deeply personalized preferences.

SmartHotel360 Maintenance App

For hotel managers and maintenance crew, we built a maintenance iOS app and used Xamarin Forms embedded. This is a great way to showcase how companies can modernize existing line-of-business apps with Xamarin. In this app, hotel managers and maintenance crew can get notifications of issues and resolve those directly from their mobile app.

SmartHotel360 NFC

Travelers need quick access to their rooms. What if we can provide an automated way to have them go straight to their room when they get to the hotel? We used the power of mobile development with Android and NFC to provide this experience. We included NFC access from the SmartHotel360 traveler application and we also created a digital door application to check-in and open your room. All you need is to tap your phone on the digital door. No need to get a key from the lobby.

Projects

There are three different solutions:

  • SmartHotel: Main project developed with Xamarin.Forms.
  • SmartHotel Maintenance: Xamarin.iOS Application that allows the maintenance of the hotel. It makes use of Xamarin.Forms Native Forms.
  • SmartHotel NFC: Unlock door using NFC.

Supported Platforms: iOS, Android, and Windows

The SmartHotel app is available for three platforms:

  • iOS
  • Android
  • Universal Windows Platform (UWP)

The SmartHotel Maintenance app is available only for iOS.

Xamarin.Forms App (SmartHotel360)

Xamarin.Forms enables you to build native UIs for iOS, Android, macOS, Linux, and Windows from a single, shared codebase. You can dive into app development with Xamarin.Forms by following our free self-guided learning from Xamarin University. This project exercises the following patterns and features:

  • Xamarin.Forms
  • XAML UI
  • Converters
  • Custom Controls
  • Custom Renderers
  • Data Binding
  • Effects
  • Behaviors
  • Custom Markup Extensions
  • IoC
  • Messaging Center
  • MVVM
  • Plugins for Xamarin
  • Styles
  • Phone and Tablet Layout
  • Localization
  • CSS
  • VisualStateManager
  • FlexLayout
  • Xamarin UITests
  • Xamarin.Forms Native Forms
  • Xamarin Live Player
  • .NET Standard 2.0

Screens

SmartHotel360 Mobile Apps

SmartHotel360 Maintenance

SmartHotel360 NFC

Sample endpoints

You can find the list of the sample endpoints in the following link: (http://sh360services-public.eastus2.cloudapp.azure.com/configuration-api/cfg/public-http). To change the endpoints you can modifiy the AppSettings.cs file in the SmartHotel.Clients project under the Shared Code folder:

Requirements

Demo Scripts

There is a detailed step-by-step demo script in the demoscripts folder of this repo that you can use in your own presentations.

IoT Demo

  1. In order to have live data working and enable room controls you must setup the IoT Demo Backend
  2. Get roomDevicesApiEndpoint from the userSettings.json file, generated when setting up the IoT Demo in #1, and change the value of defaultRoomDevicesEndpoint in AppSettings.cs.
  3. Get demoRoomSpaceId from the userSettings.json file, generated when setting up the IoT Demo in #1, and change the value of defaultRoomId in AppSettings.cs.
  4. Ensure that the property defaultUseFakes = false in AppSettings.cs

Licenses

This project uses some third-party assets with a license that requires attribution:

Code of Conduct

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap