| | |
| | | else if (docType == (int)swDocumentTypes_e.swDocPART) |
| | | { |
| | | ReadDocPath = ReadDoc.GetPathName(); |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, skipName); |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, null, skipName); |
| | | string fileType = properties.Get(NameConstant.docType); |
| | | /*if (fileType == "加工件" || fileType == "模组") |
| | | { |
| | |
| | | else |
| | | { |
| | | // !Equals(LastReadDoc, ReadDoc) |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, skipName); |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, null, skipName); |
| | | string fileType = properties.Get(NameConstant.docType); |
| | | /*if (fileType == "加工件" || fileType == "模组") |
| | | { |
| | |
| | | else if (docType == (int)swDocumentTypes_e.swDocPART) |
| | | { |
| | | ReadDocPath = ReadDoc.GetPathName(); |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, skipName); |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, null, skipName); |
| | | string fileType = properties.Get(NameConstant.docType); |
| | | /*if (fileType == "加工件" || fileType == "模组") |
| | | { |
| | |
| | | { |
| | | ReadDocPath = ReadDoc.GetPathName(); |
| | | // !Equals(LastReadDoc, ReadDoc) |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, skipName); |
| | | properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, null, skipName); |
| | | string fileType = properties.Get(NameConstant.docType); |
| | | /*if (fileType == "加工件" || fileType == "模组") |
| | | { |
| | |
| | | HashSet<string> skipName = new HashSet<string> { |
| | | NameConstant.materialCode |
| | | }; |
| | | Dictionary<string, string> properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, skipName); |
| | | Dictionary<string, string> properties = CustomPropertyUtil.GetCustomProperties2(ReadDoc, true, null, skipName); |
| | | opt.SetProperties(ReadDoc, properties, !Equals(LastReadDoc, ReadDoc), out ErrMsg); |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | public void DisabledHandler() |
| | | { |
| | | |
| | | } |
| | | } |
| | | } |