public static void myRename(int index, string name, string dizhi) { MyLdcmd myldcmd = MyLdcmd.GetObject(dizhi); myldcmd.SimulatorPath = ld.SimulatorPath; myldcmd.rename(index, name); }