Example #1
0
 public BACnet_Read_Property_Data(BACNET_OBJECT_TYPE obj_t, UInt32 obi_i, BACNET_PROPERTY_ID obj_pr, UInt32 index)
 {
     object_type     = obj_t;
     object_instance = obi_i;
     object_property = obj_pr;
     array_index     = index;
 }
Example #2
0
 public int number;                              //编号
 public lift()
 {
     Device_Identifier          = 9527;
     Object_Identifier.type     = (ushort)BACNET_OBJECT_TYPE.BACNET_LIFT;
     Object_Identifier.instance = 0;
     Object_Name           = "test_lift";
     Object_Type           = BACNET_OBJECT_TYPE.BACNET_LIFT;
     Identification_Number = "0";
     Time_Stamps           = new BACNET_TIMESTAMP();
     Service_Mode          = BACnetLiftServiceMode.Normal;
     cov_subcription       = new BACNET_COV_SUBSCRIPTION();
     Car_Status            = 0;
     Car_Direction         = 0;
     Door_Zone             = true;
     Car_Position          = 0;
     Door_Status           = true;
     Passenger_Status      = false;
     Total_Running_Time    = 10;
     Present_Counter_Value = 10;
     Message_Code          = new List <BACnetMessageCode>();
     Message_Code.Add(BACnetMessageCode.Fault_Free);
 }