Ver Fonte

Replaced Logikal Drawing Types with Report Selection

frogsoftware há 4 dias atrás
pai
commit
e00fc88e81

+ 35 - 29
InABox.Integration.Logikal/Requests/Elevation/LogikalElevationDetailRequest.cs

@@ -3,26 +3,26 @@
 namespace InABox.Integration.Logikal
 {
 
-    public enum LogikalDrawingFormat
-    {
-        DXF,
-        PNG
-    }
-    
-    public enum LogikalDrawingView
-    {
-        Interior,
-        Exterior
-    }
-    
-    public enum LogikalDrawingType
-    {
-        Explosion,
-        Section,
-        Elevation,
-        ElevationWithSectionLines,
-        SectionLine,
-    }
+    // public enum LogikalDrawingFormat
+    // {
+    //     DXF,
+    //     PNG
+    // }
+    //
+    // public enum LogikalDrawingView
+    // {
+    //     Interior,
+    //     Exterior
+    // }
+    //
+    // public enum LogikalDrawingType
+    // {
+    //     Explosion,
+    //     Section,
+    //     Elevation,
+    //     ElevationWithSectionLines,
+    //     SectionLine,
+    // }
     
     public class LogikalElevationDetailRequest : LogikalRequest
     {
@@ -33,26 +33,32 @@ namespace InABox.Integration.Logikal
         
         public Guid[] IDs { get; set; }
         
-        public LogikalDrawingFormat DrawingFormat { get; set; }
+        public string ReportName { get; set; }
+        
+        // public LogikalDrawingFormat DrawingFormat { get; set; }
+        //
+        // public LogikalDrawingView DrawingView { get; set; }
+        //
+        // public LogikalDrawingType DrawingType { get; set; }
         
-        public LogikalDrawingView DrawingView { get; set; }
         
-        public LogikalDrawingType DrawingType { get; set; }
 
         public LogikalElevationDetailRequest(
             Guid projectid, 
             Guid[] ids, 
-            LogikalDrawingFormat format,
-            LogikalDrawingView view,
-            LogikalDrawingType drawingType
+            string reportname
+            // LogikalDrawingFormat format,
+            // LogikalDrawingView view,
+            // LogikalDrawingType drawingType
             )
         : base()
         {
             ProjectID = projectid;
             IDs = ids;
-            DrawingFormat = format;
-            DrawingView = view;
-            DrawingType = drawingType;
+            ReportName = reportname;
+            // DrawingFormat = format;
+            // DrawingView = view;
+            // DrawingType = drawingType;
         }
     }