Skip to content

Commit

Permalink
Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Oct 31, 2024
1 parent 9103ce8 commit b508530
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Project/Sucrose.Reportdog/Helper/Initialize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,19 +187,23 @@ private static async Task SendAnalytic()
PerformanceCounter = SMMB.PerformanceCounter,
CultureCode = SMMG.Culture.ToUpperInvariant(),
InputModuleType = $"{SSDMME.InputModuleType}",
LockPerformance = $"{SSDMMB.LockPerformance}",
StoreServerType = $"{SSDMMP.StoreServerType}",
DisplayScreenType = $"{SMME.DisplayScreenType}",
FocusPerformance = $"{SSDMMB.FocusPerformance}",
SleepPerformance = $"{SSDMMB.SleepPerformance}",
UpdateExtensionType = $"{SSCMMU.ExtensionType}",
BackgroundStretch = $"{SSDMMP.BackgroundStretch}",
CommunicationType = $"{SSDMMB.CommunicationType}",
MemoryPerformance = $"{SSDMMB.MemoryPerformance}",
RemotePerformance = $"{SSDMMB.RemotePerformance}",
CyclingTransitionType = $"{SSDMMC.TransitionType}",
BatteryPerformance = $"{SSDMMB.BatteryPerformance}",
ConsolePerformance = $"{SSDMMB.ConsolePerformance}",
NetworkPerformance = $"{SSDMMB.NetworkPerformance}",
NumberOfProcessors = SSCHOS.GetNumberOfProcessors(),
PausePerformance = $"{SSDMMB.PausePerformanceType}",
SessionPerformance = $"{SSDMMB.SessionPerformance}",
VirtualPerformance = $"{SSDMMB.VirtualPerformance}",
GraphicAdapters = string.Join(",", SSSHU.GetGraphic()),
NetworkAdapters = string.Join(",", SSSHU.GetNetwork()),
Expand All @@ -208,6 +212,7 @@ private static async Task SendAnalytic()
FullScreenPerformance = $"{SSDMMB.FullScreenPerformance}",
ProcessArchitecture = SSCHOS.GetProcessArchitectureText(),
ProcessorArchitecture = SSCHOS.GetProcessorArchitecture(),
ScreenSaverPerformance = $"{SSDMMB.ScreenSaverPerformance}",
BatterySaverPerformance = $"{SSDMMB.BatterySaverPerformance}",
OperatingSystemArchitecture = SWHSI.GetSystemInfoArchitecture()
};
Expand Down
15 changes: 15 additions & 0 deletions src/Shared/Sucrose.Shared.Space/Model/AnalyticTemeletryData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ internal class AnalyticTelemetryData
[JsonProperty("LibraryLocation", Required = Required.Always)]
public string LibraryLocation { get; set; }

[JsonProperty("LockPerformance", Required = Required.Always)]
public string LockPerformance { get; set; }

[JsonProperty("NetworkAdapters", Required = Required.Always)]
public string NetworkAdapters { get; set; }

Expand Down Expand Up @@ -205,6 +208,9 @@ internal class AnalyticTelemetryData
[JsonProperty("PerformanceCounter", Required = Required.Always)]
public bool PerformanceCounter { get; set; }

[JsonProperty("SleepPerformance", Required = Required.Always)]
public string SleepPerformance { get; set; }

[JsonProperty("UpdateModuleType", Required = Required.Always)]
public string UpdateModuleType { get; set; }

Expand Down Expand Up @@ -241,6 +247,9 @@ internal class AnalyticTelemetryData
[JsonProperty("BatteryPerformance", Required = Required.Always)]
public string BatteryPerformance { get; set; }

[JsonProperty("ConsolePerformance", Required = Required.Always)]
public string ConsolePerformance { get; set; }

[JsonProperty("CyclingTransitionTime", Required = Required.Always)]
public int CyclingTransitionTime { get; set; }

Expand All @@ -253,6 +262,9 @@ internal class AnalyticTelemetryData
[JsonProperty("NetworkPerformance", Required = Required.Always)]
public string NetworkPerformance { get; set; }

[JsonProperty("SessionPerformance", Required = Required.Always)]
public string SessionPerformance { get; set; }

[JsonProperty("VirtualPerformance", Required = Required.Always)]
public string VirtualPerformance { get; set; }

Expand Down Expand Up @@ -280,6 +292,9 @@ internal class AnalyticTelemetryData
[JsonProperty("ProcessorArchitecture", Required = Required.Always)]
public string ProcessorArchitecture { get; set; }

[JsonProperty("ScreenSaverPerformance", Required = Required.Always)]
public string ScreenSaverPerformance { get; set; }

[JsonProperty("BatterySaverPerformance", Required = Required.Always)]
public string BatterySaverPerformance { get; set; }

Expand Down

0 comments on commit b508530

Please sign in to comment.