public override int Init(object objParam) { if (GetDescription() == "VerifyWGetString") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_GETSTR; } else if (GetDescription() == "VerifyWGetChar") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_GETCHAR; } else if (GetDescription() == "VerifyWAddString") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_ADDSTR; } else if (GetDescription() == "VerifyWAddChar") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_ADDCHAR; } else throw (new Exception()); int ival = base.Init(objParam); ReloadSource(); if (TEST_PASS == ival) { while (DataReader.Read() == true) ; } return ival; }
public override int Init(object objParam) { if (GetDescription() == "VerifyWGetString") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_GETSTR; } else if (GetDescription() == "VerifyWGetChar") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_GETCHAR; } else if (GetDescription() == "VerifyWAddString") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_ADDSTR; } else if (GetDescription() == "VerifyWAddChar") { NameTableVer = ENAMETABLE_VER.VERIFY_WITH_ADDCHAR; } else { throw (new Exception()); } int ival = base.Init(objParam); ReloadSource(); if (TEST_PASS == ival) { while (DataReader.Read() == true) { ; } } return(ival); }