//----------------------------------------------------------------
bool TModuleClientLogic::WorkInherit()
{
  InputFromSynchroPoint();
  bool res = WorkClient();
  res &= !NeedExit();
  return res;
}
//----------------------------------------------------------------
bool TModuleServerLogic::WorkInherit()
{
  InputFromSynchroPoint();
  bool res = WorkServer();
  CalcAndWaitRestTime();

  EndWork();
  res &= !NeedExit();

  mStartTime = ht_GetMSCount();
  return res;
}