init: 导入项目到 meswork Gitea
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
namespace KinematicsBase
|
||||
{
|
||||
#region Link
|
||||
|
||||
|
||||
[Serializable]
|
||||
public class LinkElem
|
||||
{
|
||||
public LinkElem()
|
||||
{
|
||||
}
|
||||
|
||||
public LinkElem(string id, string name)
|
||||
{
|
||||
this.Id = id;
|
||||
this.Name = name;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
[Serializable]
|
||||
public class Link
|
||||
{
|
||||
public Link()
|
||||
{
|
||||
this.GraphPosition = new System.Drawing.Point(0, 0);
|
||||
}
|
||||
|
||||
public Link(string id, string name, bool isFixed = false)
|
||||
{
|
||||
this.Id = id;
|
||||
this.Name = name;
|
||||
this.IsFixed = isFixed;
|
||||
}
|
||||
|
||||
public System.Drawing.Point GraphPosition { set; get; }
|
||||
|
||||
public string Id { get; set; }
|
||||
|
||||
public string ModelId { get; set; }
|
||||
public bool IsFixed { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public List<LinkElem> LinkElements { get; set; } = new List<LinkElem>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user