Skip to content

Commit

Permalink
Fixup error in serial sender program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
davewalker5 committed Feb 20, 2024
1 parent 9f45d5c commit 7cc8096
Show file tree
Hide file tree
Showing 12 changed files with 317 additions and 317 deletions.
6 changes: 3 additions & 3 deletions SerialSender/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ Below are example settings for transferring programs to the RC2014 Mini II boote
| Setting | Without the CP/M Upgrade | With the CP/M Upgrade |
| -------------- | ------------------------ | --------------------- |
| Handshake | None | None |
| BlockSize | 10 | 10 |
| BlockDelay | 0 | 60 |
| LineDelay | 200 | 250 |
| BlockSize | 10 | 1 |
| BlockDelay | 0 | 5 |
| LineDelay | 200 | 200 |
| LineEnding | \r\n | \r\n |
| SendNewCommand | true | true |

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Configuration
{
[ExcludeFromCodeCoverage]
public class CommandLineOption
{
public CommandLineOptionType OptionType { get; set; }
public bool IsOperation { get; set; }
public string Name { get; set; } = "";
public string ShortName { get; set; } = "";
public string Description { get; set; } = "";
public int MinimumNumberOfValues { get; set; } = 0;
public int MaximumNumberOfValues { get; set; } = 0;
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Configuration
{
[ExcludeFromCodeCoverage]
public class CommandLineOption
{
public CommandLineOptionType OptionType { get; set; }
public bool IsOperation { get; set; }
public string Name { get; set; } = "";
public string ShortName { get; set; } = "";
public string Description { get; set; } = "";
public int MinimumNumberOfValues { get; set; } = 0;
public int MaximumNumberOfValues { get; set; } = 0;
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
namespace SerialSender.Entities.Configuration
{
public enum CommandLineOptionType
{
Unknown,
Send,
PortName,
BaudRate,
Parity,
DataBits,
StopBits,
Handshake,
BlockSize,
BlockDelay,
LineDelay,
LineEnding,
SendNewCommand,
Verbose
}
}
namespace SerialSender.Entities.Configuration
{
public enum CommandLineOptionType
{
Unknown,
Send,
PortName,
BaudRate,
Parity,
DataBits,
StopBits,
Handshake,
BlockSize,
BlockDelay,
LineDelay,
LineEnding,
SendNewCommand,
Verbose
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Configuration
{
[ExcludeFromCodeCoverage]
public class CommandLineOptionValue
{
public CommandLineOption Option { get; set; }
public List<string> Values { get; private set; } = new();
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Configuration
{
[ExcludeFromCodeCoverage]
public class CommandLineOptionValue
{
public CommandLineOption Option { get; set; }
public List<string> Values { get; private set; } = new();
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class DuplicateOptionException : Exception
{
public DuplicateOptionException()
{
}

public DuplicateOptionException(string message) : base(message)
{
}

public DuplicateOptionException(string message, Exception inner) : base(message, inner)
{
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class DuplicateOptionException : Exception
{
public DuplicateOptionException()
{
}

public DuplicateOptionException(string message) : base(message)
{
}

public DuplicateOptionException(string message, Exception inner) : base(message, inner)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class MalformedCommandLineException : Exception
{
public MalformedCommandLineException()
{
}

public MalformedCommandLineException(string message) : base(message)
{
}

public MalformedCommandLineException(string message, Exception inner) : base(message, inner)
{
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class MalformedCommandLineException : Exception
{
public MalformedCommandLineException()
{
}

public MalformedCommandLineException(string message) : base(message)
{
}

public MalformedCommandLineException(string message, Exception inner) : base(message, inner)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class MultipleOperationsException : Exception
{
public MultipleOperationsException()
{
}

public MultipleOperationsException(string message) : base(message)
{
}

public MultipleOperationsException(string message, Exception inner) : base(message, inner)
{
}
}
}

using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class MultipleOperationsException : Exception
{
public MultipleOperationsException()
{
}

public MultipleOperationsException(string message) : base(message)
{
}

public MultipleOperationsException(string message, Exception inner) : base(message, inner)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class TooFewValuesException : Exception
{
public TooFewValuesException()
{
}

public TooFewValuesException(string message) : base(message)
{
}

public TooFewValuesException(string message, Exception inner) : base(message, inner)
{
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class TooFewValuesException : Exception
{
public TooFewValuesException()
{
}

public TooFewValuesException(string message) : base(message)
{
}

public TooFewValuesException(string message, Exception inner) : base(message, inner)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class TooManyValuesException : Exception
{
public TooManyValuesException()
{
}

public TooManyValuesException(string message) : base(message)
{
}

public TooManyValuesException(string message, Exception inner) : base(message, inner)
{
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class TooManyValuesException : Exception
{
public TooManyValuesException()
{
}

public TooManyValuesException(string message) : base(message)
{
}

public TooManyValuesException(string message, Exception inner) : base(message, inner)
{
}
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class UnrecognisedCommandLineOptionException : Exception
{
public UnrecognisedCommandLineOptionException()
{
}

public UnrecognisedCommandLineOptionException(string message) : base(message)
{
}

public UnrecognisedCommandLineOptionException(string message, Exception inner) : base(message, inner)
{
}
}
}
using System.Diagnostics.CodeAnalysis;

namespace SerialSender.Entities.Exceptions
{
[ExcludeFromCodeCoverage]
public class UnrecognisedCommandLineOptionException : Exception
{
public UnrecognisedCommandLineOptionException()
{
}

public UnrecognisedCommandLineOptionException(string message) : base(message)
{
}

public UnrecognisedCommandLineOptionException(string message, Exception inner) : base(message, inner)
{
}
}
}
Loading

0 comments on commit 7cc8096

Please sign in to comment.