public string QueryRobotInfo(string model) { RobotServer dev = new RobotServer(); return(dev.QueryRobotInfo(model)); }
// GET: Login public ActionResult RobotShow(int lineid, string deviceID, string model) { //System.Web.HttpContext.Current.Session["UserName"] = "******"; //取model相关参数xml转为base64 RobotServer rbs = new RobotServer(); string devicelist = rbs.DeviceList(lineid); ViewBag.devicelist = devicelist; ViewBag.deviceid = deviceID; return(View()); }
void Start() { robot = RobotServer.Instance; }
void Start() { anim = GetComponent<Animator>(); if (anim.layerCount > 1) { for (int i =1; i < anim.layerCount; i++) anim.SetLayerWeight(i, 1); } dust.enableEmission = false; robot = RobotServer.Instance; }