Created
February 13, 2016 19:51
-
-
Save snapptop/db5383b333dca4fb0558 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Site Type | |
public virtual SiteType _siteType { get; set; } | |
public virtual string _siteTypeName { get; set; } | |
[DataMember(Name = "stn")] | |
public virtual string SiteTypeName { | |
//set the person name | |
set { this._siteTypeName = value; this._siteType = EnumUtility.GetEnumValueFromDescription<SiteType>(value); } | |
//get the person name | |
get { return this._siteTypeName; } | |
} | |
[DataMember(Name = "st")] | |
public virtual SiteType SiteType | |
{ | |
//set the person name | |
set { this._siteType = value; this._siteTypeName = EnumUtility.GetDescriptionAttribute(value); } | |
//get the person name | |
get { return this._siteType; } | |
} | |
//Device Type | |
public virtual DeviceType _deviceType { get; set; } | |
public virtual string _deviceTypeName { get; set; } | |
[DataMember(Name = "dtn")] | |
public virtual string DeviceTypeName | |
{ | |
//set the person name | |
set { this._deviceTypeName = value; this._deviceType = EnumUtility.GetEnumValueFromDescription<DeviceType>(value); } | |
//get the person name | |
get { return this._deviceTypeName; } | |
} | |
[DataMember(Name = "dt")] | |
public virtual DeviceType DeviceType | |
{ | |
//set the person name | |
set { this._deviceType = value; this._deviceTypeName = EnumUtility.GetDescriptionAttribute(value); } | |
//get the person name | |
get { return this._deviceType; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment