| 1234567891011121314151617181920212223242526272829 |
- using System;
- using Comal.Classes;
- using InABox.Mobile;
- namespace PRS.Mobile
- {
- public class BluetoothGateShell : Shell<BluetoothGateModel, JobTracker>
- {
- protected override void ConfigureColumns(ShellColumns<BluetoothGateModel, JobTracker> columns)
- {
- columns
- .Map(nameof(JobID), x => x.JobLink.ID)
- .Map(nameof(JobNumber), x => x.JobLink.JobNumber)
- .Map(nameof(JobName), x => x.JobLink.Name)
- .Map(nameof(TrackerID), x => x.TrackerLink.ID)
- .Map(nameof(DeviceID), x => x.TrackerLink.DeviceID)
- .Map(nameof(Gate), x => x.Gate)
- .Map(nameof(IsJobSite), x => x.IsJobSite);
- }
-
- public Guid JobID => Get<Guid>();
- public String JobNumber => Get<String>();
- public String JobName => Get<String>();
- public Guid TrackerID => Get<Guid>();
- public String DeviceID => Get<String>();
- public String Gate => Get<String>();
- public bool IsJobSite => Get<bool>();
- }
- }
|