First commit.
This commit is contained in:
31
Source/OpenNest.Core/CNC/Comment.cs
Normal file
31
Source/OpenNest.Core/CNC/Comment.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace OpenNest.CNC
|
||||
{
|
||||
public class Comment : ICode
|
||||
{
|
||||
public Comment()
|
||||
{
|
||||
}
|
||||
|
||||
public Comment(string value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public string Value { get; set; }
|
||||
|
||||
public CodeType Type
|
||||
{
|
||||
get { return CodeType.Comment; }
|
||||
}
|
||||
|
||||
public ICode Clone()
|
||||
{
|
||||
return new Comment(Value);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return ':' + Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user