private async Task <double> getDoublex(ENUM_POSITION_PROPERTY_DOUBLE e) { return(await Task <double> .Run(() => { selectTick(); return getDouble(e); })); }
private double getDouble(ENUM_POSITION_PROPERTY_DOUBLE e) { return(mt.PositionGetDouble(e)); }