![]() |
Halyri - Häke
0.9.1
|
Assigment listboxitem that contains many properties like handlers, location, time, state, priority, pushpins, assigment info and street name. It sets content and background depending state and priority and if there is location available. More...
Public Types | |
enum | priorities { priorities.NotUrgent = 0, priorities.Urgent = 1 } |
enum | States { States.New = 0, States.InProgress = 1, States.InTransfer = 2, States.Finalized = 3, States.Hold = 4 } |
Public Member Functions | |
Assignment (String guid, DateTime time, priorities priority, States state, LocationInformationDto location) | |
Initializes Assigment: sets state, priority, time, location, assimentinfo, sets backgroundcolor and content. These are essential for assignment More... | |
Assignment (String guid, DateTime time, priorities priority, States state) | |
Constructor without location. More... | |
Static Public Attributes | |
static readonly DependencyProperty | IsHandlerProperty |
Properties | |
String | EmergencyType [get, set] |
ObservableCollection < TextMessageDto > | TextMessages [get, set] |
PersonalInformationDto | PersonalInfo [get, set] |
priorities | Priority [get, set] |
String | Guid [get, set] |
DateTime | Time [get, set] |
bool | NoSound [get, set] |
States | State [get, set] |
Sets value and also takes care of background color and listboxitem content. Also if state is finalized removes pushpins. More... | |
bool | IsHandler [get, set] |
LocationInformationDto | Location [get, set] |
double | LocationAccuracyMeters [get, set] |
DateTimeOffset | LocationAcquisitionTime [get, set] |
ObservableCollection< Pushpin > | Pushpins [get, set] |
String | StreetName [get, set] |
MobileDeviceInformationDto | DeviceInfo [get, set] |
Events | |
PropertyChangedEventHandler | PropertyChanged |
Assigment listboxitem that contains many properties like handlers, location, time, state, priority, pushpins, assigment info and street name. It sets content and background depending state and priority and if there is location available.
<author>Atte Söderlund</author>
Hake_WPF.Assignment.Assignment | ( | String | guid, |
DateTime | time, | ||
priorities | priority, | ||
States | state, | ||
LocationInformationDto | location | ||
) |
Initializes Assigment: sets state, priority, time, location, assimentinfo, sets backgroundcolor and content. These are essential for assignment
time | Assigment connection time |
priority | Assigments priority from Assigment.Priorities |
state | Assigments state from Assigment.States |
location | Assigments location |
Hake_WPF.Assignment.Assignment | ( | String | guid, |
DateTime | time, | ||
priorities | priority, | ||
States | state | ||
) |
Constructor without location.
time | Assigment connection time |
priority | Assigments priority from Assigment.Priorities |
state | Assigments state from Assigment.States |
|
static |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
Sets value and also takes care of background color and listboxitem content. Also if state is finalized removes pushpins.
|
getset |
|
getset |
|
getset |
PropertyChangedEventHandler Hake_WPF.Assignment.PropertyChanged |