예제 #1
0
 public ProcessCell(ITechObjectManager techObjectManager)
 {
     objects        = new List <TechObject>();
     baseTechObject = BaseTechObjectManager.GetInstance()
                      .GetTechObjectCopy(Name);
     this.techObjectManager = techObjectManager;
     globalObjectsList      = this.techObjectManager.TechObjects;
 }
예제 #2
0
 public BaseObject(string baseTechObjectName,
                   ITechObjectManager techObjectManager)
 {
     localObjects   = new List <TechObject>();
     baseTechObject = BaseTechObjectManager.GetInstance()
                      .GetTechObjectCopy(baseTechObjectName);
     this.techObjectManager = techObjectManager;
     globalObjectsList      = this.techObjectManager.TechObjects;
 }
        public int[] FindEqual(TechObject comparableObject,
                               ITechObjectManager techObjectManager)
        {
            int[] matches = techObjectManager.TechObjects
                            .Where(x => x.TechType == comparableObject.TechType &&
                                   x.TechNumber == comparableObject.TechNumber)
                            .Select(x => techObjectManager.GetTechObjectN(x))
                            .ToArray();

            return(matches);
        }
        public int[] FindEqual(TechObject comparableObject,
                               ITechObjectManager techObjectManager)
        {
            int[] matches = techObjectManager.TechObjects
                            .Where(x => x.NameEplan == comparableObject.NameEplan &&
                                   x.TechNumber == comparableObject.TechNumber &&
                                   x.BaseTechObject?.EplanName ==
                                   comparableObject.BaseTechObject?.EplanName)
                            .Select(x => techObjectManager.GetTechObjectN(x))
                            .ToArray();

            return(matches);
        }
예제 #5
0
 public TechObjectXMLMaker(ITechObjectManager techObjectManager)
 {
     this.techObjectManager = techObjectManager;
 }
예제 #6
0
 public TechObjectChecker(ITechObjectManager techObjectManager)
 {
     this.techObjectManager = techObjectManager;
 }
예제 #7
0
 public S88Object(string name, ITechObjectManager techObjectManager)
 {
     this.name = name;
     objects   = new List <ITreeViewItem>();
     this.techObjectManager = techObjectManager;
 }
예제 #8
0
 public Unidentified(ITechObjectManager techObjectManager)
 {
     localObjects           = new List <TechObject>();
     this.techObjectManager = techObjectManager;
     globalObjectsList      = this.techObjectManager.TechObjects;
 }
 private void InsertNewObject(string baseObjectLuaName)
 {
     ITechObjectManager techObjectManager = TechObjectManager
         .GetInstance();
     techObjectManager.InsertBaseObject(baseObjectLuaName);
 }