Halyri - Häke  0.9.1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Hake_WPF.Assignment Class Reference

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...

Inheritance diagram for Hake_WPF.Assignment:

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
 

Detailed Description

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>

Member Enumeration Documentation

Enumerator
NotUrgent 
Urgent 
Enumerator
New 
InProgress 
InTransfer 
Finalized 
Hold 

Constructor & Destructor Documentation

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

Parameters
timeAssigment connection time
priorityAssigments priority from Assigment.Priorities
stateAssigments state from Assigment.States
locationAssigments location
Hake_WPF.Assignment.Assignment ( String  guid,
DateTime  time,
priorities  priority,
States  state 
)

Constructor without location.

Parameters
timeAssigment connection time
priorityAssigments priority from Assigment.Priorities
stateAssigments state from Assigment.States

Member Data Documentation

readonly DependencyProperty Hake_WPF.Assignment.IsHandlerProperty
static
Initial value:
=
DependencyProperty.Register("IsHandler", typeof(bool), typeof(MainWindow), new PropertyMetadata(false))

Property Documentation

MobileDeviceInformationDto Hake_WPF.Assignment.DeviceInfo
getset
String Hake_WPF.Assignment.EmergencyType
getset
String Hake_WPF.Assignment.Guid
getset
bool Hake_WPF.Assignment.IsHandler
getset
LocationInformationDto Hake_WPF.Assignment.Location
getset
double Hake_WPF.Assignment.LocationAccuracyMeters
getset
DateTimeOffset Hake_WPF.Assignment.LocationAcquisitionTime
getset
bool Hake_WPF.Assignment.NoSound
getset
PersonalInformationDto Hake_WPF.Assignment.PersonalInfo
getset
priorities Hake_WPF.Assignment.Priority
getset
ObservableCollection<Pushpin> Hake_WPF.Assignment.Pushpins
getset
States Hake_WPF.Assignment.State
getset

Sets value and also takes care of background color and listboxitem content. Also if state is finalized removes pushpins.

String Hake_WPF.Assignment.StreetName
getset
ObservableCollection<TextMessageDto> Hake_WPF.Assignment.TextMessages
getset
DateTime Hake_WPF.Assignment.Time
getset

Event Documentation

PropertyChangedEventHandler Hake_WPF.Assignment.PropertyChanged

The documentation for this class was generated from the following file: