definestatus function

Define Plate Status