feed dots
This commit is contained in:
parent
6cd67cf00f
commit
fa212e3bf3
@ -1,11 +1,18 @@
|
||||
public class FeedInstruction : BaseInstruction
|
||||
{
|
||||
public int lines {get; set; } = 1;
|
||||
public int lines {get; set; } = 0;
|
||||
public int dots {get; set; } = 0;
|
||||
public override List<byte[]> GetInstructions()
|
||||
{
|
||||
var commands = new List<byte[]>();
|
||||
|
||||
commands.Add(e.FeedLines(lines));
|
||||
if (lines > 0){
|
||||
commands.Add(e.FeedLines(lines));
|
||||
}
|
||||
|
||||
if (dots > 0){
|
||||
commands.Add(e.FeedDots(dots));
|
||||
}
|
||||
|
||||
return commands;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user