gongqiuhong 1 yıl önce
ebeveyn
işleme
7df6853383

+ 0 - 37
XdCxRhDW.App/ObServer/PosObServer.cs

@@ -1,37 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using XdCxRhDW.Repostory.Model;
-using XdCxRhDW.App.UserControl;
-
-namespace XdCxRhDW.App.ObServer
-{
-    public  class PosObServer
-    {
-        private static PosObServer _ins =new PosObServer();
-        private PosObServer()
-        { 
-        }
-        public static PosObServer Instance => _ins;
-        /// <summary>
-        /// 定位推送事件
-        /// </summary>
-        public  event Action<PosRes> OnPosChanged;
-
-        public void Sub(Action<PosRes> action)
-        {
-            OnPosChanged += action;
-        }
-        public void DisposeSub(Action<PosRes> action)
-        {
-            OnPosChanged -= action;
-        }
-
-        public void Pub(PosRes data)
-        {
-            OnPosChanged?.Invoke(data);
-        }
-    }
-}

+ 4 - 0
XdCxRhDW.App/Properties/licenses.licx

@@ -0,0 +1,4 @@
+DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
+DevExpress.XtraMap.MapControl, DevExpress.XtraMap.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
+DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
+DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

+ 1 - 1
XdCxRhDW.App/UserControl/CtrlHome.cs

@@ -23,10 +23,10 @@ using XdCxRhDW.App.Api;
 using XdCxRhDW.App.EditForms;
 using XdCxRhDW.Repostory.Model;
 using System.Windows.Documents;
-using XdCxRhDW.App.ObServer;
 using XdCxRhDW.Repostory.EFContext;
 using XdCxRhDW.Core.Api;
 using XdCxRhDW.WebApi;
+using XdCxRhDW.Core.ObServer;
 namespace XdCxRhDW.App.UserControl
 {
     public partial class CtrlHome : DevExpress.XtraEditors.XtraUserControl

+ 1 - 1
XdCxRhDW.App/XdCxRhDW.App.csproj

@@ -407,7 +407,6 @@
     <Compile Include="UserControl\X2D1GDOPParam.Designer.cs">
       <DependentUpon>X2D1GDOPParam.cs</DependentUpon>
     </Compile>
-    <Compile Include="ObServer\PosObServer.cs" />
     <EmbeddedResource Include="CorTools\DetectToolForm.resx">
       <DependentUpon>DetectToolForm.cs</DependentUpon>
     </EmbeddedResource>
@@ -442,6 +441,7 @@
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
     <None Include="packages.config" />
+    <None Include="Properties\licenses.licx" />
     <EmbeddedResource Include="Properties\Resources.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>