AppActs.API.Model.Device.DeviceLocation.DeviceLocation C# (CSharp) Method

DeviceLocation() public method

public DeviceLocation ( NameValueCollection keyValues ) : System
keyValues System.Collections.Specialized.NameValueCollection
return System
        public DeviceLocation(NameValueCollection keyValues)
        {
            this.DeviceId = new Guid(keyValues[Keys.DEVICE_GUID]);
            this.Longitude = decimal.Parse(keyValues[Keys.LOCATION_LONGITUDE]);
            this.Latitude = decimal.Parse(keyValues[Keys.LOCATION_LATITUDE]);
            this.Status = ProcessStatusType.Pending;
            this.AreaInformationType = AreaInformationType.Coordinates;
            this.DateCreated = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
        }

Same methods

DeviceLocation::DeviceLocation ( ) : System
DeviceLocation