示例#1
0
        private static void CreateAsset()
        {
            AssetInformation assInfo = new AssetInformation(counter);

            counter++;
            assInfo.AssetName = "Asset " + assInfo.AssetID.ToString();

            Asset tempAsset = new Asset(assInfo);

            assetList.Add(tempAsset);
        }
 public Asset(AssetInformation data)
 {
     InitializeStateMachine();
     AssetData = data;
 }