Author: ygrego Date: 2015-02-24 15:09:17 +0000 (Tue, 24 Feb 2015) New Revision: 867 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/867 Log: Addition of class "Source" in order to remedy the fact that the oipf norm let a blank about the switch of channels. Added: oipf/js/impl/model/Source.js Added: oipf/js/impl/model/Source.js =================================================================== --- oipf/js/impl/model/Source.js (rev 0) +++ oipf/js/impl/model/Source.js 2015-02-24 15:09:17 UTC (rev 867) @@ -0,0 +1,24 @@ +/* + * Just a object which represent the access to broadcasted contents.s + * + */ + +var Source = Class.extend({ + + currentChannel: null, + + tuner: null, + + init: function(currentChannel) { + this.currentChannel = currentChannel; + }, + + switch: function(tuner, channel, vidBroadObjTenantID){ + this.currentChannel = channel; + this.tuner = tuner; + this.tuner._tenant = vidBroadObjTenantID; + + } +}); + +
participants (1)
-
ygregoï¼ users.nuiton.org