public StateStruct GetState(string stateGuid, string MachineGuid)
        {
            DBState dbState = new DBState(dataProvider);
            dbState.Connection = connection;

            dbState.Load(stateGuid, MachineGuid);
            return dbState.BusinessObject;
        }