public void VisitHardware(IHardware hardware)
 {
     hardware.Update();
     WeiboString.log(WeiboString.creator(hardware));
     WeiboService weibo = new WeiboService();
     weibo.Statuses_Update(WeiboString.creator(hardware));
     foreach (IHardware subHardware in hardware.SubHardware)
     {
         subHardware.Accept(this);
     }
 }
        public void VisitHardware(IHardware hardware)
        {
            hardware.Update();
            WeiboString.log(WeiboString.creator(hardware));
            WeiboService weibo = new WeiboService();

            weibo.Statuses_Update(WeiboString.creator(hardware));
            foreach (IHardware subHardware in hardware.SubHardware)
            {
                subHardware.Accept(this);
            }
        }