개정판 fe57f64a
issue #0000
ID2 DB 별 접속을 위한 BaseController 수정
Document 의 ID2 수정날짜 조회 적용(수정필요) - Main 화면에 ID2 ID2 완료일 적용버튼 추가
ID2 DB 별 접속 조회 개발
ID2 Drawings 모델 생성
Change-Id: I2e2a6dd06fec30688dce33f0c4d25f3d0385fa8c
ID2.Manager/ID2.Manager.Data/Models/Documents.cs | ||
---|---|---|
161 | 161 |
+ this.MarkupText.GetHashCode(); |
162 | 162 |
} |
163 | 163 |
|
164 |
//public class DocumentsComparer : IEqualityComparer<Documents> |
|
165 |
//{ |
|
166 |
// public bool Equals(Documents x, Documents y) |
|
167 |
// { |
|
168 |
// if (x == null && y == null) |
|
169 |
// return true; |
|
170 |
// else if (x == null || y == null) |
|
171 |
// return false; |
|
172 |
// else |
|
173 |
// { |
|
174 |
// return x.DocumentNo == y.DocumentNo && x.RevisonNo == y.RevisonNo && x.ProjectID == y.ProjectID && x.IsLatest == y.IsLatest |
|
175 |
// && x.AutoCADFilie == y.AutoCADFilie && x.PDFFile == y.PDFFile && x.MarkupLink == y.MarkupLink && x.AVEVALink == y.AVEVALink |
|
176 |
// && x.DocFilePath == y.DocFilePath && x.DocFileName == y.DocFileName && x.Place == y.Place && x.JobLevel == y.JobLevel && x.IsTypical == y.IsTypical |
|
177 |
// && x.PersonInCharge == y.PersonInCharge && x.IsDeleted == y.IsDeleted && x.ToIsDiscussion == y.ToIsDiscussion && x.ToRemarks == y.ToRemarks |
|
178 |
// && x.ToCreator == y.ToCreator && x.ToModifier == y.ToModifier && x.ToCapturePath == y.ToCapturePath && x.ToIsMarkup == y.ToIsMarkup |
|
179 |
// && x.FrReviewStatus == y.FrReviewStatus && x.FrRemarks == y.FrRemarks && x.FrCreator == y.FrCreator && x.FrModifier == y.FrModifier |
|
180 |
// && x.FrCapturePath == y.FrCapturePath && x.FrIsMarkup == y.FrIsMarkup && x.IsID2Work == y.IsID2Work && x.ID2Connection == y.ID2Connection |
|
181 |
// && x.ID2StartDate == y.ID2StartDate && x.ID2EndDate == y.ID2EndDate && x.ID2JobTime == y.ID2JobTime && x.ID2Status == y.ID2Status |
|
182 |
// && x.ID2Issues == y.ID2Issues && x.AVEVAConnection == y.AVEVAConnection && x.AVEVAConvertDate == y.AVEVAConvertDate && x.AVEVAReviewDate == y.AVEVAReviewDate |
|
183 |
// && x.AVEVAStatus == y.AVEVAStatus && x.AVEVAIssues == y.AVEVAIssues && x.ReviewFilePath == y.ReviewFilePath && x.ReviewFileName == y.ReviewFileName |
|
184 |
// && x.ProdReviewer == y.ProdReviewer && x.ProdIsResult == y.ProdIsResult && x.ProdRemarks == y.ProdRemarks && x.ClientReviewer == y.ClientReviewer |
|
185 |
// && x.ClientIsResult == y.ClientIsResult && x.ClientRemarks == y.ClientRemarks && x.DTIsGateWay == y.DTIsGateWay && x.DTIsImport == y.DTIsImport |
|
186 |
// && x.DTIsRegSystem == y.DTIsRegSystem && x.DTRemarks == y.DTRemarks; |
|
187 |
// } |
|
188 |
// } |
|
189 |
|
|
190 |
// public int GetHashCode(Documents obj) |
|
191 |
// { |
|
192 |
// return obj.DocumentNo.GetHashCode() + obj.RevisonNo.GetHashCode() + obj.ProjectID.GetHashCode() + obj.IsLatest.GetHashCode() |
|
193 |
// + obj.AutoCADFilie.GetHashCode() + obj.PDFFile.GetHashCode() + obj.MarkupLink.GetHashCode() + obj.AVEVALink.GetHashCode() |
|
194 |
// + obj.DocFilePath.GetHashCode() + obj.DocFileName.GetHashCode() + obj.Place.GetHashCode() + obj.JobLevel.GetHashCode() + obj.IsTypical.GetHashCode() |
|
195 |
// + obj.PersonInCharge.GetHashCode() + obj.IsDeleted.GetHashCode() + obj.ToIsDiscussion.GetHashCode() + obj.ToRemarks.GetHashCode() |
|
196 |
// + obj.ToCreator.GetHashCode() + obj.ToModifier.GetHashCode() + obj.ToCapturePath.GetHashCode() + obj.ToIsMarkup.GetHashCode() |
|
197 |
// + obj.FrReviewStatus.GetHashCode() + obj.FrRemarks.GetHashCode() + obj.FrCreator.GetHashCode() + obj.FrModifier.GetHashCode() |
|
198 |
// + obj.FrCapturePath.GetHashCode() + obj.FrIsMarkup.GetHashCode() + obj.IsID2Work.GetHashCode() + obj.ID2Connection.GetHashCode() |
|
199 |
// + obj.ID2StartDate.GetHashCode() + obj.ID2EndDate.GetHashCode() + obj.ID2JobTime.GetHashCode() + obj.ID2Status.GetHashCode() |
|
200 |
// + obj.ID2Issues.GetHashCode() + obj.AVEVAConnection.GetHashCode() + obj.AVEVAConvertDate.GetHashCode() + obj.AVEVAReviewDate.GetHashCode() |
|
201 |
// + obj.AVEVAStatus.GetHashCode() + obj.AVEVAIssues.GetHashCode() + obj.ReviewFilePath.GetHashCode() + obj.ReviewFileName.GetHashCode() |
|
202 |
// + obj.ProdReviewer.GetHashCode() + obj.ProdIsResult.GetHashCode() + obj.ProdRemarks.GetHashCode() + obj.ClientReviewer.GetHashCode() |
|
203 |
// + obj.ClientIsResult.GetHashCode() + obj.ClientRemarks.GetHashCode() + obj.DTIsGateWay.GetHashCode() + obj.DTIsImport.GetHashCode() |
|
204 |
// + obj.DTIsRegSystem.GetHashCode() + obj.DTRemarks.GetHashCode(); |
|
205 |
// } |
|
206 |
//} |
|
207 |
|
|
208 | 164 |
public class DocumentsKeyComparer : IEqualityComparer<Documents> |
209 | 165 |
{ |
210 | 166 |
public bool Equals(Documents x, Documents y) |
... | ... | |
225 | 181 |
} |
226 | 182 |
} |
227 | 183 |
} |
184 |
|
|
185 |
[DataContract] |
|
186 |
public class ID2Drawings |
|
187 |
{ |
|
188 |
[DataMember] |
|
189 |
public string PROJECTNAME { get; set; } |
|
190 |
[DataMember] |
|
191 |
public string UID { get; set; } |
|
192 |
[DataMember] |
|
193 |
public string NAME { get; set; } |
|
194 |
[DataMember] |
|
195 |
public string DOCNAME { get; set; } |
|
196 |
[DataMember] |
|
197 |
public DateTime? DATETIME { get; set; } |
|
198 |
[DataMember] |
|
199 |
public string OCCUPIED { get; set; } |
|
200 |
[DataMember] |
|
201 |
public byte[] Image { get; set; } |
|
202 |
} |
|
228 | 203 |
} |
내보내기 Unified diff