프로젝트

일반

사용자정보

개정판 fdb1367e

IDfdb1367e8e468bf044e55e7699970afe7879beba
상위 5aec7e24
하위 8562d7dc

gaqhf 이(가) 5년 이상 전에 추가함

dev issue #1223 : add button image

Change-Id: I169ca4d78146f6a9b409e1e9273dfee6bd44ab41

차이점 보기:

DTI_PID/APIDConverter/AVEVA.PID.CustomizationUtility_ACAD2018_x64.csproj
128 128
    <Compile Include="Model\Project_Info.cs" />
129 129
    <Compile Include="Model\PlantItem\SpecBreak.cs" />
130 130
    <Compile Include="Model\PlantItem\TrimLine.cs" />
131
    <Compile Include="Properties\Resource.Designer.cs">
132
      <AutoGen>True</AutoGen>
133
      <DesignTime>True</DesignTime>
134
      <DependentUpon>Resource.resx</DependentUpon>
135
    </Compile>
131 136
    <Compile Include="Properties\Settings.Designer.cs">
132 137
      <AutoGen>True</AutoGen>
133 138
      <DesignTimeSharedInput>True</DesignTimeSharedInput>
......
170 175
      <DependentUpon>MappingForm.cs</DependentUpon>
171 176
    </EmbeddedResource>
172 177
    <EmbeddedResource Include="Properties\licenses.licx" />
178
    <EmbeddedResource Include="Properties\Resource.resx">
179
      <Generator>ResXFileCodeGenerator</Generator>
180
      <LastGenOutput>Resource.Designer.cs</LastGenOutput>
181
    </EmbeddedResource>
173 182
  </ItemGroup>
174 183
  <ItemGroup>
175 184
    <None Include="packages.config" />
......
178 187
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
179 188
    </None>
180 189
  </ItemGroup>
190
  <ItemGroup>
191
    <EmbeddedResource Include="Resources\convert.png" />
192
  </ItemGroup>
193
  <ItemGroup>
194
    <EmbeddedResource Include="Resources\mapping.png" />
195
  </ItemGroup>
196
  <ItemGroup>
197
    <EmbeddedResource Include="Resources\setting.png" />
198
  </ItemGroup>
181 199
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
182 200
  <Import Project="..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.111.0\build\net46\System.Data.SQLite.Core.targets')" />
183 201
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
DTI_PID/APIDConverter/ConverterRibbonUI.cs
1 1
using System;
2
using System.IO;
3
using System.Windows.Media;
4
using System.Windows.Media.Imaging;
2 5
using System.Collections.Generic;
3 6
using System.Linq;
4 7
using System.Text;
......
16 19
using Autodesk.Windows.ToolBars;
17 20
using AcadApp = Autodesk.AutoCAD.ApplicationServices.Application;
18 21

  
22
using AVEVA.PID.CustomizationUtility.Properties;
19 23
namespace AVEVA.PID.CustomizationUtility
20 24
{
21 25
    public class ConverterRibbonUI
......
54 58
            rb.Text = "Converter";
55 59
            rb.CommandHandler = new RibbonCommandHandler();
56 60
            rb.CommandParameter = "ConverterForm";
61
            rb.Orientation = System.Windows.Controls.Orientation.Vertical;
62
            rb.Size = RibbonItemSize.Large;
63
            rb.LargeImage = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(Resource.convert.GetHbitmap(), IntPtr.Zero, System.Windows.Int32Rect.Empty, System.Windows.Media.Imaging.BitmapSizeOptions.FromWidthAndHeight(32, 32));
57 64
            rps.Items.Add(rb);
58 65

  
59 66
            rb = new RibbonButton();
60
            rb.Name = "Project Setting";
67
            rb.Name = "Project\nSetting";
61 68
            rb.ShowText = true;
62
            rb.Text = "Project Setting";
69
            rb.Text = "Project\nSetting";
63 70
            rb.CommandHandler = new RibbonCommandHandler();
64 71
            rb.CommandParameter = "ProjectForm";
72
            rb.Orientation = System.Windows.Controls.Orientation.Vertical;
73
            rb.Size = RibbonItemSize.Large;
74
            rb.LargeImage = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(Resource.setting.GetHbitmap(), IntPtr.Zero, System.Windows.Int32Rect.Empty, System.Windows.Media.Imaging.BitmapSizeOptions.FromWidthAndHeight(32, 32));
65 75
            rps.Items.Add(rb);
66 76
            return rp;
67 77
        }
......
80 90
            rb.Text = "Mapping";
81 91
            rb.CommandHandler = new RibbonCommandHandler();
82 92
            rb.CommandParameter = "MappingForm";
93
            rb.Orientation = System.Windows.Controls.Orientation.Vertical;
94
            rb.Size = RibbonItemSize.Large;
95
            rb.LargeImage = System.Windows.Interop.Imaging.CreateBitmapSourceFromHBitmap(Resource.mapping.GetHbitmap(), IntPtr.Zero, System.Windows.Int32Rect.Empty, System.Windows.Media.Imaging.BitmapSizeOptions.FromWidthAndHeight(32, 32));
83 96
            rps.Items.Add(rb);
84 97
            return rp;
85 98
        }
86 99

  
100

  
87 101
        public class RibbonCommandHandler : System.Windows.Input.ICommand
88 102
        {
89 103
            public event EventHandler CanExecuteChanged;
......
109 123
                }
110 124
            }
111 125
        }
126

  
112 127
    }
113 128
}
DTI_PID/APIDConverter/Form/APIDConverter.Designer.cs
29 29
        private void InitializeComponent()
30 30
        {
31 31
            this.components = new System.ComponentModel.Container();
32
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(APIDConverter));
32 33
            this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl();
33 34
            this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
35
            this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
36
            this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
37
            this.btnLoadFile = new DevExpress.XtraEditors.SimpleButton();
38
            this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
39
            this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
40
            this.gridControlConverter = new DevExpress.XtraGrid.GridControl();
41
            this.gridViewConverter = new DevExpress.XtraGrid.Views.Grid.GridView();
42
            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
43
            this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
44
            this.btnRun = new DevExpress.XtraEditors.SimpleButton();
45
            this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
34 46
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit();
47
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
48
            this.layoutControl1.SuspendLayout();
49
            ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
50
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
51
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
52
            ((System.ComponentModel.ISupportInitialize)(this.gridControlConverter)).BeginInit();
53
            ((System.ComponentModel.ISupportInitialize)(this.gridViewConverter)).BeginInit();
54
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
55
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
56
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
35 57
            this.SuspendLayout();
36 58
            // 
37 59
            // ribbonControl
......
46 68
            this.ribbonControl.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False;
47 69
            this.ribbonControl.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.ShowOnMultiplePages;
48 70
            this.ribbonControl.ShowToolbarCustomizeItem = false;
49
            this.ribbonControl.Size = new System.Drawing.Size(987, 32);
71
            this.ribbonControl.Size = new System.Drawing.Size(856, 32);
50 72
            this.ribbonControl.Toolbar.ShowCustomizeItem = false;
51 73
            // 
52 74
            // defaultLookAndFeel1
53 75
            // 
54 76
            this.defaultLookAndFeel1.LookAndFeel.SkinName = "Office 2016 Colorful";
55 77
            // 
78
            // layoutControl1
79
            // 
80
            this.layoutControl1.Controls.Add(this.btnRun);
81
            this.layoutControl1.Controls.Add(this.gridControlConverter);
82
            this.layoutControl1.Controls.Add(this.btnLoadFile);
83
            this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
84
            this.layoutControl1.Location = new System.Drawing.Point(0, 32);
85
            this.layoutControl1.Name = "layoutControl1";
86
            this.layoutControl1.Root = this.Root;
87
            this.layoutControl1.Size = new System.Drawing.Size(856, 437);
88
            this.layoutControl1.TabIndex = 1;
89
            this.layoutControl1.Text = "layoutControl1";
90
            // 
91
            // Root
92
            // 
93
            this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
94
            this.Root.GroupBordersVisible = false;
95
            this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
96
            this.layoutControlGroup1});
97
            this.Root.Name = "Root";
98
            this.Root.Size = new System.Drawing.Size(856, 437);
99
            this.Root.TextVisible = false;
100
            // 
101
            // btnLoadFile
102
            // 
103
            this.btnLoadFile.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButton1.ImageOptions.SvgImage")));
104
            this.btnLoadFile.Location = new System.Drawing.Point(24, 58);
105
            this.btnLoadFile.Name = "btnLoadFile";
106
            this.btnLoadFile.Size = new System.Drawing.Size(110, 36);
107
            this.btnLoadFile.StyleController = this.layoutControl1;
108
            this.btnLoadFile.TabIndex = 4;
109
            this.btnLoadFile.Text = "  Load Files  ";
110
            this.btnLoadFile.Click += new System.EventHandler(this.btnLoadFile_Click);
111
            // 
112
            // layoutControlItem1
113
            // 
114
            this.layoutControlItem1.Control = this.btnLoadFile;
115
            this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
116
            this.layoutControlItem1.MaxSize = new System.Drawing.Size(114, 40);
117
            this.layoutControlItem1.MinSize = new System.Drawing.Size(114, 40);
118
            this.layoutControlItem1.Name = "layoutControlItem1";
119
            this.layoutControlItem1.Size = new System.Drawing.Size(114, 40);
120
            this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
121
            this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
122
            this.layoutControlItem1.TextVisible = false;
123
            // 
124
            // layoutControlGroup1
125
            // 
126
            this.layoutControlGroup1.CaptionImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("layoutControlGroup1.CaptionImageOptions.SvgImage")));
127
            this.layoutControlGroup1.GroupStyle = DevExpress.Utils.GroupStyle.Card;
128
            this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
129
            this.layoutControlItem2,
130
            this.layoutControlItem1,
131
            this.emptySpaceItem1,
132
            this.layoutControlItem3});
133
            this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
134
            this.layoutControlGroup1.Name = "layoutControlGroup1";
135
            this.layoutControlGroup1.Size = new System.Drawing.Size(836, 417);
136
            this.layoutControlGroup1.Text = "Auto Converter";
137
            // 
138
            // gridControlConverter
139
            // 
140
            this.gridControlConverter.Location = new System.Drawing.Point(24, 98);
141
            this.gridControlConverter.MainView = this.gridViewConverter;
142
            this.gridControlConverter.MenuManager = this.ribbonControl;
143
            this.gridControlConverter.Name = "gridControlConverter";
144
            this.gridControlConverter.Size = new System.Drawing.Size(808, 315);
145
            this.gridControlConverter.TabIndex = 5;
146
            this.gridControlConverter.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
147
            this.gridViewConverter});
148
            // 
149
            // gridViewConverter
150
            // 
151
            this.gridViewConverter.GridControl = this.gridControlConverter;
152
            this.gridViewConverter.Name = "gridViewConverter";
153
            this.gridViewConverter.OptionsView.ShowGroupPanel = false;
154
            // 
155
            // layoutControlItem2
156
            // 
157
            this.layoutControlItem2.Control = this.gridControlConverter;
158
            this.layoutControlItem2.Location = new System.Drawing.Point(0, 40);
159
            this.layoutControlItem2.Name = "layoutControlItem2";
160
            this.layoutControlItem2.Size = new System.Drawing.Size(812, 319);
161
            this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
162
            this.layoutControlItem2.TextVisible = false;
163
            // 
164
            // emptySpaceItem1
165
            // 
166
            this.emptySpaceItem1.AllowHotTrack = false;
167
            this.emptySpaceItem1.Location = new System.Drawing.Point(114, 0);
168
            this.emptySpaceItem1.Name = "emptySpaceItem1";
169
            this.emptySpaceItem1.Size = new System.Drawing.Size(615, 40);
170
            this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
171
            // 
172
            // btnRun
173
            // 
174
            this.btnRun.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRun.ImageOptions.SvgImage")));
175
            this.btnRun.Location = new System.Drawing.Point(753, 58);
176
            this.btnRun.Name = "btnRun";
177
            this.btnRun.Size = new System.Drawing.Size(79, 36);
178
            this.btnRun.StyleController = this.layoutControl1;
179
            this.btnRun.TabIndex = 6;
180
            this.btnRun.Text = "  Run  ";
181
            // 
182
            // layoutControlItem3
183
            // 
184
            this.layoutControlItem3.Control = this.btnRun;
185
            this.layoutControlItem3.Location = new System.Drawing.Point(729, 0);
186
            this.layoutControlItem3.MaxSize = new System.Drawing.Size(83, 40);
187
            this.layoutControlItem3.MinSize = new System.Drawing.Size(83, 40);
188
            this.layoutControlItem3.Name = "layoutControlItem3";
189
            this.layoutControlItem3.Size = new System.Drawing.Size(83, 40);
190
            this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
191
            this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
192
            this.layoutControlItem3.TextVisible = false;
193
            // 
56 194
            // APIDConverter
57 195
            // 
58 196
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
59 197
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
60
            this.ClientSize = new System.Drawing.Size(987, 606);
198
            this.ClientSize = new System.Drawing.Size(856, 469);
199
            this.Controls.Add(this.layoutControl1);
61 200
            this.Controls.Add(this.ribbonControl);
62 201
            this.Name = "APIDConverter";
63 202
            this.Ribbon = this.ribbonControl;
64 203
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
65 204
            this.Text = "APID Converter";
66 205
            ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit();
206
            ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
207
            this.layoutControl1.ResumeLayout(false);
208
            ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
209
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
210
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
211
            ((System.ComponentModel.ISupportInitialize)(this.gridControlConverter)).EndInit();
212
            ((System.ComponentModel.ISupportInitialize)(this.gridViewConverter)).EndInit();
213
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
214
            ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
215
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
67 216
            this.ResumeLayout(false);
68 217
            this.PerformLayout();
69 218

  
......
72 221
        #endregion
73 222
        private DevExpress.XtraBars.Ribbon.RibbonControl ribbonControl;
74 223
        private DevExpress.LookAndFeel.DefaultLookAndFeel defaultLookAndFeel1;
224
        private DevExpress.XtraLayout.LayoutControl layoutControl1;
225
        private DevExpress.XtraEditors.SimpleButton btnLoadFile;
226
        private DevExpress.XtraLayout.LayoutControlGroup Root;
227
        private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1;
228
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
229
        private DevExpress.XtraGrid.GridControl gridControlConverter;
230
        private DevExpress.XtraGrid.Views.Grid.GridView gridViewConverter;
231
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
232
        private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
233
        private DevExpress.XtraEditors.SimpleButton btnRun;
234
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
75 235
    }
76 236
}
DTI_PID/APIDConverter/Form/APIDConverter.cs
7 7
using System.Text;
8 8
using System.Threading.Tasks;
9 9
using System.Windows.Forms;
10
using AVEVA.PID.CustomizationUtility.DB;
11
using AVEVA.PID.CustomizationUtility.Model;
12
using AVEVA.PID.CustomizationUtility.Properties;
10 13

  
11 14
namespace AVEVA.PID.CustomizationUtility
12 15
{
......
17 20
            InitializeComponent();
18 21
        }
19 22

  
20
        private void button1_Click(object sender, EventArgs e)
23
        private void btnLoadFile_Click(object sender, EventArgs e)
21 24
        {
22
            APIDConverter aPID = new APIDConverter();
23
            aPID.ShowDialog();
25
            Project_Info _ProjectInfo = Project_Info.GetInstance();
26

  
27
            OpenFileDialog dia = new OpenFileDialog();
28
            dia.Filter = "Xml Files(*.xml)|*.xml";
29
            dia.InitialDirectory = _ProjectInfo.TempDirPath;
30
            dia.Multiselect = true;
31

  
32
            if (dia.ShowDialog() == DialogResult.OK)
33
            {
34
                foreach (var fileName in dia.FileNames)
35
                {
36
                    //Document document = new Document(fileName, );
37
                }
38
            }
24 39
        }
25 40
    }
26 41
}
DTI_PID/APIDConverter/Form/APIDConverter.resx
120 120
  <metadata name="defaultLookAndFeel1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121 121
    <value>17, 17</value>
122 122
  </metadata>
123
  <assembly alias="DevExpress.Data.v18.2" name="DevExpress.Data.v18.2, Version=18.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
124
  <data name="btnRun.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
125
    <value>
126
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE4LjIsIFZlcnNpb249MTguMi43
127
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
128
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAIYBAAAC77u/
129
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
130
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
131
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBlbmFibGUt
132
        YmFja2dyb3VuZD0ibmV3IDAgMCAzMiAzMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgaWQ9Ik5leHQiPg0K
133
        ICA8cGF0aCBkPSJNOC45LDQuMUM4LjQsMy44LDgsNC4xLDgsNC42djIwLjdjMCwwLjYsMC40LDAuOCww
134
        LjksMC41bDE2LjgtMTAuM2MwLjUtMC4zLDAuNS0wLjgsMC0xLjFMOC45LDQuMXoiIGZpbGw9IiMxMTc3
135
        RDciIGNsYXNzPSJCbHVlIiAvPg0KPC9zdmc+Cw==
136
</value>
137
  </data>
138
  <data name="simpleButton1.ImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
139
    <value>
140
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE4LjIsIFZlcnNpb249MTguMi43
141
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
142
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAOACAAAC77u/
143
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
144
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
145
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBlbmFibGUt
146
        YmFja2dyb3VuZD0ibmV3IDAgMCAzMiAzMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgaWQ9Ik9wZW4yIj4N
147
        CiAgPGcgb3BhY2l0eT0iMC43NSIgY2xhc3M9InN0MCI+DQogICAgPHBhdGggZD0iTTE5LjIsMTBIMTJW
148
        N2MwLTAuNi0wLjQtMS0xLTFIM0MyLjQsNiwyLDYuNSwyLDd2MThjMCwwLjIsMCwwLjMsMC4xLDAuNGMw
149
        LDAsMC4xLTAuMSwwLjEtMC4ybDUuNS0xMCAgIEM4LDE0LjUsOC43LDE0LDkuNSwxNGgxMy43TDE5LjIs
150
        MTB6IiBmaWxsPSIjRkZCMTE1IiBvcGFjaXR5PSIwLjc1IiBjbGFzcz0iWWVsbG93IiAvPg0KICA8L2c+
151
        DQogIDxwYXRoIGQ9Ik0yOS4zLDE2SDkuNkw0LDI2aDE5LjhjMC41LDAsMS4xLTAuMiwxLjMtMC42bDQu
152
        OS04LjlDMzAuMSwxNi4yLDI5LjgsMTYsMjkuMywxNnoiIGZpbGw9IiNGRkIxMTUiIGNsYXNzPSJZZWxs
153
        b3ciIC8+DQogIDxwYXRoIGQ9Ik0yOCw4YzAtMy4zLTIuNy02LTYtNnMtNiwyLjctNiw2YzAtMi4yLDEu
154
        OC00LDQtNHM0LDEuOCw0LDRoLTRsNiw2bDYtNkgyOHoiIGZpbGw9IiMwMzlDMjMiIGNsYXNzPSJHcmVl
155
        biIgLz4NCjwvc3ZnPgs=
156
</value>
157
  </data>
158
  <data name="layoutControlGroup1.CaptionImageOptions.SvgImage" type="DevExpress.Utils.Svg.SvgImage, DevExpress.Data.v18.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
159
    <value>
160
        AAEAAAD/////AQAAAAAAAAAMAgAAAFlEZXZFeHByZXNzLkRhdGEudjE4LjIsIFZlcnNpb249MTguMi43
161
        LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YQUBAAAAHURl
162
        dkV4cHJlc3MuVXRpbHMuU3ZnLlN2Z0ltYWdlAQAAAAREYXRhBwICAAAACQMAAAAPAwAAAFgCAAAC77u/
163
        PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0nVVRGLTgnPz4NCjxzdmcgeD0iMHB4IiB5PSIwcHgi
164
        IHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
165
        MjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBlbmFibGUt
166
        YmFja2dyb3VuZD0ibmV3IDAgMCAzMiAzMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgaWQ9IkxheWVyXzEi
167
        Pg0KICA8ZyAvPg0KICA8ZyBpZD0iQ29udmVydFRvIj4NCiAgICA8cGF0aCBkPSJNMjIsNmwtNi02djRD
168
        OS40LDQsNCw5LjQsNCwxNmMwLDMuNiwxLjYsNi44LDQuMSw5bDIuOC0yLjhjLTEuOC0xLjUtMy0zLjct
169
        My02LjJjMC00LjQsMy42LTgsOC04djRMMjIsNnoiIGZpbGw9IiMwMzlDMjMiIGNsYXNzPSJHcmVlbiIg
170
        Lz4NCiAgICA8cGF0aCBkPSJNMjMuOSw3TDIxLDkuOGMxLjgsMS41LDMsMy43LDMsNi4yYzAsNC40LTMu
171
        Niw4LTgsOHYtNGwtNiw2bDYsNnYtNGM2LjYsMCwxMi01LjQsMTItMTIgICBDMjgsMTIuNCwyNi40LDku
172
        MiwyMy45LDd6IiBmaWxsPSIjMTE3N0Q3IiBjbGFzcz0iQmx1ZSIgLz4NCiAgPC9nPg0KPC9zdmc+Cw==
173
</value>
174
  </data>
123 175
</root>
DTI_PID/APIDConverter/Model/PlantItem/Other/APIDInfo.cs
8 8
{
9 9
    public class APIDInfo
10 10
    {
11
        public string Handle { get; set; }
12
        public double X { get; set; }
13
        public double Y { get; set; }
11 14
    }
12 15
}
DTI_PID/APIDConverter/Properties/Resource.Designer.cs
1
//------------------------------------------------------------------------------
2
// <auto-generated>
3
//     이 코드는 도구를 사용하여 생성되었습니다.
4
//     런타임 버전:4.0.30319.42000
5
//
6
//     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
7
//     이러한 변경 내용이 손실됩니다.
8
// </auto-generated>
9
//------------------------------------------------------------------------------
10

  
11
namespace AVEVA.PID.CustomizationUtility.Properties {
12
    using System;
13
    
14
    
15
    /// <summary>
16
    ///   지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다.
17
    /// </summary>
18
    // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder
19
    // 클래스에서 자동으로 생성되었습니다.
20
    // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을
21
    // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오.
22
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
23
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25
    internal class Resource {
26
        
27
        private static global::System.Resources.ResourceManager resourceMan;
28
        
29
        private static global::System.Globalization.CultureInfo resourceCulture;
30
        
31
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32
        internal Resource() {
33
        }
34
        
35
        /// <summary>
36
        ///   이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다.
37
        /// </summary>
38
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39
        internal static global::System.Resources.ResourceManager ResourceManager {
40
            get {
41
                if (object.ReferenceEquals(resourceMan, null)) {
42
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AVEVA.PID.CustomizationUtility.Properties.Resource", typeof(Resource).Assembly);
43
                    resourceMan = temp;
44
                }
45
                return resourceMan;
46
            }
47
        }
48
        
49
        /// <summary>
50
        ///   이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을
51
        ///   재정의합니다.
52
        /// </summary>
53
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54
        internal static global::System.Globalization.CultureInfo Culture {
55
            get {
56
                return resourceCulture;
57
            }
58
            set {
59
                resourceCulture = value;
60
            }
61
        }
62
        
63
        /// <summary>
64
        ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
65
        /// </summary>
66
        internal static System.Drawing.Bitmap convert {
67
            get {
68
                object obj = ResourceManager.GetObject("convert", resourceCulture);
69
                return ((System.Drawing.Bitmap)(obj));
70
            }
71
        }
72
        
73
        /// <summary>
74
        ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
75
        /// </summary>
76
        internal static System.Drawing.Bitmap mapping {
77
            get {
78
                object obj = ResourceManager.GetObject("mapping", resourceCulture);
79
                return ((System.Drawing.Bitmap)(obj));
80
            }
81
        }
82
        
83
        /// <summary>
84
        ///   System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
85
        /// </summary>
86
        internal static System.Drawing.Bitmap setting {
87
            get {
88
                object obj = ResourceManager.GetObject("setting", resourceCulture);
89
                return ((System.Drawing.Bitmap)(obj));
90
            }
91
        }
92
    }
93
}
DTI_PID/APIDConverter/Properties/Resource.resx
1
<?xml version="1.0" encoding="utf-8"?>
2
<root>
3
  <!-- 
4
    Microsoft ResX Schema 
5
    
6
    Version 2.0
7
    
8
    The primary goals of this format is to allow a simple XML format 
9
    that is mostly human readable. The generation and parsing of the 
10
    various data types are done through the TypeConverter classes 
11
    associated with the data types.
12
    
13
    Example:
14
    
15
    ... ado.net/XML headers & schema ...
16
    <resheader name="resmimetype">text/microsoft-resx</resheader>
17
    <resheader name="version">2.0</resheader>
18
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
        <value>[base64 mime encoded serialized .NET Framework object]</value>
24
    </data>
25
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
        <comment>This is a comment</comment>
28
    </data>
29
                
30
    There are any number of "resheader" rows that contain simple 
31
    name/value pairs.
32
    
33
    Each data row contains a name, and value. The row also contains a 
34
    type or mimetype. Type corresponds to a .NET class that support 
35
    text/value conversion through the TypeConverter architecture. 
36
    Classes that don't support this are serialized and stored with the 
37
    mimetype set.
38
    
39
    The mimetype is used for serialized objects, and tells the 
40
    ResXResourceReader how to depersist the object. This is currently not 
41
    extensible. For a given mimetype the value must be set accordingly:
42
    
43
    Note - application/x-microsoft.net.object.binary.base64 is the format 
44
    that the ResXResourceWriter will generate, however the reader can 
45
    read any of the formats listed below.
46
    
47
    mimetype: application/x-microsoft.net.object.binary.base64
48
    value   : The object must be serialized with 
49
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50
            : and then encoded with base64 encoding.
51
    
52
    mimetype: application/x-microsoft.net.object.soap.base64
53
    value   : The object must be serialized with 
54
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
            : and then encoded with base64 encoding.
56

  
57
    mimetype: application/x-microsoft.net.object.bytearray.base64
58
    value   : The object must be serialized into a byte array 
59
            : using a System.ComponentModel.TypeConverter
60
            : and then encoded with base64 encoding.
61
    -->
62
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64
    <xsd:element name="root" msdata:IsDataSet="true">
65
      <xsd:complexType>
66
        <xsd:choice maxOccurs="unbounded">
67
          <xsd:element name="metadata">
68
            <xsd:complexType>
69
              <xsd:sequence>
70
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
71
              </xsd:sequence>
72
              <xsd:attribute name="name" use="required" type="xsd:string" />
73
              <xsd:attribute name="type" type="xsd:string" />
74
              <xsd:attribute name="mimetype" type="xsd:string" />
75
              <xsd:attribute ref="xml:space" />
76
            </xsd:complexType>
77
          </xsd:element>
78
          <xsd:element name="assembly">
79
            <xsd:complexType>
80
              <xsd:attribute name="alias" type="xsd:string" />
81
              <xsd:attribute name="name" type="xsd:string" />
82
            </xsd:complexType>
83
          </xsd:element>
84
          <xsd:element name="data">
85
            <xsd:complexType>
86
              <xsd:sequence>
87
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89
              </xsd:sequence>
90
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93
              <xsd:attribute ref="xml:space" />
94
            </xsd:complexType>
95
          </xsd:element>
96
          <xsd:element name="resheader">
97
            <xsd:complexType>
98
              <xsd:sequence>
99
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100
              </xsd:sequence>
101
              <xsd:attribute name="name" type="xsd:string" use="required" />
102
            </xsd:complexType>
103
          </xsd:element>
104
        </xsd:choice>
105
      </xsd:complexType>
106
    </xsd:element>
107
  </xsd:schema>
108
  <resheader name="resmimetype">
109
    <value>text/microsoft-resx</value>
110
  </resheader>
111
  <resheader name="version">
112
    <value>2.0</value>
113
  </resheader>
114
  <resheader name="reader">
115
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
  </resheader>
117
  <resheader name="writer">
118
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119
  </resheader>
120
  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121
  <data name="convert" type="System.Resources.ResXFileRef, System.Windows.Forms">
122
    <value>..\Resources\convert.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123
  </data>
124
  <data name="mapping" type="System.Resources.ResXFileRef, System.Windows.Forms">
125
    <value>..\Resources\mapping.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126
  </data>
127
  <data name="setting" type="System.Resources.ResXFileRef, System.Windows.Forms">
128
    <value>..\Resources\setting.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
129
  </data>
130
</root>

내보내기 Unified diff

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