Update
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>LeakMonitor.Models</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,26 @@
|
||||
namespace LeakMonitor.Models;
|
||||
|
||||
public static class LeakMonitorConsts
|
||||
{
|
||||
public const string WaterDetectedState = "on";
|
||||
|
||||
public const string WaterClearedState = "off";
|
||||
|
||||
public const string NotifyDomain = "notify";
|
||||
|
||||
public const string MobileAppService = "mobile_app_marius_phone";
|
||||
|
||||
public const string PersistentNotificationDomain = "persistent_notification";
|
||||
|
||||
public const string PersistentNotificationCreateService = "create";
|
||||
|
||||
public const string PersistentNotificationDismissService = "dismiss";
|
||||
|
||||
public const string NotificationIdPrefix = "leak_monitor_";
|
||||
|
||||
public const string NotificationTitle = "Water Leak Detected!";
|
||||
|
||||
public const string DismissTitle = "Water Leak Cleared";
|
||||
|
||||
public const int DefaultNotificationCooldownMinutes = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user