forked from amkovkov/GranuSightSoftware2
comprehensive update
1) remove unused components: camera view (due it causes segmentation faults), compute resources and all related, illuminator controller (due in useless without camera view), image storage service, temperature and humidity service 2) database schema - reduce tables references, features storing in records themselves in compressed form, add records creation and editing date and time, add separator comment column 3) analysis - rework of pipeline and ui, now database storing only raw data and all display values calculated from it 4) lights service - add reconnection if disconnected 5) add width and height command line arguments 6) fix some typos and other issues
This commit is contained in:
+6
-11
@@ -4,15 +4,7 @@ public partial class Program
|
||||
{
|
||||
// Аргументы командной строки
|
||||
private static List<string> _args = new List<string>();
|
||||
public static string[] Args
|
||||
{
|
||||
get
|
||||
{
|
||||
var copy = new string[_args.Count()];
|
||||
_args.CopyTo(copy);
|
||||
return copy;
|
||||
}
|
||||
}
|
||||
public static string[] Args => _args.ToArray();
|
||||
|
||||
/// <summary>
|
||||
/// Точка входа
|
||||
@@ -60,8 +52,11 @@ public partial class Program
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.Error.WriteLine("Ошибка при выполнении программы:");
|
||||
Console.Write(ex.Message);
|
||||
Console.Write(ex.StackTrace);
|
||||
Console.Error.WriteLine(ex.Message);
|
||||
if (ex.InnerException is not null)
|
||||
Console.Error.WriteLine($"Внутреннее исключение: {ex.InnerException}");
|
||||
Console.Error.WriteLine(ex.StackTrace);
|
||||
Environment.Exit(1);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user