Starting on the Data portion

This commit is contained in:
2025-11-29 19:34:30 -06:00
parent aae22e57cf
commit c749434d07
7 changed files with 35 additions and 6 deletions

View File

@@ -235,10 +235,6 @@ static class AppSettingsCommands
{
COGWHEEL.Log($"Setting '{settingName}' set to '{value}'.");
}
// else
// {
// COGWHEEL.LogError($"Could not set setting '{settingName}' to '{value}'.");
// }
}
[Command(Name = "getsetting")]

View File

@@ -0,0 +1,6 @@
namespace SessionZero.Data;
public class Dataset
{
}

View File

@@ -0,0 +1,6 @@
namespace SessionZero.Data;
public class DatasetObject
{
}

View File

@@ -0,0 +1,6 @@
namespace SessionZero.Data;
public class DatasetObjectTemplate
{
}

View File

@@ -0,0 +1,14 @@
using System;
namespace SessionZero.Data.Sztl;
public class SztlField
{
public required string Id { get; set; }
public required SztlFieldType FieldType { get; set; }
}
public enum SztlFieldType
{
Number, Text, Textbox, Bool, Object, Formula
}

View File

@@ -60,8 +60,10 @@ public partial class MainWindow : Window
private void OnKeyDown(TopLevel topLevel, KeyEventArgs keyEventArgs)
{
if (keyEventArgs.Key == Key.OemTilde)
if (keyEventArgs.Key == Key.OemTilde && keyEventArgs.KeyModifiers.HasFlag(KeyModifiers.Control))
{
ToggleConsole(!_overlayContentControl.IsVisible);
}
}
private void InitControls()

View File

@@ -13,7 +13,6 @@
<Folder Include="Assets" />
<AvaloniaResource Include="Assets/**" />
<Folder Include="Controls\" />
<Folder Include="Data\" />
</ItemGroup>
<ItemGroup>