Beispiel #1
0
        /// <summary>
        /// Create a set of minimal options
        /// </summary>
        public static PlottingOptions CreateDefault()
        {
            var rec = new PlottingOptionsRecord();

            rec.AllowSubmodelSemanticId.Add(
                AasxPredefinedConcepts.Plotting.Static.SEM_PlottingSubmodel.GetAsExactlyOneKey());

            var opt = new PlottingOptions();

            opt.Records.Add(rec);

            return(opt);
        }
Beispiel #2
0
        public void Start(
            AdminShellPackageEnv package,
            AdminShell.Submodel sm,
            PlottingOptions options,
            PluginEventStack eventStack)
        {
            // set the context
            this.thePackage    = package;
            this.theSubmodel   = sm;
            this.theOptions    = options;
            this.theEventStack = eventStack;

            // ok, directly set contents
            SetContents();
        }