forked from amkovkov/GranuSightSoftware2
feat: Camera settings + some refactor
This commit is contained in:
@@ -28,19 +28,19 @@ public class IlluminatorService : IDisposable
|
||||
MaxUv365PwmDuty = 1.0
|
||||
};
|
||||
|
||||
public int WhitePwmPin { get; set; }
|
||||
public int Uv254PwmPin { get; set; }
|
||||
public int Uv365PwmPin { get; set; }
|
||||
public int WhiteRelayPin { get; set; }
|
||||
public int Uv254RelayPin { get; set; }
|
||||
public int Uv365RelayPin { get; set; }
|
||||
public int FanPin { get; set; }
|
||||
public int WhitePwmPin { get; init; }
|
||||
public int Uv254PwmPin { get; init; }
|
||||
public int Uv365PwmPin { get; init; }
|
||||
public int WhiteRelayPin { get; init; }
|
||||
public int Uv254RelayPin { get; init; }
|
||||
public int Uv365RelayPin { get; init; }
|
||||
public int FanPin { get; init; }
|
||||
|
||||
public int PwmFrequency { get; set; }
|
||||
public int PwmFrequency { get; init; }
|
||||
|
||||
public double MaxWhitePwmDuty { get; set; }
|
||||
public double MaxUv254PwmDuty { get; set; }
|
||||
public double MaxUv365PwmDuty { get; set; }
|
||||
public double MaxWhitePwmDuty { get; init; }
|
||||
public double MaxUv254PwmDuty { get; init; }
|
||||
public double MaxUv365PwmDuty { get; init; }
|
||||
}
|
||||
|
||||
private static readonly Dictionary<int, int> PinPwmChips = new()
|
||||
|
||||
Reference in New Issue
Block a user