Esempio n. 1
0
 //step1
 public void InitTagDataProvide(string tagServiceName)
 {
     try
     {
         tagDataProvider             = new Baosight.iSuperframe.TagService.Controls.TagDataProvider();
         this.TagServiceName         = tagServiceName;
         tagDataProvider.ServiceName = TagServiceName;
         craneinfo  = new CraneStatusInBay();
         playSound += new PlaySoundHandler(PlaySoundEvt);
     }
     catch (Exception ex)
     { }
 }
Esempio n. 2
0
 void IAssetManagerInternal.PlaySound(IAudioSource au, AudioClip clip)
 {
     PlaySoundHandler?.Invoke(au, clip);
 }