public List <double> GetSourceExtractionList(SourceExtractionType dataIndex) { object[] iA = timg.InventoryArray((int)dataIndex); List <double> sexArray = ConvertDoubleList(iA); return(sexArray); }
public double[] GetSourceExtractionArray(SourceExtractionType dataIndex) { { object[] iA = timg.InventoryArray((int)dataIndex); double[] sexArray = ConvertDoubleArray(iA); return(sexArray); } }
public List <double> GetSourceExtractionList(SourceExtractionType dataIndex) { { //object[] iA = timg.InventoryArray((int)dataIndex); //List<double> sexArray = timg.InventoryArray((int)dataIndex).Cast<double>(); double[] iA = timg.InventoryArray((int)dataIndex); List <double> sexArray = iA.ToList <double>(); // List<double> sexArray = ConvertDoubleList(iA); return(sexArray); } }
public double[] GetSourceExtractionArray(SourceExtractionType dataIndex) { { //Array.ConvertAll((Link.TSXSend(TSXCLASS + "InventoryArray(" + InventoryIndex.ToString() + ")")).Split(','), Double.Parse); //Array.ConvertAll<object, double>(objects, o => (double)o); //double[] sexArray = Array.ConvertAll(timg.InventoryArray((int)dataIndex), double.Parse); //var doub = obj.Cast<double>(); //double[] sexArray = Array.ConvertAll<object, double>(timg.InventoryArray((int)dataIndex), o => (double)o); //double[] sexArray = timg.InventoryArray((int)dataIndex).Cast<double>(); double[] sexArray = timg.InventoryArray((int)dataIndex); ///object[] iA = timg.InventoryArray((int)dataIndex); ///double[] sexArray = ConvertDoubleArray(iA); return(sexArray); } }