var Monitor=function(n,t){this.type=n;this.price=t;this.time=Util.date.now()},MonitorFactory;Monitor.prototype.getSetting=function(){return{type:this.type,price:this.price,time:this.time}};Monitor.prototype.judge=function(){};MonitorFactory={getFromKeeper:function(){var n=InputKeeper.getInfo();return n.type=="absolute"?new Monitor("absolute",parseInt(n.absolutePrice,10)):new Monitor("relative")},getFromSetting:function(n){return new Monitor(n.type,n.price)}}