Switch few function from public to private
This commit is contained in:
parent
dafef572ab
commit
486abbdf56
|
@ -6,7 +6,7 @@ public class RelaysRecord
|
|||
{
|
||||
private readonly Adam6360DRegisters _Regs;
|
||||
|
||||
public RelaysRecord(Adam6360DRegisters regs) => _Regs = regs;
|
||||
private RelaysRecord(Adam6360DRegisters regs) => _Regs = regs;
|
||||
|
||||
public Boolean K1GridBusIsConnectedToGrid => _Regs.DigitalInput6;
|
||||
public Boolean K2IslandBusIsConnectedToGridBus => !_Regs.DigitalInput4;
|
||||
|
|
|
@ -23,7 +23,7 @@ public class TextBlock
|
|||
return new TextBlock(alignedLines);
|
||||
}
|
||||
|
||||
public static TextBlock AlignRight(IReadOnlyList<Object> things)
|
||||
private static TextBlock AlignRight(IReadOnlyList<Object> things)
|
||||
{
|
||||
var lines = things
|
||||
.SelectMany(GetLines)
|
||||
|
|
Loading…
Reference in New Issue