Mission.cs
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeviceLibrary
{
public class Mission
{
/// <summary>
/// 任务名称
/// </summary>
public string Name { private set; get; }
/// <summary>
/// 任务别名
/// </summary>
public string AliceName { private set; get; }
/// <summary>
/// 目的地名称(节点名)
/// </summary>
public string TargetName { private set; get; }
/// <summary>
/// 目的地别名(与节点名对应)
/// </summary>
public string TargetAliceName { private set; get; }
/// <summary>
/// 任务guid
/// </summary>
public string Guid { private set; get; }
/// <summary>
/// 任务
/// </summary>
/// <param name="name">任务名称</param>
/// <param name="aliceName">任务别名</param>
/// <param name="targetName">目的地名</param>
/// <param name="targetAliceName">目的地别名</param>
/// <param name="guid">任务guid</param>
public Mission(string name,string aliceName,string targetName,string targetAliceName,string guid)
{
Name = name;
AliceName = aliceName;
TargetName = targetName;
TargetAliceName = targetAliceName;
Guid = guid;
}
}
}