Esempio n. 1
0
 public ComparisonCoupleElement(OpeningModel element, bool isOpeningServer = true)
 {
     IdRevitElement = element.IdLocal;
     LocalGeometry  = element.Geometry;
     LocalStatus    = DefineStatus.NORMAL;
     ServerStatus   = DefineStatus.NONE;
     Comment        = element.Comment;
     Id             = Guid.Empty.ToString();
     IdManager      = Guid.Empty.ToString();
 }
Esempio n. 2
0
 public ComparisonCoupleElement(OpeningModelDTO elementOnServer, OpeningModel elementOnLocal)
 {
     Id             = elementOnServer.IdServer;
     IdRevitElement = elementOnLocal.IdLocal;
     IdDrawing      = elementOnServer.IdDrawing;
     IdManager      = elementOnServer.IdManager;
     LocalStatus    = DefineStatus.NORMAL;
     ServerStatus   = elementOnServer.ServerStatus;
     LocalGeometry  = elementOnLocal.Geometry;
     ServerGeometry = elementOnServer.Geometry;
     Comment        = elementOnServer.Comment;
     Name           = elementOnServer.NameManager;
     if (elementOnServer.ServerStatus == "Disconnect")
     {
         Action = Action.DISCONNECT;
     }
 }