-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
299 additions
and
128 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
namespace EventMapHpViewer.Models.Settings | ||
{ | ||
public class TpSetting: Livet.NotificationObject | ||
{ | ||
public int TypeId { get; set; } | ||
public string TypeName { get; set; } | ||
|
||
public int Id { get; set; } | ||
public int SortId { get; set; } | ||
public string Name { get; set; } | ||
|
||
private decimal _Tp; | ||
public decimal Tp | ||
{ | ||
get => this._Tp; | ||
set | ||
{ | ||
if (this._Tp == value) | ||
return; | ||
this._Tp = value; | ||
this.RaisePropertyChanged(); | ||
} | ||
} | ||
|
||
public TpSetting() { } | ||
|
||
public TpSetting(int id, int sortId, string name, decimal tp = 0, int typeId = 0, string typeName = "") | ||
{ | ||
this.Id = id; | ||
this.SortId = sortId; | ||
this.Name = name; | ||
this.Tp = tp; | ||
this.TypeId = typeId; | ||
this.TypeName = typeName; | ||
} | ||
} | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.