프로젝트

일반

사용자정보

개정판 de72e600

IDde72e6005302822a039af450b842c18eb5292d0c
상위 ca8ba1c8
하위 b048c104

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

dev issue #1230 : edit attribute

Change-Id: Ia9b1e825faca3cfea02d57ea404ecafeddb0f816

차이점 보기:

DTI_PID/APIDConverter/AvevaInfo.cs
59 59
                AttributeInfo info = new AttributeInfo();
60 60
                info.UID = DBNull.Value.Equals(row["UID"]) ? string.Empty : row["UID"].ToString();
61 61
                info.APID_ATTRIBUTE = DBNull.Value.Equals(row["APID_ATTRIBUTE"]) ? string.Empty : row["APID_ATTRIBUTE"].ToString();
62
                //string sType = DBNull.Value.Equals(row["APID_ATTRIBUTE_TYPE"]) ? string.Empty : row["APID_ATTRIBUTE_TYPE"].ToString();
63
                //if (!string.IsNullOrEmpty(info.APID_ATTRIBUTE) && !string.IsNullOrEmpty(sType))
64
                //{
65
                //    string sRemove = "|" + sType;
66
                //    info.APID_ATTRIBUTE = info.APID_ATTRIBUTE.Remove(info.APID_ATTRIBUTE.LastIndexOf(sRemove), sRemove.Length);
67
                //    AvevaAttributeType type;
68
                //    if (Enum.TryParse(sType, out type))
69
                //        info.APID_ATTRIBUTE_TYPE = type;
70
                //}
71 62
                avevaInfo.AttributeInfo.Add(info);
72 63
            }
73 64
            dt.Dispose();
DTI_PID/APIDConverter/Utils/AvevaThread.cs
180 180
                        if (control != null && control.GetType() == typeof(ComponentPropertiesUI))
181 181
                        {
182 182
                            ComponentPropertiesUI UI = control as ComponentPropertiesUI;
183
                            foreach (var item in AvevaACAD18String.LabelNames)
184
                                datas.Add(new Tuple<string, string>(item, "No"));
185

  
183 186
                            foreach (var tuple in datas)
184 187
                            {
185 188
                                Infragistics.Win.UltraWinGrid.UltraGridRow row = UI.GetGridRow(tuple.Item1);

내보내기 Unified diff

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