Files
BeWoPlaner/BeWo/BeWoAppInfo.cs
2025-08-11 13:05:31 +02:00

30 lines
798 B
C#

using BeWo.Core;
using BS.Shared;
using DevExpress.Web.Internal.XmlProcessor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo
{
public static class BeWoAppInfo
{
static BeWoAppInfo()
{
var baseVersion = new Version(BeWoApp.ShortVersion);
var stage = BeWoClientReleaseStage.Sandbox;
var stageVersion = new Version("1.4");
var feature = BeWoClientFeature.AI;
BeWoAppVersion = new BeWoAppVersion(baseVersion, stage, stageVersion, feature);
}
public static BeWoAppVersion BeWoAppVersion { get; private set; }
public static bool IsInAiMode => BeWoAppVersion.Feature == BeWoClientFeature.AI;
public static bool IsInAiSandboxMode => BeWoAppVersion.IsInDeveloperMode && IsInAiMode;
}
}