개정판 b7a29053
dev issue #498 : OPC Attribute 처리
Change-Id: I275fe7dac7a400aed746dfa1d1a4d28d0ae8ff68
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
143 | 143 |
string fromOPCModelId = fromOPCInfoRow["SPPID_OPC_MODELITEM_ID"].ToString(); |
144 | 144 |
string toOPCModelId = toOPCInfoRow["SPPID_OPC_MODELITEM_ID"].ToString(); |
145 | 145 |
string toDrawingName = toDrawing[0]["DRAWINGNAME"].ToString(); |
146 |
AutoModeling_OPC opc = new AutoModeling_OPC(dApplication, application, fromOPCModelId, toOPCModelId, toDrawingName); |
|
146 |
List<string[]> toOPCAttributes = JsonConvert.DeserializeObject<List<string[]>>(toOPCInfoRow["ATTRIBUTYES"].ToString()); |
|
147 |
AutoModeling_OPC opc = new AutoModeling_OPC(dApplication, application, fromOPCModelId, toOPCModelId, toDrawingName, toOPCAttributes); |
|
147 | 148 |
if (opc.Run()) |
148 | 149 |
{ |
149 | 150 |
fromOPCInfoRow["PAIRED"] = true; |
내보내기 Unified diff