public void Clear() { ProductInLoadingStation = string.Empty; ProductInUnloadingStation = string.Empty; ProductInLoadingStatus = ProductStatus.Unknown; ProductInUnloadingStatus = ProductStatus.Unknown; ActiveReference = string.Empty; if (_enableVirtualIndexer) { VirtualIndexer = new StationIndexer(); VirtualIndexer.Initialize(); } }
public MachineData(bool enableVirtualIndexer) { _enableVirtualIndexer = enableVirtualIndexer; VirtualIndexer = new StationIndexer(); VirtualIndexer.Initialize(); }