示例#1
0
 private async Task <double> getDoublex(ENUM_POSITION_PROPERTY_DOUBLE e)
 {
     return(await Task <double> .Run(() => {
         selectTick();
         return getDouble(e);
     }));
 }
示例#2
0
 private double getDouble(ENUM_POSITION_PROPERTY_DOUBLE e)
 {
     return(mt.PositionGetDouble(e));
 }