프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / SPPIDConverter / AutoModeling.cs @ cfda1fed

이력 | 보기 | 이력해설 | 다운로드 (1.35 KB)

1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6
using Llama;
7
using Plaice;
8
using Converter.BaseModel;
9
using Converter.SPPID.Model;
10
using Converter.SPPID.Properties;
11
using Converter.SPPID.Util;
12
using Converter.SPPID.DB;
13

    
14
using System.Threading;
15
using Microsoft.VisualBasic;
16
using Newtonsoft.Json;
17

    
18
namespace Converter.SPPID
19
{
20
    public class AutoModeling
21
    {
22
        SPPID_Document document;
23
        public AutoModeling(SPPID_Document document)
24
        {
25
            this.document = document;
26
        }
27

    
28
        public void Run()
29
        {
30
            dynamic application = Interaction.GetObject("", "PIDAutomation.Application");
31
            dynamic newDrawing = application.Drawings.Add(document.Unit, document.Template, document.DrawingNumber, document.DrawingName);
32
            application.ActiveWindow.Fit();
33
            Thread.Sleep(100);
34
            application.ActiveWindow.Zoom = 60;
35
            Thread.Sleep(100);
36

    
37

    
38

    
39

    
40

    
41
        }
42

    
43

    
44
        private void SymbolModeling(Symbol symbol)
45
        {
46

    
47
        }
48

    
49
        private void LineModeling(Line line)
50
        {
51

    
52
        }
53

    
54
        private void LineNumberModeling(LineNumber lineNumber)
55
        {
56

    
57
        }
58

    
59
        private void TextModeling(Text text)
60
        {
61

    
62
        }
63

    
64
        private void NoteModeling(Note note)
65
        {
66

    
67
        }
68

    
69
    }
70
}
클립보드 이미지 추가 (최대 크기: 500 MB)