Files
BeWoPlaner/BeWo/BeWoAppInfo.cs

30 lines
802 B
C#
Raw Normal View History

2025-08-11 12:52:19 +02:00
using BeWo.Core;
using BS.Shared;
using DevExpress.Web.Internal.XmlProcessor;
using System;
2025-08-11 10:40:59 +02:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo
{
public static class BeWoAppInfo
{
2025-08-11 12:52:19 +02:00
static BeWoAppInfo()
{
var baseVersion = new Version(BeWoApp.ShortVersion);
2026-02-20 16:50:06 +01:00
var stage = BeWoClientReleaseStage.Release;
2026-03-11 15:28:09 +01:00
var stageVersion = new Version("4.2");
2026-02-20 16:50:06 +01:00
var feature = BeWoClientFeature.None;
2025-08-11 12:52:19 +02:00
BeWoAppVersion = new BeWoAppVersion(baseVersion, stage, stageVersion, feature);
}
public static BeWoAppVersion BeWoAppVersion { get; private set; }
public static bool IsInAiMode => BeWoAppVersion.Feature == BeWoClientFeature.AI;
2025-08-20 12:10:53 +02:00
public static bool IsInAiDeveloperMode => IsInAiMode && BeWoAppVersion.IsInDeveloperMode;
2025-08-11 10:40:59 +02:00
}
}