添加项目文件。
This commit is contained in:
106
WPFWCSDemo/Models/Tables/TaskRT.cs
Normal file
106
WPFWCSDemo/Models/Tables/TaskRT.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WPFWCSDemo.Models.Tables
|
||||
{
|
||||
public class TaskRT : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// 作业号
|
||||
/// </summary>
|
||||
public string? JobId { get; set; }
|
||||
/// <summary>
|
||||
/// 任务号
|
||||
/// </summary>
|
||||
public string TaskId { get; set; }
|
||||
///// <summary>
|
||||
///// 任务号
|
||||
///// </summary>
|
||||
//public string TaskIdString { get; set; }
|
||||
/// <summary>
|
||||
/// 条码
|
||||
/// </summary>
|
||||
public string? PalletId { get; set; }
|
||||
/// <summary>
|
||||
/// 任务类型
|
||||
/// </summary>
|
||||
public int TaskType { get; set; }
|
||||
/// <summary>
|
||||
/// 源站
|
||||
/// </summary>
|
||||
public string? SourceLocation { get; set; }
|
||||
/// <summary>
|
||||
/// 目标站
|
||||
/// </summary>
|
||||
public string? TargetLocation { get; set; }
|
||||
/// <summary>
|
||||
/// 优先级 1→3 高→低
|
||||
/// </summary>
|
||||
//public int Priority { get; set; }
|
||||
/// <summary>
|
||||
/// 任务状态
|
||||
/// </summary>
|
||||
public string? TaskState { get; set; }
|
||||
/// <summary>
|
||||
/// 调度状态
|
||||
/// </summary>
|
||||
public string? ScheduleState { get; set; }
|
||||
/// <summary>
|
||||
/// 生成时间
|
||||
/// </summary>
|
||||
[AllowNull]
|
||||
public DateTime CreateTime { get; set; }
|
||||
/// <summary>
|
||||
/// 调度时间
|
||||
/// </summary>
|
||||
[AllowNull]
|
||||
public DateTime ScheduleTime { get; set; }
|
||||
/// <summary>
|
||||
/// 报告状态
|
||||
/// </summary>
|
||||
//public int ReportState { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private bool disposedValue;
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposedValue)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
// TODO: 释放托管状态(托管对象)
|
||||
}
|
||||
|
||||
// TODO: 释放未托管的资源(未托管的对象)并重写终结器
|
||||
// TODO: 将大型字段设置为 null
|
||||
disposedValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
// // TODO: 仅当“Dispose(bool disposing)”拥有用于释放未托管资源的代码时才替代终结器
|
||||
// ~TaskRT()
|
||||
// {
|
||||
// // 不要更改此代码。请将清理代码放入“Dispose(bool disposing)”方法中
|
||||
// Dispose(disposing: false);
|
||||
// }
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
// 不要更改此代码。请将清理代码放入“Dispose(bool disposing)”方法中
|
||||
Dispose(disposing: true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user