You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.6 KiB

using GummingCommon;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GummingEntity
{
public enum LockStatusEnum
{
UnLock = 1,
Locked = 2,
}
public enum LockByEnum
{
None = 1,
Manual = 2,
Basket = 3
}
public class StationLockStatus
{
public string StationId { get; set; }
public string StationCode { get; set; }
public LockStatusEnum LockStatus { get; set; }
public bool Initiating { get; set; }
public LockByEnum LockBy { get; set; }
public StationStatus StationStatus { get; set; }
public bool PrePutedDisk { get; set; }
public bool HasDisk { get; set; }
public int SlotIndex { get; set; }
public bool IsDoing { get; set; }
public string Message { get; set; }
public int CCRCount { get; set; }
public bool IsDoingCCR { get; set; }
}
public class HomeStatus : ViewModelBase
{
public string StationType { get; set; }
public string StationCode { get; set; }
private string _Message;
public string Message
{
get { return _Message; }
set
{
_Message = value;
OnPropertyChanged("Message");
}
}
private ExecuteStatusEnum _Status;
public ExecuteStatusEnum Status
{
get { return _Status; }
set
{
_Status = value;
OnPropertyChanged("Status");
}
}
}
}