4cd57f4a90
Migrate all SignalR 1.x Persistent Connections to SignalR 2.x Hubs. Abstracts ScheduledTaskStatus with core interface and adds a Mock for optional status reporting. Noticeboards rewritten (with new theme) to be more resilient and accurate.
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Disco.Models.Services.Jobs.Noticeboards
|
|
{
|
|
public interface IHeldDeviceItem
|
|
{
|
|
int JobId { get; }
|
|
|
|
string DeviceSerialNumber { get; }
|
|
string DeviceComputerNameFriendly { get; }
|
|
string DeviceComputerName { get; }
|
|
|
|
string DeviceLocation { get; }
|
|
string DeviceDescription { get; }
|
|
|
|
int DeviceProfileId { get; }
|
|
int? DeviceAddressId { get; }
|
|
string DeviceAddressShortName { get; }
|
|
|
|
string UserId { get; }
|
|
string UserIdFriendly { get; }
|
|
string UserDisplayName { get; }
|
|
|
|
bool WaitingForUserAction { get; }
|
|
DateTime? WaitingForUserActionSince { get; }
|
|
long? WaitingForUserActionSinceUnixEpoc { get; }
|
|
|
|
bool ReadyForReturn { get; }
|
|
DateTime? EstimatedReturnTime { get; }
|
|
long? EstimatedReturnTimeUnixEpoc { get; }
|
|
DateTime? ReadyForReturnSince { get; }
|
|
long? ReadyForReturnSinceUnixEpoc { get; }
|
|
|
|
bool IsAlert { get; }
|
|
}
|
|
}
|