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...
Inherits ListBoxItem, and INotifyPropertyChanged.
|
enum | priorities { NotUrgent = 0,
Urgent = 1
} |
| Not urgent and urgent enums. NotUrgent is 0 and Urgent is 1 as ints. More...
|
|
enum | States {
New = 0,
InProgress = 1,
InTransfer = 2,
Finalized = 3,
Hold = 4
} |
| Enum of states. New = 0,...,Hold=4. More...
|
|
|
| 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...
|
|
|
String | EmergencyType [get, set] |
| Sets and getsEmergency type can be any string that is short description about emergency. More...
|
|
ObservableCollection
< TextMessageDto > | TextMessages [get, set] |
| Textmessages in observablecollection. More...
|
|
PersonalInformationDto | PersonalInfo [get, set] |
| Sets and gets personal information as PersonalInformationDto that includes name, address and list of phonenumbers and all as strings. More...
|
|
priorities | Priority [get, set] |
| Sets and gets priority of this assignment. When value is set, also sets background and content. More...
|
|
String | Guid [get, set] |
| Sets and gets guid. More...
|
|
DateTime | Time [get, set] |
| Sets and gets time. This time is when assignment is taken in. When setted, also sets background color and content. More...
|
|
bool | NoSound [get, set] |
| Gets and sets NoSound. More...
|
|
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] |
| Sets and gets IsHandler More...
|
|
LocationInformationDto | Location [get, set] |
| Sets and gets location as LocationInformationDto that contains location, accuracy in meters and time. When this is setted, sets content also. More...
|
|
double | LocationAccuracyMeters [get, set] |
| Sets and gets locationAccuracyMeters More...
|
|
DateTimeOffset | LocationAcquisitionTime [get, set] |
| Sets and gets LocationAcquisitionTime. More...
|
|
ObservableCollection< Pushpin > | Pushpins [get, set] |
| Sets and gets Pushpins as ObservableCollention. If assignemnts state is finalized, it won't set pushpins. Also adds pushpins in index 1 background to light green. More...
|
|
String | StreetName [get, set] |
| Sets and gets streetname. When setted, also sets content and invokes NotifyPropertyChanged. More...
|
|
MobileDeviceInformationDto | DeviceInfo [get, set] |
| Sets and gets DeviceInfo. More...
|
|
|
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>
Not urgent and urgent enums. NotUrgent is 0 and Urgent is 1 as ints.
Enum of states. New = 0,...,Hold=4.
Initializes Assigment: sets state, priority, time, location, assimentinfo, sets backgroundcolor and content. These are essential for assignment
- Parameters
-
time | Assigment connection time |
priority | Assigments priority from Assigment.Priorities |
state | Assigments state from Assigment.States |
location | Assigments location |
Constructor without location.
- Parameters
-
time | Assigment connection time |
priority | Assigments priority from Assigment.Priorities |
state | Assigments state from Assigment.States |
readonly DependencyProperty IsHandlerProperty |
|
static |
Initial value:=
DependencyProperty.Register("IsHandler", typeof(bool), typeof(MainWindow), new PropertyMetadata(false))
DependencyProperty for ishandler.
Sets and gets DeviceInfo.
Sets and getsEmergency type can be any string that is short description about emergency.
Sets and gets location as LocationInformationDto that contains location, accuracy in meters and time. When this is setted, sets content also.
double LocationAccuracyMeters |
|
getset |
Sets and gets locationAccuracyMeters
DateTimeOffset LocationAcquisitionTime |
|
getset |
Sets and gets LocationAcquisitionTime.
Sets and gets personal information as PersonalInformationDto that includes name, address and list of phonenumbers and all as strings.
Sets and gets priority of this assignment. When value is set, also sets background and content.
ObservableCollection<Pushpin> Pushpins |
|
getset |
Sets and gets Pushpins as ObservableCollention. If assignemnts state is finalized, it won't set pushpins. Also adds pushpins in index 1 background to light green.
Sets value and also takes care of background color and listboxitem content. Also if state is finalized removes pushpins.
Sets and gets streetname. When setted, also sets content and invokes NotifyPropertyChanged.
Textmessages in observablecollection.
Sets and gets time. This time is when assignment is taken in. When setted, also sets background color and content.
The documentation for this class was generated from the following file: