disProg2sts function

Convert disProg object to sts and vice versa