Beispiel #1
0
 public bool GetStoragePlaceOfID(String sID, ref c_StoragePlace cStoragePlace)
 {
     foreach (var Place in m_ListOfStoragePlaces)
     {
         if (Place.m_iWorkpieceID == sID)
         {
             cStoragePlace = Place;
             return(true);
         }
     }
     return(false);
 }
Beispiel #2
0
 public bool GetStoragePlace(int iNo, ref c_StoragePlace cStoragePlace)
 {
     foreach (var Place in m_ListOfStoragePlaces)
     {
         if (Place.m_iNumber == iNo)
         {
             cStoragePlace = Place;
             return(true);
         }
     }
     return(false);
 }