[HatoholArmPluginBase] Clean up getTimestampOfLastTrigger() by extracting commonly used line as a class.