public static void myRestore(int index, string seed, string dizhi) { MyLdcmd myldcmd = MyLdcmd.GetObject(dizhi); myldcmd.SimulatorPath = ld.SimulatorPath; lock (obj){ myldcmd.restore(index, seed); Thread.Sleep(1000 * 20); } }
public static void myRestore(int index, string seed, string dizhi) { MyLdcmd myldcmd = MyLdcmd.GetObject(dizhi); myldcmd.SimulatorPath = ld.SimulatorPath; lock (obj){ myldcmd.restore(index, seed); Thread.Sleep(1000 * 20); } }