Yes this action is legal so long as it does not breach the terms of any exisiting employment contract or union agreement. The fact is that a company can set the conditions of employment much as it sees fit (absent some form of legally actionable discrimination). This means that a worker can be paid differently, depending on which location they are scheduled to work at.