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("5.1.6"); var feature = BeWoClientFeature.AI; #if !DEBUG stage = BeWoClientReleaseStage.Release; feature = BeWoClientFeature.None; #endif 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 IsInAiDeveloperMode => IsInAiMode && BeWoAppVersion.IsInDeveloperMode; } }