Exemplo n.º 1
0
        public Model(ServerConnection connection, ReferenceObject CurrentTechnicalSolution, string nameServer = "TFLEX")
        {
            if (ExtensionDinamika == null)
            {
                ExtensionDinamika = new ExtensionDinamika(connection, nameServer);
            }

            if (UsersWithEquallyPost == null)
            {
                UsersWithEquallyPost = new Dictionary <string, List <User> >();
            }

            this.CurrentTechnicalSolution = CurrentTechnicalSolution;

            //  CurrentUser = CurrentTechnicalSolution.SystemFields.Author;
        }
Exemplo n.º 2
0
        public Model(ServerConnection connection, string nameServer = "TFLEX")
        {
            if (ExtensionDinamika == null)
            {
                ExtensionDinamika = new ExtensionDinamika(connection, nameServer);
            }

            if (UsersWithEquallyPost == null)
            {
                UsersWithEquallyPost = new Dictionary <string, List <User> >();
            }


            this.CurrentTechnicalSolution = ExtensionDinamika.Connection.ReferenceCatalog.Find(Guids.NomenclatureGuids.Ref_Guid)
                                            .CreateReference().Find(new Guid("a82345ef-2a00-4388-9ff9-b30069904fe2"));

            //   CurrentUser = CurrentTechnicalSolution.SystemFields.Author;

            ReloadDataUsers();
        }