Exemplo n.º 1
0
        /// <summary>
        /// Gets the supported capabilities for the <see cref="StimJob"/> object.
        /// </summary>
        /// <param name="capServer">The capServer instance.</param>
        public void GetCapabilities(CapServer capServer)
        {
            Logger.DebugFormat("Getting the supported capabilities for StimJob data version {0}.", capServer.Version);

            capServer.Add(Functions.GetFromStore, ObjectTypes.StimJob);
            capServer.Add(Functions.AddToStore, ObjectTypes.StimJob);
            capServer.Add(Functions.UpdateInStore, ObjectTypes.StimJob);
            capServer.Add(Functions.DeleteFromStore, ObjectTypes.StimJob);
        }
        /// <summary>
        /// Gets the supported capabilities for the <see cref="Log"/> object.
        /// </summary>
        /// <param name="capServer">The capServer instance.</param>
        public void GetCapabilities(CapServer capServer)
        {
            Logger.DebugFormat("Getting the supported capabilities for Log data version {0}.", capServer.Version);

            capServer.Add(Functions.GetFromStore, ObjectTypes.Log, WitsmlSettings.LogMaxDataNodesGet, WitsmlSettings.LogMaxDataPointsGet);
            capServer.Add(Functions.AddToStore, ObjectTypes.Log, WitsmlSettings.LogMaxDataNodesAdd, WitsmlSettings.LogMaxDataPointsAdd);
            capServer.Add(Functions.UpdateInStore, ObjectTypes.Log, WitsmlSettings.LogMaxDataNodesUpdate, WitsmlSettings.LogMaxDataPointsUpdate);
            capServer.Add(Functions.DeleteFromStore, ObjectTypes.Log, WitsmlSettings.LogMaxDataNodesDelete, WitsmlSettings.LogMaxDataPointsDelete);
            capServer.SetGrowingTimeoutPeriod(ObjectTypes.Log, WitsmlSettings.LogGrowingTimeoutPeriod);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Gets the supported capabilities for the <see cref="MudLog"/> object.
        /// </summary>
        /// <param name="capServer">The capServer instance.</param>
        public void GetCapabilities(CapServer capServer)
        {
            Logger.DebugFormat("Getting the supported capabilities for MudLog data version {0}.", capServer.Version);

            if (MessageHandler.IsQueryEnabled)
            {
                capServer.Add(Functions.GetFromStore, ObjectTypes.MudLog);
            }

            capServer.Add(Functions.AddToStore, ObjectTypes.MudLog);
            capServer.Add(Functions.UpdateInStore, ObjectTypes.MudLog);
            //capServer.Add(Functions.DeleteFromStore, ObjectTypes.MudLog);
        }
        /// <summary>
        /// Gets the supported capabilities for the <see cref="Trajectory"/> object.
        /// </summary>
        /// <param name="capServer">The capServer instance.</param>
        public void GetCapabilities(CapServer capServer)
        {
            Logger.DebugFormat("Getting the supported capabilities for Trajectory data version {0}.", capServer.Version);

            if (MessageHandler.IsQueryEnabled)
            {
                capServer.Add(Functions.GetFromStore, ObjectTypes.Trajectory, WitsmlSettings.TrajectoryMaxDataNodesGet);
            }

            capServer.Add(Functions.AddToStore, ObjectTypes.Trajectory, WitsmlSettings.TrajectoryMaxDataNodesAdd);
            capServer.Add(Functions.UpdateInStore, ObjectTypes.Trajectory, WitsmlSettings.TrajectoryMaxDataNodesUpdate);
            //capServer.Add(Functions.DeleteFromStore, ObjectTypes.Trajectory, WitsmlSettings.TrajectoryMaxDataNodesDelete);
            capServer.SetGrowingTimeoutPeriod(ObjectTypes.Trajectory, WitsmlSettings.TrajectoryGrowingTimeoutPeriod);
        }
Exemplo n.º 5
0
        /// <summary>
        /// Gets the supported capabilities for the <see cref="DbAuditHistory"/> object.
        /// </summary>
        /// <param name="capServer">The capServer instance.</param>
        public void GetCapabilities(CapServer capServer)
        {
            Logger.DebugFormat("Getting the supported capabilities for ChangeLog data version {0}.", capServer.Version);

            capServer.Add(Functions.GetFromStore, ObjectTypes.ChangeLog);
        }