摘要: <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SQSMvcSolution.Models.Model.TicketPlans>>" %><%@ Import Namespace="SQSMvcSolution.Extensions" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " 阅读全文
posted @ 2011-08-20 17:21 火腿骑士 阅读(416) 评论(1) 推荐(0) 编辑
摘要: <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><hea 阅读全文
posted @ 2011-08-20 17:18 火腿骑士 阅读(538) 评论(2) 推荐(0) 编辑
摘要: Controllers 引用数据Models 组织数据Views 呈现数据<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IList<SQSMvcSolution.Models.Model.ScenicSpots>>" %><%@ Import Namespace="SQSMvcSolution.Extensions" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1 阅读全文
posted @ 2011-08-20 17:04 火腿骑士 阅读(2029) 评论(9) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Dare.DN.Services.EntityServices;using Dare.DN.Components.Entities.Media;using System.IO;using System.Threading;using Dare.Utilities.Mode 阅读全文
posted @ 2011-08-20 16:50 火腿骑士 阅读(791) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Text;using System.Windows.Forms;using System.IO;using Dare.DN.Services.EntityServices;using Dare.DN.Components.Entities.Media;using Dare.Utilities.Model;using Dare.Utilities. 阅读全文
posted @ 2011-08-20 16:48 火腿骑士 阅读(726) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Dare.Utilities;using System.Diagnostics;using System.Runtime.InteropServices;namespace DareMediaTray{ public partial class MainFrm : For 阅读全文
posted @ 2011-08-20 16:47 火腿骑士 阅读(1327) 评论(1) 推荐(0) 编辑
摘要: /*** @function MediaMode 媒体模式*/var MediaMode = { NONE: -1, //无 MOVIE: 0, //电影 MUSIC: 1, //音乐 PIC: 2 //图片};/*** @constant FocusMode 焦点模式*/var FocusMode = { MENU: 0, //菜单 FILE: 1, //文件 OPER: 2, //操作 USB_FILE: 3 //移动信息文件};/*** @function SPDIFOut SPDIF输出编码模式*/var SPDIFOutMode = { PCM: 0, //模拟PCM编码 DIGIT 阅读全文
posted @ 2011-08-20 16:26 火腿骑士 阅读(425) 评论(0) 推荐(0) 编辑
摘要: var KeyMap = (Dare.isiE || Dare.isFirefox) ? { STB_KEY_LEFT: 52, // '4' STB_KEY_UP: 56, // '8' STB_KEY_RIGHT: 54, // '6' STB_KEY_DOWN: 50, // '2' STB_KEY_ENTER: 13, // 'enter' STB_KEY_HOME: 55, // '7' STB_KEY_STOP: 120, // 'x' STB_KEY_USB_INSER 阅读全文
posted @ 2011-08-20 16:24 火腿骑士 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Dare.InitSetting = function () { this.className = 'Dare.InitSetting'; this.stylePath = '../style/default/'; this.currentFocus = 'menu_item1'; this.currentMenuIndex = 1; //当前菜单焦点位置 this.menuIndex = 0; //当前菜单在数组中索引位置 this.menuCount = 3; //菜单总数 this.menuArray = ['视频设置', 阅读全文
posted @ 2011-08-20 16:19 火腿骑士 阅读(336) 评论(0) 推荐(0) 编辑
摘要: /*** Dare MoviePlay Object.* @constructor*///声明构造函数 构造函数初始化变量Dare.MoviePlay = function () { this.parent = new Dare.Util(); this.className = 'Dare.MoviePlay'; //----类Dare.MoviePlay全局属性变量-----// this.stylePath = dareStyle.getStylePath(); this.currentFocus = 'playPlay'; //初始化焦点 this.fas 阅读全文
posted @ 2011-08-20 16:14 火腿骑士 阅读(382) 评论(0) 推荐(0) 编辑
摘要: /*** Dare Movie Object.* @constructor*///声明构造函数 构造函数初始化变量Dare.Movie = function() { this.parent = new Dare.Util(); this.className = "Dare.Movie"; //----类Dare.Movie全局属性变量-----// this.stylePath = dareStyle.getStylePath(); this.pageIndex = 0; //当前页索引 this.pageTotal = 0; //总页数; this.pageSize = 阅读全文
posted @ 2011-08-20 16:13 火腿骑士 阅读(386) 评论(4) 推荐(0) 编辑
摘要: /*** Dare mediaplayer Object.* @constructor*///声明构造函数 构造函数初始化变量Dare.MediaPlayer = function () { this.parent = new Dare.Util(); this.className = "Dare.MediaPlayer"; //----类Dare.MediaPlayer全局属性变量-----// this.playPath = ''; //媒体播放路径 this.playType = 0; //媒体类型 movie、music、pic this.playM 阅读全文
posted @ 2011-08-20 16:11 火腿骑士 阅读(1480) 评论(6) 推荐(2) 编辑
摘要: var KeyMap = (Dare.isiE || Dare.isFirefox) ? { STB_KEY_LEFT: 52, // '4' STB_KEY_UP: 56, // '8' STB_KEY_RIGHT: 54, // '6' STB_KEY_DOWN: 50, // '2' STB_KEY_ENTER: 13, // 'enter' STB_KEY_HOME: 55, // '7' STB_KEY_STOP: 120, // 'x' STB_KEY_USB_INSER 阅读全文
posted @ 2011-08-20 16:04 火腿骑士 阅读(294) 评论(0) 推荐(0) 编辑
摘要: /*** @function MediaMode 媒体模式*/var MediaMode = { NONE: -1, //无 MOVIE: 0, //电影 MUSIC: 1, //音乐 PIC: 2 //图片};/*** @constant FocusMode 焦点模式*/var FocusMode = { MENU: 0, //菜单 FILE: 1, //文件 OPER: 2, //操作 USB_FILE: 3 //移动信息文件};/*** @function SPDIFOut SPDIF输出编码模式*/var SPDIFOutMode = { PCM: 0, //模拟PCM编码 DIGIT 阅读全文
posted @ 2011-08-20 16:03 火腿骑士 阅读(342) 评论(0) 推荐(0) 编辑
摘要: /*** Dare Utilities library.* @constructor*/Dare.Util = function () { this.className = "Dare.Util"; this.rdashAlpha = /-([a-z])/ig };Dare.extend(Dare.Util,Dare);Dare.Util.prototype.fcamelCase = function( all, letter ) { return letter.toUpperCase();};Dare.Util.prototype.camelCase = function 阅读全文
posted @ 2011-08-20 15:59 火腿骑士 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Dare.Main = function(){ this.className = "Dare.Main"; this.stylePath = "../style/default/"; this.currentIndex = 2;//当前菜单焦点位置 this.menuIndex = 0; //当前菜单在数组中位置 this.menuCount =14; //菜单总数 this.menuArray = []; //菜单项目 this.columnFocus = FocusMode.MENU; this.filearray = []; //文件项目 this 阅读全文
posted @ 2011-08-20 15:58 火腿骑士 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Dare.InitSetting = function () { this.className = 'Dare.InitSetting'; this.stylePath = '../style/default/'; this.currentFocus = 'menu_item1'; this.currentMenuIndex = 1; //当前菜单焦点位置 this.menuIndex = 0; //当前菜单在数组中索引位置 this.menuCount = 3; //菜单总数 this.menuArray = ['视频设置', 阅读全文
posted @ 2011-08-20 15:57 火腿骑士 阅读(1677) 评论(1) 推荐(0) 编辑