geolocation
This commit is contained in:
parent
43d3231ccf
commit
9940b5a4ca
8 changed files with 81 additions and 40 deletions
27
ZicMoove/ZicMoove/Model/Auth/GCRegIdDeclaration.cs
Normal file
27
ZicMoove/ZicMoove/Model/Auth/GCRegIdDeclaration.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yavsc.Models.Identity;
|
||||
|
||||
namespace ZicMoove.Model.Auth
|
||||
{
|
||||
public class GCMRegIdDeclaration : IGCMDeclaration
|
||||
{
|
||||
public string DeviceId
|
||||
{ get; set; }
|
||||
|
||||
public string GCMRegistrationId
|
||||
{ get; set; }
|
||||
|
||||
public string Model
|
||||
{ get; set; }
|
||||
|
||||
public string Platform
|
||||
{ get; set; }
|
||||
|
||||
public string Version
|
||||
{ get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -12,10 +12,19 @@ namespace ZicMoove.Model.Social
|
|||
/// </summary>
|
||||
public class Position
|
||||
{
|
||||
public Position()
|
||||
{
|
||||
}
|
||||
|
||||
public Position(double lat, double lon)
|
||||
{
|
||||
Latitude = lat;
|
||||
Longitude = lon;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The longitude.
|
||||
/// </summary>
|
||||
|
||||
public double Longitude { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue