示例#1
0
		public SurfaceInformation GetSurfaceInformation(Surface surface)
		{
			SurfaceInformation si = new SurfaceInformation();
			StatusResponse response = SendCommand("getsurf id={0}", (int)surface);
			var info = Util.ExtractResponseInformation(response.Message);
			si.Size = Convert.ToUInt32(info[0]);
			si.Format = Convert.ToUInt32(info[1]);
			si.Address = Convert.ToUInt32(info[2]);
			si.PushBufferPut = Convert.ToUInt32(info[3]);
			return si;
		}