emachinery:support onsite record; fix edit issues;x