개정판 adf716e2
issue #000000 MarkusConvertWorker waitBar 적용
Change-Id: I86293031d6219c4d64f8ecf1e3f9de3dc976e612
ID2.Manager/ID2.Manager/Classes/MarkusConvertWorker.cs | ||
---|---|---|
41 | 41 |
while (status < 4) |
42 | 42 |
{ |
43 | 43 |
status = new MarkusInfoController().GetConvertDoc(item.RefProjectCode, item.DocumentNo); |
44 |
|
|
44 |
|
|
45 | 45 |
if(status > 4) |
46 | 46 |
{ |
47 | 47 |
ErrorDocList.Add(item); |
48 | 48 |
} |
49 |
|
|
50 |
System.Threading.Thread.Sleep(300); |
|
49 | 51 |
} |
50 | 52 |
} |
51 | 53 |
|
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
2332 | 2332 |
|
2333 | 2333 |
if (checkedDocList.Count() > 1) |
2334 | 2334 |
{ |
2335 |
MarkusConvertWorker convertWorker = new MarkusConvertWorker(checkedDocList.ToList()); |
|
2335 |
MarkusConvertWorker convertWorker = new MarkusConvertWorker(checkedDocList.ToList(),radGridViewDocuments);
|
|
2336 | 2336 |
|
2337 | 2337 |
convertWorker.OnWorkCompletedHandler += (args) => |
2338 | 2338 |
{ |
2339 | 2339 |
if (convertWorker.ErrorDocList.Count() > 0) |
2340 | 2340 |
{ |
2341 | 2341 |
var ids = string.Join("\n", convertWorker.ErrorDocList.Select(x => x.DocumentNo)); |
2342 |
string message = $"Convert Error.\nneed to check about dwg.\n{ids}";
|
|
2342 |
string message = $"Convert Error.\nPlease check the DWG.\n\n{ids}";
|
|
2343 | 2343 |
|
2344 | 2344 |
RadMessageBox.Show(message, Globals.Name, MessageBoxButtons.OK); |
2345 | 2345 |
} |
2346 |
else |
|
2347 |
{ |
|
2348 |
RadMessageBox.Show("Conversion successfully.", Globals.Name, MessageBoxButtons.OK); |
|
2349 |
} |
|
2346 | 2350 |
}; |
2347 | 2351 |
|
2348 | 2352 |
convertWorker.StartWork(); |
ID2.Manager/MarkusImageCreate.sln | ||
---|---|---|
25 | 25 |
{465FA895-49CF-4E6D-A0E4-D12CA03B9FD5} = {465FA895-49CF-4E6D-A0E4-D12CA03B9FD5} |
26 | 26 |
EndProjectSection |
27 | 27 |
EndProject |
28 |
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MarkusImageCreateService", "MarkusImageCreateService\MarkusImageCreateService.csproj", "{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}" |
|
29 |
EndProject |
|
30 | 28 |
Global |
31 | 29 |
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
32 | 30 |
Debug|Any CPU = Debug|Any CPU |
... | ... | |
137 | 135 |
{55BA26BD-02BF-4BE8-BBDA-0496615E91C3}.Release|x64.Build.0 = Release|Any CPU |
138 | 136 |
{55BA26BD-02BF-4BE8-BBDA-0496615E91C3}.Release|x86.ActiveCfg = Release|Any CPU |
139 | 137 |
{55BA26BD-02BF-4BE8-BBDA-0496615E91C3}.Release|x86.Build.0 = Release|Any CPU |
140 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|
141 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|
142 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Debug|x64.ActiveCfg = Debug|Any CPU |
|
143 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Debug|x64.Build.0 = Debug|Any CPU |
|
144 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Debug|x86.ActiveCfg = Debug|Any CPU |
|
145 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Debug|x86.Build.0 = Debug|Any CPU |
|
146 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.MarkusImageCreate|Any CPU.ActiveCfg = Debug|Any CPU |
|
147 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.MarkusImageCreate|Any CPU.Build.0 = Debug|Any CPU |
|
148 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.MarkusImageCreate|x64.ActiveCfg = Debug|Any CPU |
|
149 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.MarkusImageCreate|x64.Build.0 = Debug|Any CPU |
|
150 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.MarkusImageCreate|x86.ActiveCfg = Debug|Any CPU |
|
151 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.MarkusImageCreate|x86.Build.0 = Debug|Any CPU |
|
152 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|
153 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Release|Any CPU.Build.0 = Release|Any CPU |
|
154 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Release|x64.ActiveCfg = Release|Any CPU |
|
155 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Release|x64.Build.0 = Release|Any CPU |
|
156 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Release|x86.ActiveCfg = Release|Any CPU |
|
157 |
{4E67E1EF-A749-4360-A8E3-B0D460B0A07E}.Release|x86.Build.0 = Release|Any CPU |
|
158 | 138 |
EndGlobalSection |
159 | 139 |
GlobalSection(SolutionProperties) = preSolution |
160 | 140 |
HideSolutionNode = FALSE |
내보내기 Unified diff