using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace RichCreator.Utility.Structs
|
{
|
public class ParametersPointObj
|
{
|
public ParametersPointObj()
|
{
|
|
}
|
public ParametersPointObj(ZTPointObj point, Int32 number)
|
{
|
this.Point = point;
|
this.Parameter = number;
|
}
|
/// <summary>
|
/// 点
|
/// </summary>
|
public ZTPointObj Point { get; set; }
|
|
/// <summary>
|
/// 参数
|
/// </summary>
|
public Int32 Parameter { get; set; }
|
|
public ParametersPoint To()
|
{
|
return new ParametersPoint(this.Point.To(), this.Parameter);
|
}
|
|
|
public static ParametersPointObj From(ParametersPoint obj)
|
{
|
return new ParametersPointObj(ZTPointObj.From(obj.Point), obj.Parameter);
|
}
|
}
|
}
|