Table of Contents

Class ProductionLineModel

Namespace
CMS.Plugin.MesSuite.Abstractions.Models
Assembly
CMS.Plugin.MesSuite.Abstractions.dll

产线信息

public class ProductionLineModel
Inheritance
ProductionLineModel
Inherited Members

Constructors

ProductionLineModel()

Initializes a new instance of the ProductionLineModel class.

public ProductionLineModel()

ProductionLineModel(Guid, string, string, string, string)

Initializes a new instance of the ProductionLineModel class.

public ProductionLineModel(Guid id, string name, string code, string ip = null, string port = null)

Parameters

id Guid

The identifier.

name string

The name.

code string

The product.

ip string
port string

Properties

Code

产线代码

[Design("产线代码", "产线代码")]
public string Code { get; set; }

Property Value

string

IP

IP

[Design("IP", "IP")]
public string IP { get; set; }

Property Value

string

Id

唯一标识

[Design("唯一标识", "唯一标识")]
public Guid Id { get; set; }

Property Value

Guid

Name

产线名称

[Design("产线名称", "产线名称")]
public string Name { get; set; }

Property Value

string

NullInstance

Gets the null instance.

public static ProductionLineModel NullInstance { get; }

Property Value

ProductionLineModel

The null instance.

Port

端口号

[Design("端口号", "端口号")]
public string Port { get; set; }

Property Value

string

Methods

Clone()

Clones this instance.

public ProductionLineModel Clone()

Returns

ProductionLineModel